/arch-i3-dots

dillacorns i3 Arch .files, guide and scripts

Primary LanguageShell

arch dilla.i3.files


Keybinds: DWM Inspired

My keybinds (see i3 config) are heavily inspired by suckless DWM. Before switching to i3, I used DWM Flexipatch by bakkeby — DWM was my first window manager.


Wallpapers


i3 Keybind Custom Scripts/Commands

Here are some of my custom keybinds from the i3 configuration:

  • Mod4+shift+q = Reload i3 config

    • Reloads the current i3 configuration to apply any changes.
    • Additionally randomizes wallpaper in ~/Pictures/wallpapers directory. <- if you don't want this behavior modify the (i3 config).
  • Mod4+shift+r = Rotate i3 mod navigation

    • Switches between Mod1(alt) and Mod4(meta) navigation using a script: rotate mod script.
  • Mod1+ctrl+shift+p = i3 Power Menu

    • Activates Selectable Power Menu script: i3exit.sh.
    • Escape(ESC) to cancel power menu.
  • Mod4+shift+t = i3 Theme Changer

  • Mod4+shift+w = Wallpaper Selector

    • Opens nitrogen
  • Mod4+shift+g = Capture a GIF

    • Starts a GIF recording with the peek
  • Mod4+shift+s = maim screenshot

    • Takes a screenshot using maim and copies to clipboard.
    • date_time.png saved in ~/Pictures directory.
  • Mod4+ctrl+shift+s = Flameshot screenshot

    • Takes a screenshot using Flameshot with more customization options.
    • date_time.png normally saved in ~/Pictures directory.

i3 Navigation

Here are more example keybinds from my i3 config:

Let me preface "Mod1" can equal "Mod1" or "Mod4" depending on rotate mod script

  • Mod1+shift+enter = Open Terminal

    • Launches the terminal (default: Alacritty).
  • Mod1+p = Rofi Application Launcher

    • Opens the Rofi app launcher for quick access to applications.
  • Mod4+ctrl+shift+l = Lock Screen

    • Locks the screen using i3lock.
  • Mod1+shift+c = Close Window

    • Closes the focused window.
  • Mod1+f = Toggle Floating

    • Toggles between tiling and floating window layouts.
  • Mod1+shift+f = Toggle Fullscreen

    • Toggles app focus ~ fullscreen.
  • Mod1+arrow_keys = Change Focus

    • Switch between open windows.
  • Mod1+shift+arrow_keys = Move Windows

    • Move window location within workspace.
  • Mod1+mouse_1 = Move Floating Window

    • Move Floating Window with your mouse.
  • Mod1+mouse_2 = Resize Floating Window

    • Resize Floating Window with your mouse.
  • Mod1+1 to Mod1+9 = Workspace Switching

    • Switches to workspaces 1 through 9.
  • Mod1+shift+1 to Mod1+shift+9 = Move Focused Window to Workspace

    • Moves the currently focused window to the specified workspace.

Installing i3-WM and Related Applications with Scripts

Install Arch Repo applications using install script.

Install Arch AUR applications using install script.

Install Flatpak applications using install script.

  • Please feel free to modify scripts to remove and/or add applications of your preference for your own repository.

P.S.

My goal is to learn as much as I can with X11, with the hope that this knowledge can eventually be applied to a separate repository using Sway-wm and/or Hyperland-wm.

At present, i3-wm seems more flexible (especially for gaming), but with ongoing developments, it's likely that the gap will eventually close, and we may all need to transition to a Wayland-based window manager.

License

All code and notes are not under any formal license. If you find any of the scripts helpful, feel free to use, modify, publish, and distribute them to your heart's content. See https://unlicense.org/repo