wip
This commit is contained in:
parent
c15ee0a39b
commit
fb20c45ead
4 changed files with 46 additions and 3 deletions
|
@ -7,7 +7,8 @@
|
|||
}:
|
||||
with lib; let
|
||||
cfg = config.aa.desktop.sway;
|
||||
sway_cfg = config.aa.home.extraOptions.wayland.windowManager.sway;
|
||||
nag = "swaynag";
|
||||
sway_cfg = config.aa.home.extraOptions.wayland.windowManager.sway.config;
|
||||
in {
|
||||
options.aa.desktop.sway = with types; {
|
||||
enable = mkEnableOption "sway";
|
||||
|
@ -37,6 +38,11 @@ in {
|
|||
menu = "rofi -show run";
|
||||
workspaceAutoBackAndForth = true;
|
||||
|
||||
left = "h";
|
||||
right = "l";
|
||||
up = "j";
|
||||
down = "k";
|
||||
|
||||
colors = {
|
||||
focused = {
|
||||
border = "#2B3C44";
|
||||
|
@ -147,7 +153,8 @@ in {
|
|||
"${sway_cfg.modifier}+c" = "kill";
|
||||
"${sway_cfg.modifier}+p" = "exec ${sway_cfg.menu}";
|
||||
"${sway_cfg.modifier}+z" = "reload";
|
||||
"${sway_cfg.modifier}+x" = "exec swaylock -i ${config.home.homeDirectory}/dotfiles/users/alejandro/sway/wallpaper.png";
|
||||
# TODO: Reintroduce this. Failing because config.home.homeDirectory is not set
|
||||
# "${sway_cfg.modifier}+x" = "exec swaylock -i ${config.home.homeDirectory}/dotfiles/users/alejandro/sway/wallpaper.png";
|
||||
|
||||
# Volume control
|
||||
"XF86AudioRaiseVolume" = " exec 'pamixer --increase 5'";
|
||||
|
|
|
@ -33,7 +33,7 @@ in {
|
|||
|
||||
inherit (cfg) name;
|
||||
|
||||
home = "/home/{$cfg.name}";
|
||||
home = "/home/${cfg.name}";
|
||||
group = "users";
|
||||
|
||||
shell = pkgs.zsh;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue