mirror of
https://github.com/CoolnsX/hyprdots.git
synced 2025-12-20 07:15:23 +05:30
someday I gonna kill someone for this shit...
This commit is contained in:
@@ -1,241 +1,49 @@
|
||||
### MangoHud configuration file
|
||||
### Uncomment any options you wish to enable. Default options are left uncommented
|
||||
### Use some_parameter=0 to disable a parameter (only works with on/off parameters)
|
||||
### Everything below can be used / overridden with the environment variable MANGOHUD_CONFIG instead
|
||||
################### File Generated by Goverlay ###################
|
||||
legacy_layout=false
|
||||
|
||||
################ PERFORMANCE #################
|
||||
|
||||
### Limit the application FPS. Comma-separated list of one or more FPS values (e.g. 0,30,60). 0 means unlimited (unless VSynced)
|
||||
# fps_limit=
|
||||
background_alpha=0.6
|
||||
round_corners=0
|
||||
background_alpha=0.6
|
||||
background_color=000000
|
||||
|
||||
### VSync [0-3] 0 = adaptive; 1 = off; 2 = mailbox; 3 = on
|
||||
# vsync=
|
||||
|
||||
### OpenGL VSync [0-N] 0 = off; >=1 = wait for N v-blanks, N > 1 acts as a FPS limiter (FPS = display refresh rate / N)
|
||||
# gl_vsync=
|
||||
|
||||
################### VISUAL ###################
|
||||
|
||||
### Legacy layout
|
||||
# legacy_layout=false
|
||||
|
||||
### Display custom centered text, useful for a header
|
||||
# custom_text_center=
|
||||
|
||||
### Display the current system time
|
||||
# time
|
||||
|
||||
### Time formatting examples
|
||||
# time_format=%H:%M
|
||||
# time_format=[ %T %F ]
|
||||
# time_format=%X # locally formatted time, because of limited glyph range, missing characters may show as '?' (e.g. Japanese)
|
||||
|
||||
### Display MangoHud version
|
||||
# version
|
||||
|
||||
### Display the current GPU information
|
||||
## Note: gpu_mem_clock also needs "vram" to be enabled
|
||||
font_size=20
|
||||
text_color=FFFFFF
|
||||
position=top-left
|
||||
toggle_hud=Shift_R+F12
|
||||
pci_dev=0:01:00.0
|
||||
table_columns=4
|
||||
gpu_text=GTX 1050
|
||||
gpu_stats
|
||||
gpu_core_clock
|
||||
gpu_mem_clock
|
||||
gpu_temp
|
||||
# gpu_core_clock
|
||||
# gpu_mem_clock
|
||||
# gpu_power
|
||||
# gpu_text=GPU
|
||||
# gpu_load_change
|
||||
# gpu_load_value=60,90
|
||||
# gpu_load_color=39F900,FDFD09,B22222
|
||||
|
||||
### Display the current CPU information
|
||||
cpu_text=i5 8300H
|
||||
cpu_stats
|
||||
|
||||
cpu_mhz
|
||||
cpu_temp
|
||||
# cpu_power
|
||||
# cpu_text=CPU
|
||||
# cpu_mhz
|
||||
# cpu_load_change
|
||||
# cpu_load_value=60,90
|
||||
# cpu_load_color=39F900,FDFD09,B22222
|
||||
|
||||
### Display the current CPU load & frequency for each core
|
||||
# core_load
|
||||
# core_load_change
|
||||
|
||||
### Display IO read and write for the app (not system)
|
||||
# io_stats
|
||||
# io_read
|
||||
# io_write
|
||||
|
||||
### Display system vram / ram / swap space usage
|
||||
vram
|
||||
vram_color=AD64C1
|
||||
ram
|
||||
swap
|
||||
|
||||
### Display per process memory usage
|
||||
## Show resident memory and other types, if enabled
|
||||
# procmem
|
||||
# procmem_shared
|
||||
# procmem_virt
|
||||
|
||||
### Display battery information
|
||||
#battery
|
||||
# battery_icon
|
||||
# gamepad_battery
|
||||
# gamepad_battery_icon
|
||||
|
||||
### Display FPS and frametime
|
||||
ram_color=C26693
|
||||
fps
|
||||
# fps_sampling_period=500
|
||||
# fps_color_change
|
||||
# fps_value=30,60
|
||||
# fps_color=B22222,FDFD09,39F900
|
||||
frametime
|
||||
# frame_count
|
||||
engine
|
||||
engine_color=EB5B5B
|
||||
engine_short_names
|
||||
fps_limit_method=late
|
||||
toggle_fps_limit=Shift_L+F1
|
||||
|
||||
### Display miscellaneous information
|
||||
engine_version
|
||||
#gpu_name
|
||||
vulkan_driver
|
||||
wine
|
||||
fps_limit=0
|
||||
vsync=0
|
||||
gl_vsync=n
|
||||
|
||||
af=0
|
||||
picmip=0
|
||||
|
||||
|
||||
### Display loaded MangoHud architecture
|
||||
# arch
|
||||
|
||||
### Display the frametime line graph
|
||||
frame_timing
|
||||
# histogram
|
||||
|
||||
### Display GameMode / vkBasalt running status
|
||||
gamemode
|
||||
vkbasalt
|
||||
|
||||
### Display current FPS limit
|
||||
# show_fps_limit
|
||||
|
||||
### Display the current resolution
|
||||
resolution
|
||||
|
||||
### Display custom text
|
||||
# custom_text=
|
||||
### Display output of Bash command in next column
|
||||
# exec=
|
||||
|
||||
### Display media player metadata
|
||||
# media_player
|
||||
# media_player_name=spotify
|
||||
## Format metadata, lines are delimited by ; (wip)
|
||||
# media_player_format={title};{artist};{album}
|
||||
# media_player_format=Track:;{title};By:;{artist};From:;{album}
|
||||
|
||||
### Change the hud font size
|
||||
# font_size=24
|
||||
# font_scale=1.0
|
||||
# font_size_text=24
|
||||
# font_scale_media_player=0.55
|
||||
# no_small_font
|
||||
|
||||
### Change default font (set location to TTF/OTF file)
|
||||
## Set font for the whole hud
|
||||
# font_file=
|
||||
|
||||
## Set font only for text like media player metadata
|
||||
# font_file_text=
|
||||
|
||||
## Set font glyph ranges. Defaults to Latin-only. Don't forget to set font_file/font_file_text to font that supports these
|
||||
## Probably don't enable all at once because of memory usage and hardware limits concerns
|
||||
## If you experience crashes or text is just squares, reduce glyph range or reduce font size
|
||||
# font_glyph_ranges=korean,chinese,chinese_simplified,japanese,cyrillic,thai,vietnamese,latin_ext_a,latin_ext_b
|
||||
|
||||
### Change the hud position
|
||||
# position=top-left
|
||||
|
||||
### Change the corner roundness
|
||||
# round_corners=
|
||||
|
||||
### Disable / hide the hud by default
|
||||
# no_display
|
||||
|
||||
### Hud position offset
|
||||
# offset_x=
|
||||
# offset_y=
|
||||
|
||||
### Hud dimensions
|
||||
# width=
|
||||
# height=
|
||||
# table_columns=
|
||||
# cellpadding_y=
|
||||
|
||||
### Hud transparency / alpha
|
||||
# background_alpha=0.5
|
||||
# alpha=
|
||||
|
||||
### FCAT overlay
|
||||
### This enables an FCAT overlay to perform frametime analysis on the final image stream.
|
||||
### Enable the overlay
|
||||
# fcat
|
||||
### Set the width of the FCAT overlay.
|
||||
### 24 is a performance optimization on AMD GPUs that should not have adverse effects on nVidia GPUs.
|
||||
### A minimum of 20 pixels is recommended by nVidia.
|
||||
# fcat_overlay_width=24
|
||||
### Set the screen edge, this can be useful for special displays that don't update from top edge to bottom. This goes from 0 (left side) to 3 (top edge), counter-clockwise.
|
||||
# fcat_screen_edge=0
|
||||
|
||||
### Color customization
|
||||
# text_color=FFFFFF
|
||||
# gpu_color=2E9762
|
||||
# cpu_color=2E97CB
|
||||
# vram_color=AD64C1
|
||||
# ram_color=C26693
|
||||
# engine_color=EB5B5B
|
||||
# io_color=A491D3
|
||||
# frametime_color=00FF00
|
||||
# background_color=020202
|
||||
# media_player_color=FFFFFF
|
||||
# wine_color=EB5B5B
|
||||
# battery_color=FF9078
|
||||
|
||||
### Specify GPU with PCI bus ID for AMDGPU and NVML stats
|
||||
### Set to 'domain:bus:slot.function'
|
||||
# pci_dev=0:0a:0.0
|
||||
|
||||
### Blacklist
|
||||
# blacklist=
|
||||
|
||||
### Control over socket
|
||||
### Enable and set socket name, '%p' is replaced with process id
|
||||
# control = mangohud
|
||||
# control = mangohud-%p
|
||||
|
||||
################ WORKAROUNDS #################
|
||||
### Options starting with "gl_*" are for OpenGL
|
||||
### Specify what to use for getting display size. Options are "viewport", "scissorbox" or disabled. Defaults to using glXQueryDrawable
|
||||
# gl_size_query=viewport
|
||||
|
||||
### (Re)bind given framebuffer before MangoHud gets drawn. Helps with Crusader Kings III
|
||||
# gl_bind_framebuffer=0
|
||||
|
||||
### Don't swap origin if using GL_UPPER_LEFT. Helps with Ryujinx
|
||||
# gl_dont_flip=1
|
||||
|
||||
################ INTERACTION #################
|
||||
|
||||
### Change toggle keybinds for the hud & logging
|
||||
# toggle_hud=Shift_R+F12
|
||||
# toggle_fps_limit=Shift_L+F1
|
||||
# toggle_logging=Shift_L+F2
|
||||
# reload_cfg=Shift_L+F4
|
||||
# upload_log=Shift_L+F3
|
||||
|
||||
#################### LOG #####################
|
||||
### Automatically start the log after X seconds
|
||||
# autostart_log=1
|
||||
### Set amount of time in seconds that the logging will run for
|
||||
# log_duration=
|
||||
### Change the default log interval, 100 is default
|
||||
# log_interval=100
|
||||
### Set location of the output files (required for logging)
|
||||
# output_folder=/home/<USERNAME>/mangologs
|
||||
### Permit uploading logs directly to FlightlessMango.com
|
||||
# permit_upload=1
|
||||
### Define a '+'-separated list of percentiles shown in the benchmark results
|
||||
### Use "AVG" to get a mean average. Default percentiles are 97+AVG+1+0.1
|
||||
# benchmark_percentiles=97,AVG,1,0.1
|
||||
output_folder=/home/tanveer
|
||||
log_duration=30
|
||||
autostart_log=0
|
||||
log_interval=100
|
||||
toggle_logging==Shift_L+F2
|
||||
|
||||
@@ -6,3 +6,21 @@ shortcuts=file:, file:///home/tanveer
|
||||
sidebarWidth=84
|
||||
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xb8\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xe8\0\0\0\x1\0\0\0\0\0\0\0\x36\0\0\0\x1\0\0\0\0\0\0\0:\0\0\0\x1\0\0\0\0\0\0\0`\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)
|
||||
viewMode=Detail
|
||||
|
||||
[Qt]
|
||||
customColors\0=4278190080
|
||||
customColors\1=4286578688
|
||||
customColors\10=4278255360
|
||||
customColors\11=4294967040
|
||||
customColors\12=4278190335
|
||||
customColors\13=4294902015
|
||||
customColors\14=4278255615
|
||||
customColors\15=4294967295
|
||||
customColors\2=4278222848
|
||||
customColors\3=4286611456
|
||||
customColors\4=4278190208
|
||||
customColors\5=4286578816
|
||||
customColors\6=4278222976
|
||||
customColors\7=4286611584
|
||||
customColors\8=4290822336
|
||||
customColors\9=4294901760
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
monitor=,highrr,auto,1
|
||||
$hypr_dir="$HOME/.config/hypr"
|
||||
|
||||
|
||||
#envs
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
@@ -164,6 +172,7 @@ windowrulev2=workspace 3,class:^([c|C]ode)
|
||||
windowrulev2=workspace 4,class:^(pavucontrol)$
|
||||
windowrulev2=workspace 4,class:^(org.freedesktop.Xwayland)$
|
||||
windowrulev2=fullscreen,class:^(org.freedesktop.Xwayland)$
|
||||
windowrulev2 = bordercolor rgba(64f2a4ff), xwayland: 1
|
||||
|
||||
#startup applications
|
||||
exec-once=dbus-update-activation-environment --systemd --all
|
||||
|
||||
10
hypr/info
10
hypr/info
@@ -1,16 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
i=1
|
||||
mem_total=$(sed -nE 's_.*MemTotal:[[:space:]]*(.*) kB_\1_p' /proc/meminfo)
|
||||
mem_total_mb=$((mem_total / 1024))
|
||||
while [ $i -le 5 ]; do
|
||||
mem=$(sed -nE 's_.*MemAvailable:[[:space:]]*(.*) kB_\1_p' /proc/meminfo)
|
||||
mem="$(((7919488 - mem) / 1000))"
|
||||
mem=$(sed -nE 's_.*Active:[[:space:]]*(.*) kB_\1_p' /proc/meminfo)
|
||||
mem="$((mem / 1024))"
|
||||
temp=$(cat /sys/class/thermal/thermal_zone0/temp)
|
||||
temp=$((temp / 1000))
|
||||
bat_stats=$(cat /sys/class/power_supply/BAT*/status)
|
||||
bat_stats=$(cat /sys/class/power_supply/BAT0/status)
|
||||
vol_stats=$(pamixer --get-mute)
|
||||
[ "$bat_stats" = "Discharging" ] && bat_icon=🔋 || bat_icon=🔌
|
||||
[ "$vol_stats" = "true" ] && vol_icon=🔇 || vol_icon=🔊
|
||||
notify-send -i "lol" "<----------(STATS)---------->" "🧠 CPU usage : $(top -ibn1 | sed -nE 's_%Cpu\(s\):(.*)us.*_\1_p' | cut -d' ' -f2-3) %\n🌡️ Cpu Temp : $temp °C\n🔳 RAM : $mem MB / 7733 MB\n$bat_icon Battery : $(cat /sys/class/power_supply/BAT*/capacity) (${bat_stats})\n☀️ Brightness : $(light -G | cut -d'.' -f1)%\n$vol_icon Volume : $(pamixer --get-volume-human)\n🎵 $(pgrep -af mpvsocket >/dev/null && cut -d ">" -f1 /tmp/yt-music/current | cut -d":" -f2)" -h "string:x-canonical-private-synchronous:${0##*/}" -t 1500 &
|
||||
notify-send -i "lol" "<----------(STATS)---------->" "🧠 CPU usage : $(top -ibn1 | sed -nE 's_%Cpu\(s\):(.*)us.*_\1_p' | cut -d' ' -f2-3) %\n🌡️ Cpu Temp : $temp °C\n🔳 RAM : $mem MB / $mem_total_mb MB\n$bat_icon Battery : $(cat /sys/class/power_supply/BAT*/capacity) (${bat_stats})\n☀️ Brightness : $(light -G | cut -d'.' -f1)%\n$vol_icon Volume : $(pamixer --get-volume-human)\n🎵 $(pgrep -af mpvsocket >/dev/null && cut -d ">" -f1 /tmp/yt-music/current | cut -d":" -f2)" -h "string:x-canonical-private-synchronous:${0##*/}" -t 1500 &
|
||||
: $((i += 1))
|
||||
sleep 1
|
||||
done
|
||||
|
||||
@@ -28,8 +28,10 @@ text/x-c++=nvim.deskop
|
||||
video/x-matroska=mpv.desktop
|
||||
application/json=nvim.desktop;
|
||||
video/vnd.radgamettools.bink=mpv.desktop
|
||||
x-scheme-handler/mailto=google-chrome.desktop
|
||||
|
||||
[Added Associations]
|
||||
video/x-matroska=mpv.desktop;
|
||||
application/octet-stream=google-chrome.desktop;
|
||||
video/vnd.radgamettools.bink=mpv.desktop;
|
||||
x-scheme-handler/mailto=google-chrome.desktop;
|
||||
|
||||
@@ -26,7 +26,7 @@ side_pane_mode=places
|
||||
view_mode=list
|
||||
show_hidden=0
|
||||
sort=name;ascending;
|
||||
columns=name:200;desc:143;size;mtime:1048;
|
||||
columns=name:200;desc:143;size;mtime:1131;
|
||||
toolbar=newtab;navigation;home;
|
||||
show_statusbar=1
|
||||
pathbar_mode_buttons=0
|
||||
|
||||
17
zsh/zshrc
17
zsh/zshrc
@@ -50,6 +50,21 @@ b64() {
|
||||
printf "%s" "$1" | tr "._-" '=/+' | base64 -w 0 $2
|
||||
}
|
||||
|
||||
mkvcinemas() {
|
||||
local base_url="https://mkvcinemas.foo"
|
||||
local agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
|
||||
|
||||
[ -z "$*" ] && printf "Search> " && read -r query || query="$*"
|
||||
|
||||
local movie=$(curl -s "$base_url/wp-admin/admin-ajax.php" -X POST -d "s=$query&action=searchwp_live_search&swpengine=default&swpquery=$query" -e "$base_url" -H "X-Requested-With:XMLHttpRequest" -L -A "$agent" | sed -nE 's|.*url\(([^\)]*).*href=".*/([^"]*)/".*|\1\t\2|p' | fzf -0 --preview="img2sixel {1} -w 280" --with-nth 2.. --layout=reverse --height=20 --border --preview-window right:36%:wrap | cut -f2)
|
||||
|
||||
[ -z "$movie" ] && printf "No Movie Found/Selected." && return 1
|
||||
|
||||
local url=$(curl -s "$base_url/$movie" -e "$base_url" -LA "$agent" | sed -nE 's|.*"gdlink" title="([^"]*)" href="([^"]*)".*|\2~\1|p' data | fzf -0 -d'~' --with-nth 2.. --layout=reverse --height=20 --border | cut -d'~' -f1)
|
||||
[ -z "$url" ] && printf "No Url Selected" && return 1
|
||||
xdg-open "$url"
|
||||
}
|
||||
|
||||
url_oshi() {
|
||||
days=${2:-1}
|
||||
out=$(curl -k https://oshi.at -F shorturl=0 -F "f=@$1" -F "expire=$((days * 1440))") #1440 means 1 day duration
|
||||
@@ -128,7 +143,7 @@ alias lsblk="lsblk -o 'NAME,SIZE,FSAVAIL,FSUSED,FSUSE%,MOUNTPOINTS'"
|
||||
alias art="php artisan"
|
||||
alias rm="rm -v"
|
||||
alias mv="mv -v"
|
||||
alias pgrep="pgrep -a"
|
||||
alias pgrep="pgrep -af"
|
||||
alias grep="grep --color=auto"
|
||||
alias ncdu="ncdu --color dark"
|
||||
alias ll="lsd --color=auto -alh"
|
||||
|
||||
Reference in New Issue
Block a user