From 0658c5d898d6267e23d28f60d2c32edcf85d5c06 Mon Sep 17 00:00:00 2001 From: andromeda Date: Fri, 9 Jan 2026 23:23:07 +0100 Subject: modularise lenovo? --- users/andromeda/home.nix | 77 +----------------------------------------------- 1 file changed, 1 insertion(+), 76 deletions(-) (limited to 'users/andromeda') 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 -- cgit v1.3