Clean up autostart script

This commit is contained in:
Kiana Sheibani 2024-05-06 16:43:23 -04:00
parent 25e08ed6d7
commit 37ae0fcdbb
2 changed files with 6 additions and 2 deletions

View file

@ -21,7 +21,7 @@ in {
"$menu" = "rofi -show drun";
exec-once = [
"${scripts}/autostart ${../../assets/background.png}"
"background=${../../assets/background.png} ${scripts}/autostart"
];
general = {
@ -49,6 +49,10 @@ in {
font_size = 14;
};
windowrulev2 = [
"float, initialTitle:(emacs-everywhere)"
"bordercolor rgb(e0af68), fullscreen:1"
];
layerrule = [
"noanim, ^(notifications)$"
];

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
swaybg -o '*' -i "$1" -m fill &
swaybg -o '*' -i "$background" -m fill &
waybar &