Added some NullPointerExceptions - Happy easter, you bastards! :D

This commit is contained in:
coolnsx
2023-05-01 13:48:27 +05:30
parent 3a751e4ab6
commit 9fb07b739f
14 changed files with 58 additions and 38 deletions

View File

@@ -133,9 +133,10 @@ bind = $mainMod, Q, exec, dmenu_run_history
bind = $mainMod, A, exec, google-chrome-stable
bind = $mainMod, C, exec, code
bind = $mainMod, E, exec, pcmanfm
bind = $mainMod, B, exec, $HOME/repos_scripts/bkmark "add"
bind = $mainMod, I, exec, $HOME/repos_scripts/bkmark
bind = $mainMod SHIFT, B, exec, $HOME/repos_scripts/bkmark "rm"
bind = $mainMod, B, exec, $hypr_dir/bkmark "add"
bind = $mainMod, I, exec, $hypr_dir/bkmark
bind = $mainMod SHIFT, I, exec, $hypr_dir/bkmark "copy"
bind = $mainMod SHIFT, B, exec, $hypr_dir/bkmark "rm"
#bind = $mainMod, S, exec, skypeforlinux
bind = $mainMod, F11, exec, $hypr_dir/info
bind = $mainMod, F10, exec, $hypr_dir/bluetooth
@@ -169,7 +170,8 @@ windowrulev2=workspace 4,class:^(pavucontrol)$
#startup applications
exec-once=dbus-update-activation-environment --systemd --all
exec-once=ssh-agent
exec-once=swaybg -i ~/wall/14.jpg
exec-once=swaybg -i ~/wall/9.png
exec-once=node ~/arrpc/src > /tmp/discordrpclog
exec-once=xrdb -merge $HOME/.config/.Xresource
exec-once=$hypr_dir/workspace 'focus'
exec-once=eww open-many music_0 time_0

View File

@@ -10,7 +10,7 @@ while [ $i -le "5" ];do
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)" -r 2 -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 / 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)" -r 2 -t 1500 &
: $((i+=1))
sleep 1
done

View File

@@ -5,7 +5,7 @@ setup_dual_monitor(){
sleep 2
if hyprctl monitors | grep -q "HDMI-A-1";then
notify-send "Setting up dual monitor workflow"
wlr-randr --output 'HDMI-A-1' --custom-mode '1920x1080'
wlr-randr --output 'HDMI-A-1' --custom-mode '1900x1080@60'
for i in $(seq 2 4);do
hyprctl dispatch moveworkspacetomonitor "$i 0"
done