eww replacement of waybar
This commit is contained in:
@@ -316,14 +316,12 @@ windowrule {
|
||||
}
|
||||
|
||||
# env stuff
|
||||
exec-once = waybar --style ~/.config/waybar/style.css
|
||||
#exec-once = waybar --style ~/.config/waybar/style.css
|
||||
exec-once = ~/.config/eww/scipts/launch.sh
|
||||
exec-once = hyprpaper
|
||||
exec-once = ~/.config/hypr/theme-cycle.sh
|
||||
|
||||
exec-once = [workspace 1 silent] firefox
|
||||
exec-once = [workspace 10 silent] firefox --new-instance
|
||||
|
||||
|
||||
#rules
|
||||
windowrule {
|
||||
name = firefox-to-ws2
|
||||
match:class = ^(firefox)$
|
||||
@@ -337,24 +335,24 @@ windowrule {
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = vesktop-to-ws6
|
||||
match:class = ^(vesktop)$
|
||||
workspace = 4 silent
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = vesktop-to-ws6
|
||||
match:class = ^(vesktop)$
|
||||
workspace = 4 silent
|
||||
}
|
||||
|
||||
|
||||
windowrule {
|
||||
name = steam-to-ws7
|
||||
match:class = ^(steam)$
|
||||
name = spotify-to-ws6
|
||||
match:class = ^(spotify)$
|
||||
workspace = 6 silent
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = vesktop-to-ws4
|
||||
match:class = ^(vesktop)$
|
||||
workspace = 4 silent
|
||||
}
|
||||
|
||||
|
||||
windowrule {
|
||||
name = steam-to-ws5
|
||||
match:class = ^(steam)$
|
||||
workspace = 5 silent
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = firefox-to-ws10
|
||||
match:class = ^(firefox)$
|
||||
@@ -365,4 +363,15 @@ windowrule {
|
||||
name = eww-volume-float
|
||||
match:class = ^(eww)$
|
||||
float = yes
|
||||
}
|
||||
}
|
||||
|
||||
#launch apps
|
||||
exec-once = [workspace 1 silent] firefox
|
||||
exec-once = [workspace 10 silent] firefox --new-instance
|
||||
exec-once = code
|
||||
exec-once = vesktop
|
||||
exec-once = steam
|
||||
exec-once = spotify
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Reload Waybar if running, otherwise start it
|
||||
if pgrep -x waybar >/dev/null; then
|
||||
killall -SIGUSR2 waybar
|
||||
else
|
||||
setsid waybar &>/dev/null &
|
||||
fi
|
||||
pgrep -x eww >/dev/null && eww kill; bash ~/.config/eww/scripts/launch.sh
|
||||
|
||||
# Restart hyprpaper
|
||||
pkill hyprpaper 2>/dev/null
|
||||
|
||||
@@ -12,14 +12,14 @@ apply_day() {
|
||||
for mon in "${MONITORS[@]}"; do
|
||||
hyprctl hyprpaper wallpaper "$mon,$DAY_WALL" &>/dev/null
|
||||
done
|
||||
sh ~/.config/waybar/switch-theme.sh day
|
||||
#sh ~/.config/waybar/switch-theme.sh day
|
||||
}
|
||||
|
||||
apply_night() {
|
||||
for mon in "${MONITORS[@]}"; do
|
||||
hyprctl hyprpaper wallpaper "$mon,$NIGHT_WALL" &>/dev/null
|
||||
done
|
||||
sh ~/.config/waybar/switch-theme.sh night
|
||||
#sh ~/.config/waybar/switch-theme.sh night
|
||||
}
|
||||
|
||||
wait_for_hyprpaper() {
|
||||
|
||||
Reference in New Issue
Block a user