Skip to content

Latest commit

 

History

History
148 lines (90 loc) · 4.35 KB

KEYBINDINGS.md

File metadata and controls

148 lines (90 loc) · 4.35 KB

i3wm keybindings

PLEASE NOTE: the SUPER key is also known as the "Windows" key.

Terminal keybindings

ALT+ENTER: open the suckless terminal (st)

ALT+SHIFT+ENTER: open the kitty terminal

CTRL+SHIFT+T: open a new kitty terminal tab

CTRL+SHIFT+[Left/Right]: browse kitty terminal tabs

CTRL+D: close the current tab if there is an empty line

Menu keybindings

ALT+D: open rofi to launch an application/a command

ALT+SHIFT+D: open dmenu (same as rofi)

ALT+SHIFT+W: open firefox

SUPER+B: create a new blank window (like dwm)

SUPER+D: Select a display

SUPER+I: move the mouse automatically to prevent inactivity

SUPER+M: open dmenu to show mountable drives

SUPER+N: choose a network connection

SUPER+SHIFT+E: emoji selector

SUPER+SHIFT+U: Monitor a disk's usage

SUPER+U: open dmenu to show unmountable drives

SUPER+W: set a new random wallpaper

Window keybindings

Window borders

ALT+F4: close the current window

ALT+F: enter fullscreen mode

ALT+N: set the window border to normal

ALT+U: hide the window borders

ALT+Y: set the window border to 3 pixels

SUPER+E: toggle the window split (for example from horizontal to vertical)

SUPER+H: split focused window horizontally

SUPER+V: split focused window vertically

Gaps

ALT+X: decrease gaps

ALT+Z: increase gaps

SUPER+G: toggle gaps (enable/disable)

Change focus

ALT+[h/Left]: change window focus to left

ALT+[j/Down]: change window focus to down

ALT+[k/Up]: change window focus to up

ALT+[l/Right]: change window focus to right

Move focused window

ALT+SHIFT+[h/Left]: move focused window left

ALT+SHIFT+[j/Down]: move focused window down

ALT+SHIFT+[k/Up]: move focused window up

ALT+SHIFT+[l/Right]: move focused window right

Window style

ALT+S: set focused window style to stacking

ALT+W: set focused window style to tabbed

ALT+SHIFT+SPACE: toggle between floating or tiling

Moving and resizing windows

ALT+R: enter resize mode (while in resize mode, resize the window either with hjkl or with the arrow keys)

ALT+[Mouse right]: resize a window with the mouse cursor

ALT+[Mouse move]: move a window

ALT+SHIFT+[h/j/k/l]: move window

ALT+SHIFT+[Arrow keys]: move window

Workspaces

ALT+[1/2/3...]: change workspace

ALT+SHIFT+[1/2/3...]: move focused window to workspace

Screenshots

PRINTSCR: take a screenshot, move it to ~/Pictures and preview it

Locking & Logging out

SUPER+L: lock i3 using i3locker

SUPER+SHIFT+L: end X session and go back to LightDM

Special/Function keys

You can use the special Function keys with the appropriate icon to run the according commands. On some laptops you might have to press the "Fn" button to use these special keys. Down below are listed the keybindings I have, they might be different for you. (I have a Thinkpad T440p)

  • Volume:

    • (XF86AudioRaiseVolume) F1: mute
    • (XF86AudioLowerVolume) F2: decrease
    • (XF86AudioMute) F3: increase
    • (XF86AudioMicMute) F4: toggle microphone (enable/disable)
  • Brightness:

    • (XF86MonBrightnessUp) F5: decrease
    • (XF86MonBrightnessDown) F6: increase
  • Network:

    • F8: toggle wifi (enable/disable)
  • Webcam:

    • (XF86Display) F7: toggle webcam (enable/disable)
    • (XF86Explorer) F12: fix webcam
  • Others:

    • (XF86Tools) F9: cpu toolkit
    • (XF86Search) F10: download videos from YT
    • (XF86LaunchA) F11: choose which scripts to launch
  • Assigned (but not used) keybindings for mpc:

    • XF86AudioNext: next song
    • XF86AudioPrev: previous song
    • XF86AudioPlay: play/pause song
    • XF86AudioStop: stop song

i3wm

ALT+SHIFT+C: reload the i3wm config file

ALT+SHIFT+R: reload i3wm