basic i3 binds

This commit is contained in:
Rachel Lambda Samuelsson 2024-10-16 19:57:06 +02:00
parent 223c156b21
commit 80bc754466
2 changed files with 59 additions and 21 deletions

View File

@ -13,6 +13,65 @@
client.unfocused #b57614 #b57614 #b57614 #b57614 #b57614 client.unfocused #b57614 #b57614 #b57614 #b57614 #b57614
client.urgent #cc241d #cc241d #cc241d #cc241d #cc241d 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 # plasma stuff
exec --no-startup-id wmctrl -c Plasma exec --no-startup-id wmctrl -c Plasma
for_window [title="Desktop @*"] kill; floating enable; border none for_window [title="Desktop @*"] kill; floating enable; border none

View File

@ -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" = { configFile."kcminputrc" = {
"Mouse"."X11LibInputXAccelProfileFlat" = true; "Mouse"."X11LibInputXAccelProfileFlat" = true;
"Mouse"."XLbInptPointerAcceleration" = 0; "Mouse"."XLbInptPointerAcceleration" = 0;