Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save saiashirwad/c55913e601e3fca001e0972f88dae863 to your computer and use it in GitHub Desktop.
Save saiashirwad/c55913e601e3fca001e0972f88dae863 to your computer and use it in GitHub Desktop.
i3config
exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=ssh,secrets,pkcs11
exec --no-startup-id remaps
set $super Mod4
floating_modifier $super
for_window [class="^.*"] border pixel 1
font pango:Fira Mono 14
bindsym $super+1 workspace 1
bindsym $super+2 workspace 2
bindsym $super+3 workspace 3
bindsym $super+4 workspace 4
bindsym $super+5 workspace 5
bindsym $super+6 workspace 6
bindsym $super+7 workspace 7
bindsym $super+8 workspace 8
bindsym $super+9 workspace 9
bindsym $super+0 workspace 10
bindsym $super+Return exec kitty
bindsym $super+Shift+0 move container to workspace 10
bindsym $super+Shift+1 move container to workspace 1
bindsym $super+Shift+2 move container to workspace 2
bindsym $super+Shift+3 move container to workspace 3
bindsym $super+Shift+4 move container to workspace 4
bindsym $super+Shift+5 move container to workspace 5
bindsym $super+Shift+6 move container to workspace 6
bindsym $super+Shift+7 move container to workspace 7
bindsym $super+Shift+8 move container to workspace 8
bindsym $super+Shift+9 move container to workspace 9
bindsym $super+Shift+b exec google-chrome
bindsym $super+Shift+c reload
bindsym $super+Shift+e exec exit-i3
bindsym $super+Shift+h move left
bindsym $super+Shift+j move down
bindsym $super+Shift+k move up
bindsym $super+Shift+l move right
bindsym $super+Shift+r restart
bindsym $super+Shift+s exec "flameshot gui"
bindsym $super+c focus child
bindsym $super+d exec rofi -show run
bindsym $super+Shift+d exec rofi -show drun
bindsym $super+f floating toggle
bindsym $super+space fullscreen
bindsym $super+h focus left
bindsym $super+j focus down
bindsym $super+k focus up
bindsym $super+l focus right
bindsym $super+p focus parent
bindsym $super+q kill
bindsym $super+s layout stacking
bindsym $super+v split toggle
bindsym $super+w layout tabbed
bindsym $super+Left resize shrink width 30px
bindsym $super+Right resize grow width 30px
mode "resize" {
bindsym h resize shrink width 2 px or 2 ppt
bindsym j resize grow height 2 px or 2 ppt
bindsym k resize shrink height 2 px or 2 ppt
bindsym l resize grow width 2 px or 2 ppt
bindsym Return mode "default"
bindsym Escape mode "default"
}
mode "focus" {
bindsym h focus left
bindsym j focus down
bindsym k focus up
bindsym l focus right
bindsym Return mode "default"
bindsym Escape mode "default"
}
mode "move" {
bindsym h move left
bindsym j move down
bindsym k move up
bindsym l move right
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $super+r mode "resize"
bindsym $super+m mode "move"
bar {
status_command ~/.local/bin/bumblebee-status -m amixer nvidiagpu datetime spotify pulsein
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment