swaylock-effects is causing issues with sway 1.8
This commit is contained in:
parent
b407c378f7
commit
f87f7d2007
3 changed files with 4 additions and 3 deletions
|
@ -14,7 +14,7 @@ let
|
|||
qhd = ../sway/wallpapers/river-2560.png;
|
||||
uhd = ../sway/wallpapers/river-3840.png;
|
||||
};
|
||||
swaylockcmd = "${pkgs.swaylock-effects}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --clock --image ${wallpapers.qhd} --fade-in 0.5 --scaling fill";
|
||||
swaylockcmd = "${pkgs.swaylock}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --image ${wallpapers.qhd} --scaling fill";
|
||||
|
||||
in
|
||||
{
|
||||
|
|
|
@ -11,7 +11,8 @@ with lib; let
|
|||
qhd = ./wallpapers/river-2560.png;
|
||||
uhd = ./wallpapers/river-3840.png;
|
||||
};
|
||||
swaylockcmd = "${pkgs.swaylock-effects}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --clock --image ${wallpapers.qhd} --fade-in 0.5 --scaling fill";
|
||||
# swaylockcmd = "${pkgs.swaylock-effects}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --clock --image ${wallpapers.qhd} --fade-in 0.5 --scaling fill";
|
||||
swaylockcmd = "${pkgs.swaylock}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --image ${wallpapers.qhd} --scaling fill";
|
||||
rofiPower = pkgs.writeShellScriptBin "rofi-power" (builtins.readFile ./powermenu.sh);
|
||||
in
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ exit_wm=""
|
|||
# Variable passed to rofi
|
||||
options="${shutdown}\n${reboot}\n${lock}\n${hibernate}\n${exit_wm}"
|
||||
uptime=$(uptime | awk '{print $1}' || true)
|
||||
lockcmd="swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --clock --image /home/erwin/.wallpapers/river-2560.png --fade-in 0.5 --scaling fill"
|
||||
lockcmd="swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --image /home/erwin/.wallpapers/river-2560.png --scaling fill"
|
||||
|
||||
chosen="$(echo -e "${options}" | rofi -theme power -p "Uptime: ${uptime}" -dmenu -selected-row 2)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue