Configure the appearance of swaynag
This commit is contained in:
parent
e8f837dd65
commit
a41f4be8fb
|
@ -8,6 +8,7 @@
|
|||
imports = [
|
||||
./sway.nix
|
||||
./swaylock.nix
|
||||
./swaynag.nix
|
||||
./mako.nix
|
||||
./rofi.nix
|
||||
./waybar.nix
|
||||
|
|
|
@ -114,9 +114,8 @@ in {
|
|||
"XF86AudioPrev" = playerctl "previous";
|
||||
|
||||
# Exit
|
||||
"${modifier}+Shift+e" = ''exec swaynag -t warning -m \
|
||||
"You pressed the exit shortcut. Do you really want to exit sway? \
|
||||
This will end your Wayland session." -b "Yes, exit sway" "swaymsg exit" '';
|
||||
"${modifier}+Shift+e" = ''exec swaynag -t exit -m "Do you really want to exit?" \
|
||||
-B "Reboot" "reboot" -B "Shutdown" "poweroff" -b "Exit" "swaymsg exit"'';
|
||||
|
||||
# Workspaces
|
||||
"${modifier}+1" = "workspace 10:browser";
|
||||
|
|
16
home-manager/wayland/swaynag.nix
Normal file
16
home-manager/wayland/swaynag.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
xdg.configFile."swaynag/config".text =
|
||||
''
|
||||
font=JetBrainsMono 10
|
||||
layer=top
|
||||
|
||||
[exit]
|
||||
background=111320D0
|
||||
text=a9b1d6
|
||||
border-bottom=7BC5E4
|
||||
border-bottom-size=1
|
||||
button-background=282E49F0
|
||||
button-border-size=2
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue