Compare commits
2 commits
dff251d0f9
...
8519ba9fe5
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | 8519ba9fe5 | ||
Evie Litherland-Smith | 79b0a0d841 |
|
@ -21,7 +21,7 @@
|
||||||
cursor = {blink = true;};
|
cursor = {blink = true;};
|
||||||
mouse = {hide-when-typing = true;};
|
mouse = {hide-when-typing = true;};
|
||||||
colors = with config.scheme; rec {
|
colors = with config.scheme; rec {
|
||||||
opacity = 0.9;
|
alpha = 0.9;
|
||||||
background = base00;
|
background = base00;
|
||||||
foreground = base05;
|
foreground = base05;
|
||||||
regular0 = base02;
|
regular0 = base02;
|
||||||
|
|
|
@ -51,16 +51,17 @@ spawn-at-startup "set-background"
|
||||||
|
|
||||||
binds {
|
binds {
|
||||||
Mod+Shift+Slash { show-hotkey-overlay; }
|
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||||
Mod+Return { spawn "foot"; }
|
Super+Alt+L { spawn "swaylockfx"; }
|
||||||
Mod+Shift+Return { spawn "fuzzel"; }
|
|
||||||
Mod+E { spawn "emacsclient" "-c"; }
|
Mod+F1 { spawn "swaylockfx"; }
|
||||||
Mod+P { spawn "wlogout"; }
|
Mod+P { spawn "wlogout"; }
|
||||||
|
Mod+D { spawn "fuzzel"; }
|
||||||
|
Mod+Return { spawn "foot"; }
|
||||||
|
Mod+Shift+Return { spawn "emacsclient" "-c"; }
|
||||||
|
|
||||||
Mod+Z { spawn "swaync-client" "-t" "-sw"; }
|
Mod+Z { spawn "swaync-client" "-t" "-sw"; }
|
||||||
Mod+Shift+Z { spawn "swaync-client" "-d" "-sw"; }
|
Mod+Shift+Z { spawn "swaync-client" "-d" "-sw"; }
|
||||||
|
|
||||||
Super+Alt+L { spawn "swaylockfx"; }
|
|
||||||
|
|
||||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "volumectl" "-u" "+" "5"; }
|
XF86AudioRaiseVolume allow-when-locked=true { spawn "volumectl" "-u" "+" "5"; }
|
||||||
XF86AudioLowerVolume allow-when-locked=true { spawn "volumectl" "-u" "-" "5"; }
|
XF86AudioLowerVolume allow-when-locked=true { spawn "volumectl" "-u" "-" "5"; }
|
||||||
XF86AudioMute allow-when-locked=true { spawn "volumectl" "%"; }
|
XF86AudioMute allow-when-locked=true { spawn "volumectl" "%"; }
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
}: {
|
}: {
|
||||||
home.packages = [pkgs.swaynotificationcenter];
|
home.packages = [pkgs.swaynotificationcenter];
|
||||||
xdg.configFile."swaync/style.css".text = with config.scheme.withHashtag; let
|
xdg.configFile."swaync/style.css".text = with config.scheme.withHashtag; let
|
||||||
alpha-background = "${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.8";
|
alpha = "0.8";
|
||||||
|
alpha-background = "rgba(${config.scheme.base00-rgb-r}, ${config.scheme.base00-rgb-g}, ${config.scheme.base00-rgb-b}, ${alpha})";
|
||||||
in ''
|
in ''
|
||||||
* {
|
* {
|
||||||
all: unset;
|
all: unset;
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border: 1px solid ${config.scheme.withHashtag.${accentColour}};
|
border: 1px solid ${config.scheme.withHashtag.${accentColour}};
|
||||||
margin: 18px;
|
margin: 18px;
|
||||||
background-color: rgba(${alpha-background});
|
background-color: ${alpha-background};
|
||||||
color: ${base05};
|
color: ${base05};
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -144,7 +145,7 @@
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border: 1px solid ${config.scheme.withHashtag.${accentColour}};
|
border: 1px solid ${config.scheme.withHashtag.${accentColour}};
|
||||||
margin: 18px;
|
margin: 18px;
|
||||||
background-color: rgba(${alpha-background});
|
background-color: ${alpha-background};
|
||||||
color: ${base05};
|
color: ${base05};
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue