Skip to content

Commit ad15289

Browse files
committed
Add super simple and uncomplicated oneliner for reloading hyprland
1 parent f67b890 commit ad15289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linux/.config/hypr/hyprland.d/visual.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ general {
2121
}
2222

2323

24-
exec = killall -qu $USER swaybg; swaybg -i $wallpaper -m fill # Wallpaper
25-
exec = killall -qu $USER waybar; waybar # Top bar
24+
exec = pkill -t $(echo "print('$(tty)'.removeprefix('/dev/'))" | python3) swaybg ; swaybg -i $wallpaper -m fill # Wallpaper
25+
exec = pkill -t $(echo "print('$(tty)'.removeprefix('/dev/'))" | python3) waybar ; waybar
2626

2727
# Cursor configuration
2828
env = XCURSOR_THEME,breeze_cursors

0 commit comments

Comments
 (0)