Skip to content
ulises-jeremias edited this page Feb 21, 2024 · 12 revisions

The i3-wm configuration is located at ~/.config/i3. This file contains the actual configuration for i3-wm, and you have complete freedom to customize it according to your preferences.

To edit the i3-wm configuration, you need to run the following command:

chezmoi edit ~/.config/i3 --source ~/.dotfiles

Remember to apply your changes using chezmoi apply and restart i3-wm for the modifications to take effect.

To understand the different options available for customization, you can refer to the i3 User Guide, which provides detailed documentation on various aspects of the i3 window manager.

Autostart Applications

In the dotfiles installation, we have included a list of applications that are automatically started when the i3 session begins. You can find this list in the ~/.config/i3/autostart.sh file. Feel free to modify this file to add or remove applications based on your requirements.

i3 Keybindings

We have predefined some keybindings in the i3 configuration to enhance your workflow. These keybindings are designed to be intuitive and efficient. Here are some of the keybindings we have set:

Key Action
$Mod+Shift+q Kill the current window
Mod1+F1 Open the application launcher using the dots rofi-run -r command
$Mod+d Open the eww dashboard using the ~/.config/eww/dashboard/launch.sh command
$Mod+x Open the exit menu using the ~/.config/eww/powermenu/launch.sh command
$Mod+Control+p Open/close the polybar menus using the dots toggle -p -t & command
$Mod+w Open the default web browser using the exo-open --launch WebBrowser command
$Mod+f Open the default file manager using the exo-open --launch FileManager command
$Mod+t or $Mod+Return Open the default terminal emulator using the exo-open --launch TerminalEmulator command
XF86MonBrightnessUp Increase the brightness by 10% using the dots brightness "*" + 0.1 command
XF86MonBrightnessDown Decrease the brightness by 10% using the dots brightness "*" - 0.1 command
Shift+XF86MonBrightnessUp Increase the brightness by 1% using the dots brightness "*" + 0.01 command
Shift+XF86MonBrightnessDown Decrease the brightness by 1% using the dots brightness "*" - 0.01 command
Print Open the default screenshot tool using the dots screenshooter command
Shift+Print Take a screenshot of a region using the dots screenshooter -r command
XF86AudioPlay Play/pause the current song using the playerctl play-pause command
XF86AudioNext Play the next song using the playerctl next command
XF86AudioPrev Play the previous song using the playerctl previous command
XF86AudioStop Stop the current song using the playerctl stop command
XF86AudioMute Mute/unmute the current song using the pamixer -t command
XF86AudioRaiseVolume Increase the volume by 1% using the pamixer -i 1 command
XF86AudioLowerVolume Decrease the volume by 1% using the pamixer -d 1 command

These keybindings are designed to improve your productivity and streamline your interaction with i3. However, you are free to modify or add additional keybindings as per your preferences.

🔍 If you want more details or need further customization options, please refer to the i3 User Guide and explore the vast possibilities of customizing i3 according to your needs.

Enjoy the power and flexibility of i3, and personalize it to create your ideal window manager environment!