diff --git a/home-manager/i3.nix b/home-manager/i3.nix index 59443f6..fc72aa5 100644 --- a/home-manager/i3.nix +++ b/home-manager/i3.nix @@ -13,6 +13,65 @@ client.unfocused #b57614 #b57614 #b57614 #b57614 #b57614 client.urgent #cc241d #cc241d #cc241d #cc241d #cc241d + bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% + bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% + bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle + bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle + + floating_modifier Mod4 + + tiling_drag modifier titlebar + + bindsym Mod4+Shift+q kill + + bindsym Mod4+f fullscreen toggle + + set $ws1 "1" + set $ws2 "2" + set $ws3 "3" + set $ws4 "4" + set $ws5 "5" + set $ws6 "6" + set $ws7 "7" + set $ws8 "8" + set $ws9 "9" + set $ws10 "10" + + # switch to workspace + bindsym Mod4+1 workspace number $ws1 + bindsym Mod4+2 workspace number $ws2 + bindsym Mod4+3 workspace number $ws3 + bindsym Mod4+4 workspace number $ws4 + bindsym Mod4+5 workspace number $ws5 + bindsym Mod4+6 workspace number $ws6 + bindsym Mod4+7 workspace number $ws7 + bindsym Mod4+8 workspace number $ws8 + bindsym Mod4+9 workspace number $ws9 + bindsym Mod4+0 workspace number $ws10 + + # move focused container to workspace + bindsym Mod4+Shift+1 move container to workspace number $ws1 + bindsym Mod4+Shift+2 move container to workspace number $ws2 + bindsym Mod4+Shift+3 move container to workspace number $ws3 + bindsym Mod4+Shift+4 move container to workspace number $ws4 + bindsym Mod4+Shift+5 move container to workspace number $ws5 + bindsym Mod4+Shift+6 move container to workspace number $ws6 + bindsym Mod4+Shift+7 move container to workspace number $ws7 + bindsym Mod4+Shift+8 move container to workspace number $ws8 + bindsym Mod4+Shift+9 move container to workspace number $ws9 + bindsym Mod4+Shift+0 move container to workspace number $ws10 + + # change focus + bindsym Mod4+h focus left + bindsym Mod4+j focus down + bindsym Mod4+k focus up + bindsym Mod4+l focus right + + bindsym Mod4+Shift+h move left + bindsym Mod4+Shift+j move down + bindsym Mod4+Shift+k move up + bindsym Mod4+Shift+l move right + # plasma stuff exec --no-startup-id wmctrl -c Plasma for_window [title="Desktop @*"] kill; floating enable; border none diff --git a/home-manager/plasma.nix b/home-manager/plasma.nix index 1121396..c7571f5 100644 --- a/home-manager/plasma.nix +++ b/home-manager/plasma.nix @@ -104,27 +104,6 @@ } ]; - window-rules = [ - { - description = "wezterm"; - match = { - window-class = { - value = "wezterm"; - type = "substring"; - }; - window-types = [ "normal" ]; - }; - apply = { - noborder = { - value = true; - apply = "force"; - }; - maximizehoriz = true; - maximizevert = true; - }; - } - ]; - configFile."kcminputrc" = { "Mouse"."X11LibInputXAccelProfileFlat" = true; "Mouse"."XLbInptPointerAcceleration" = 0;