Created: 2024-08-08
Last Updated: 2025-06-30
i3
Configuration and EverythingPain, but worth it :) Movinya was here :))
$HOME
)i3 configuration file:
.config/i3/config`$HOME
)alacritty # .alacritty.yml
bash # .bashrc
zsh # .zshrc
fish # .config/fish/config
tmux # .tmux.conf
neofetch # .config
ssh # .ssh/config
icons # .icons/
themes # .themes/
oh-my-bash # .oh-my-bash/
oh-my-zsh # .oh-my-zsh/
NOTE:
.icons/
is also home to themes and cursor themes (default bylxappearence
too!)
The default config file for libinput is at /usr/share/X11/xorg.conf.d/40-libinput.conf
. Copy it to /etc/X11/xorg.conf.d
then edit it your preferred text editor (with sudo
)
nvim /etc/X11/xorg.conf.d/40-libinput.conf
...
Section "InputClass"
Identifier "libinput touchpad catchall"
...
Option "NaturalScrolling" "on" # add this
EndSection
...
/etc/wpa_supplicant/wpa_supplicant.conf
$HOME/.config/wpa_supplicant.conf
/usr/share/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant.conf
configuration:nvim ~/.config/wpa_supplicant.conf
---
# for normal wifi
# Can as well do `wpa_passpharse <ssid> <password> > ~/.config/wpa_supplicant.conf` to generate the psk
network={
ssid=
psk=
}
# for education wifi
network={
ssid="SSID"
key_mgmt=WPA-EAP
EAP=PEAP
phase2="auth=MSCHAPV2"
identity="USERNAME"
password="PASSWORD"
}
sudo wpa_supplicant -B -i wlan0 -D nl80211 -c ~/.config/wpa_supplicant.conf
Note: the interface (
-i
flag) could be something else, e.g. wlo1. You can check it using the following command:
ip addr
ifstat wlo1 # to check
ip link set wlo1 up # to unblock interfce
/etc/systemd/system/wpa_supplicant@.service
:# create file
touch /etc/wpa_supplicant/wpa_supplicant-wlo1.conf
# copy content
cat /home/USER/.config/wpa_supplicant.conf > /etc/wpa_supplicant/wpa_supplicant-wlo1.conf
# enable the service
systemctl enable wpa_supplicant@wlo1
Note: I expected to enable
dhcpcd@wlo1
as well but it seems to be working without it.
bluetoothctl
, from bluez-utils
package. Recommend using blueberry
as the GUI interface..config/i3/config
playerctl
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
brightnessctl
# Increase/Decrease screen brightness
bindsym XF86MonBrightUp exec brightnessctl set 10%+
bindsym XF86MonBrightDown exec brightnessctl set 10%-
pactl
of PulseAudiobindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
exec --no-startup-id picom --shadow --inactive-opacity=0.9 --shadow-radius=60 --shadow-opacity=0.2 --fade-in-step=0.8 &
exec --no-startup-id feh --bg-scale --randomize $HOME/.wallpaper/*
bindsym $mod+l exec i3lock -c 9a4000 -p win -e
# --- Coloring ---
# class border backgr. text indicator child_border
client.focused #4c7899 #067A67 #ffffff #2e9ef4 #285577
client.focused_inactive #333333 #161C1A #ffffff #484e50 #5f676a
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
# --- Gaps ---
# `inner` is like padding in CSS
# gaps inner <gap_size>[px]
gaps inner 8
# `outer` is like margin in CSS
# gaps outer|horizontal|vertical|top|left|bottom|right <gap_size>[px]
# smart_gaps on|off|inverse_outer
smart_gaps inverse_outer
.i3/config
# --- i3bar ---
bar {
status_command i3status
i3bar_command i3bar --transparency
position top
font pango:Fira Code Bold 11
separator_symbol ":|:"
colors {
background #013714b0
statusline #ffffff
separator #6666660a
focused_workspace #4c7899 #285577 #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #333333 #222222 #888888
urgent_workspace #2f343a #900000 #ffffff
binding_mode #2f343a #900000 #ffffff
}
}
.i3status.conf
# --- i3status ---
bindcode $mod+40 exec "rofi -show drun"
Inside .config/rofi/config.rasi
:
configuration {
modi: "drun,ssh,emoji:rofimoji,window";
combi-modi: "drun,ssh,emoji:rofimoji";
}
@theme "glue_pro_blue"
autotiling
(AUR)