Skip to content
Snippets Groups Projects
Commit f5a36624 authored by JiriKalvoda's avatar JiriKalvoda
Browse files

I3 Add new key map.

parent bb72c0f5
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
set $outmod Mod1
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
......@@ -68,7 +67,6 @@ bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# move focused window
bindsym $mod+Ctrl+h move workspace to output left
bindsym $mod+Ctrl+j move workspace to output down
bindsym $mod+Ctrl+k move workspace to output up
......@@ -128,6 +126,18 @@ bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
# move and switch to workspace
bindsym $mod+Ctrl+1 move container to workspace 1; workspace 1
bindsym $mod+Ctrl+2 move container to workspace 2; workspace 2
bindsym $mod+Ctrl+3 move container to workspace 3; workspace 3
bindsym $mod+Ctrl+4 move container to workspace 4; workspace 4
bindsym $mod+Ctrl+5 move container to workspace 5; workspace 5
bindsym $mod+Ctrl+6 move container to workspace 6; workspace 6
bindsym $mod+Ctrl+7 move container to workspace 7; workspace 7
bindsym $mod+Ctrl+8 move container to workspace 8; workspace 8
bindsym $mod+Ctrl+9 move container to workspace 9; workspace 9
bindsym $mod+Ctrl+0 move container to workspace 10; workspace 10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
......@@ -168,10 +178,15 @@ mode "resize" {
bindsym Shift+Up resize shrink height $smallResize px or $smallResize ppt
bindsym Shift+Right resize grow width $smallResize px or $smallResize ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
# back $mod+o normal: Enter or Escape
bindsym $mod+Return mode "default"
bindsym $mod+Escape mode "default"
}
bindsym $mod+r mode "resize"
......@@ -200,21 +215,50 @@ floating_modifier $mod
bindsym $outmod+w exec light - 0.9 ; exec lightGUI
bindsym $outmod+e exec light - 0.15; exec lightGUI
bindsym $outmod+r exec light + 0.15; exec lightGUI
bindsym $outmod+t exec light + 0.9 ; exec lightGUI
bindsym $outmod+q exec light H 0 ; exec lightGUI
bindsym $mod+x mode "System modifikator"
mode "System modifikator"
{
bindsym w exec light - 0.9 ; exec lightGUI
bindsym e exec light - 0.15; exec lightGUI
bindsym r exec light + 0.15; exec lightGUI
bindsym t exec light + 0.9 ; exec lightGUI
bindsym q exec light H 0 ; exec lightGUI
bindsym a exec amixer sset Master -q 0%; exec volumeGUI
bindsym s exec amixer sset Master -q 10%-; exec volumeGUI
bindsym d exec amixer sset Master -q 2%-; exec volumeGUI
bindsym f exec amixer sset Master -q 2%+; exec volumeGUI
bindsym g exec amixer sset Master -q 10%+; exec volumeGUI
bindsym comma exec xrandr --auto
bindsym n exec xrand--auto; exec xrandr --output HDMI-1 --off --output eDP-1 --pos 0x0
bindsym m exec xrandr --auto; exec xrandr --output HDMI-1 --pos 0x0 --output eDP-1 --pos 2560x500
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $outmod+a exec amixer sset Master -q 0%; exec volumeGUI
bindsym $outmod+s exec amixer sset Master -q 10%-; exec volumeGUI
bindsym $outmod+d exec amixer sset Master -q 2%-; exec volumeGUI
bindsym $outmod+f exec amixer sset Master -q 2%+; exec volumeGUI
bindsym $outmod+g exec amixer sset Master -q 10%+; exec volumeGUI
bindsym $outmod+comma exec xrandr --auto
bindsym $outmod+n exec xrand--auto; exec xrandr --output HDMI-1 --off --output eDP-1 --pos 0x0
bindsym $outmod+m exec xrandr --auto; exec xrandr --output HDMI-1 --pos 0x0 --output eDP-1 --pos 2560x500
bindsym $mod+w exec light - 0.9 ; exec lightGUI
bindsym $mod+e exec light - 0.15; exec lightGUI
bindsym $mod+r exec light + 0.15; exec lightGUI
bindsym $mod+t exec light + 0.9 ; exec lightGUI
bindsym $mod+q exec light H 0 ; exec lightGUI
bindsym $mod+a exec amixer sset Master -q 0%; exec volumeGUI
bindsym $mod+s exec amixer sset Master -q 10%-; exec volumeGUI
bindsym $mod+d exec amixer sset Master -q 2%-; exec volumeGUI
bindsym $mod+f exec amixer sset Master -q 2%+; exec volumeGUI
bindsym $mod+g exec amixer sset Master -q 10%+; exec volumeGUI
bindsym $mod+comma exec xrandr --auto
bindsym $mod+n exec xrand--auto; exec xrandr --output HDMI-1 --off --output eDP-1 --pos 0x0
bindsym $mod+m exec xrandr --auto; exec xrandr --output HDMI-1 --pos 0x0 --output eDP-1 --pos 2560x500
# back $mod+o normal: Enter or Escape
bindsym $mod+Return mode "default"
bindsym $mod+Escape mode "default"
}
bindsym Control+Print exec gnome-screenshot -i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment