sway + swayidle fixes

This commit is contained in:
kat witch 2021-03-26 04:18:48 +00:00
parent 746e4e7c8a
commit ed44c76d68
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 12 additions and 2 deletions

View file

@ -11,7 +11,7 @@
Service = {
Type = "simple";
ExecStart = ''
${pkgs.swayidle}/bin/swayidle --i eDP-1:${../../../private/files/wallpapers/main.png} -i HDMI-A-1:${../../../private/files/wallpapers/main.png} -i DP-1:${../../../private/files/wallpapers/left.jpg} -i DVI-D-1:${../../../private/files/wallpapers/right.jpg} -s fill w \
${pkgs.swayidle}/bin/swayidle --i eDP-1:${../../../private/files/wallpapers/main.png} -i HDMI-A-1:${../../../private/files/wallpapers/main.png} -i DP-1:${../../../private/files/wallpapers/left.jpg} -i DVI-D-1:${../../../private/files/wallpapers/right.jpg} \
timeout 300 '${pkgs.swaylock}/bin/swaylock' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \

View file

@ -96,6 +96,15 @@
};
clock = {
format = " {:%A, %F %T %Z}";
tooltip = true;
tooltip-format = "{calendar}";
timezones = [
"Europe/London"
"America/Vancouver"
"America/Chicago"
"Europe/Berlin"
"Pacific/Auckland"
];
interval = 1;
};
};

View file

@ -9,7 +9,7 @@
min-height: 14px
}
#clock, #memory, #cpu, #temperature, #pulseaudio, #network, #mpd, #backlight, #battery, #custom-weather, #custom-gpg-status, #idle_inhibitor {
#clock, #memory, #cpu, #temperature, #pulseaudio, #network, #mpd, #backlight, #battery, #custom-weather, #custom-gpg-status, #idle_inhibitor, #tray {
margin-left: 8px;
margin-right: 8px;
padding-left: 8px;
@ -56,6 +56,7 @@
#mpd, #idle_inhibitor { border-color: #5af78e }
#mpd.disconnected, #mpd.stopped { border-color: #282a36 }
#tray { border-color: ${style.base16.color19} }
#network { border-color: ${style.base16.color3} }
#custom-weather { border-color: ${style.base16.color14} }
#custom-gpg-status { border-color: ${style.base16.color2} }