Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ bind = $mainMod, B, killactive
bind = $mainMod, E, exec, $fileManager
# bind = $mainMod, V, exec, hyprctl --batch "dispatch togglefloating; dispatch resizeactive exact 800 800; dispatch centerwindow 1;"
bind = $mainMod, V, togglefloating
bind = $mainMod, R, exec, $menu
bind = $mainMod, R, exec, ~/.config/hypr/scripts/run-wofi.sh
bind = $mainMod, P, pseudo
bind = $mainMod, J, togglesplit
bind = $mainMod, F, fullscreen
Expand Down
7 changes: 7 additions & 0 deletions .config/hypr/scripts/run-wofi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

if pgrep -x wofi > /dev/null; then
return
else
wofi -n
fi
5 changes: 4 additions & 1 deletion .config/hypr/wallpaper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ main() {
pkill -USR2 cava 2>/dev/null
source ~/.cache/wal/colors.sh && cp -r $wallpaper ~/wallpapers/pywallpaper.jpg
}
main

if ! pgrep -x wofi > /dev/null; then
main
fi

5 changes: 4 additions & 1 deletion .config/waybar/scripts/select.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ main() {
fi

}
main

if ! pgrep -x wofi > /dev/null; then
main
fi