diff options
| author | andromeda <andromeda@lenovo> | 2026-01-09 23:23:07 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-09 23:23:07 +0100 |
| commit | 0658c5d898d6267e23d28f60d2c32edcf85d5c06 (patch) | |
| tree | deb20f9303cacb066e4f5590442b0be08c59f226 /users/andromeda/home.nix | |
| parent | 8b79f4e825718448780383d0e535d132d7b80561 (diff) | |
modularise lenovo?
Diffstat (limited to 'users/andromeda/home.nix')
| -rw-r--r-- | users/andromeda/home.nix | 77 |
1 files changed, 1 insertions, 76 deletions
diff --git a/users/andromeda/home.nix b/users/andromeda/home.nix index ce2c0f5..3fd9b05 100644 --- a/users/andromeda/home.nix +++ b/users/andromeda/home.nix @@ -16,82 +16,6 @@ "${config.home.homeDirectory}/${background-path}" ]; }; - sway_config' = builtins.toFile "sway_config" '' - set $mod Mod4 - set $left h - set $down j - set $up k - set $right l - set $term alacritty - set $menu wmenu-run - set $screenshot grim -g "$(slurp)" - floating_modifier $mod normal - - workspace_layout stacking - output * bg ${config.home.homeDirectory}/${background-path} fill - - # launch programs - bindsym $mod+Shift+Return exec $term - bindsym $mod+Shift+d exec $menu - bindsym $mod+Shift+a exec anki - bindsym $mod+Shift+q exec librewolf - bindsym $mod+Shift+s exec $screenshot - - bindsym $mod+Shift+c kill - - bindsym $mod+Shift+r reload - - bindsym $mod+Shift+Alt+q exit - - bindsym $mod+$left focus left - bindsym $mod+$down focus down - bindsym $mod+$up focus up - bindsym $mod+$right focus right - - bindsym $mod+Shift+$left move left - bindsym $mod+Shift+$down move down - bindsym $mod+Shift+$up move up - bindsym $mod+Shift+$right move right - - bindsym $mod+1 workspace number 1 - bindsym $mod+2 workspace number 2 - bindsym $mod+3 workspace number 3 - bindsym $mod+4 workspace number 4 - bindsym $mod+5 workspace number 5 - bindsym $mod+6 workspace number 6 - bindsym $mod+7 workspace number 7 - bindsym $mod+8 workspace number 8 - bindsym $mod+9 workspace number 9 - bindsym $mod+0 workspace number 0 - - bindsym $mod+Shift+1 move container to workspace number 1 - bindsym $mod+Shift+2 move container to workspace number 2 - bindsym $mod+Shift+3 move container to workspace number 3 - bindsym $mod+Shift+4 move container to workspace number 4 - bindsym $mod+Shift+5 move container to workspace number 5 - bindsym $mod+Shift+6 move container to workspace number 6 - bindsym $mod+Shift+7 move container to workspace number 7 - bindsym $mod+Shift+8 move container to workspace number 8 - bindsym $mod+Shift+9 move container to workspace number 9 - bindsym $mod+Shift+0 move container to workspace number 0 - - bindsym $mod+f fullscreen - bindsym $mod+Shift+space floating toggle - bindsym $mod+Shift+minus move scratchpad - bindsym $mod+minus scratchpad show - - bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle - bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% - bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% - bindsym --locked XF86AudioMicMute exec pact set-source-mute \@DEFAULT_SOURCE@ toggle - bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- - bindsym --locked XF86MonbrightnessUp exec brightnessctl set 5%+ - - default_border none - font pango:monospace 0.001 - titlebar_border_thickness 0 - titlebar_padding 0 - ''; in { imports = [./stylix.nix]; xdg.configFile."shell".source = lib.getExe pkgs.brush; @@ -103,6 +27,7 @@ in { stateVersion = "26.05"; packages = [ pkgs.acpi + pkgs.anki pkgs.agenix pkgs.alacritty pkgs.anki |
