This commit is contained in:
Dominic 2025-04-13 18:33:08 -04:00
parent a0bffa0768
commit bd94dd1e36

32
config
View File

@ -28,7 +28,7 @@ exec --no-startup-id dex --autostart --environment i3
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen. # screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock-fancy --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux, # NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it. # and nm-applet is a desktop environment-independent system tray GUI for it.
@ -36,9 +36,9 @@ exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio. # Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && pkill -RTMIN+10 i3blocks
bindsym XF86AudioLowerVolume 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% && pkill -RTMIN+10 i3blocks
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 i3blocks
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Use Mouse+$mod to drag floating windows to their wanted position # Use Mouse+$mod to drag floating windows to their wanted position
@ -203,7 +203,8 @@ bindsym $mod+r mode "resize"
# finds out, if available) # finds out, if available)
bar { bar {
position top position top
status_command i3status --config # status_command i3status --config
status_command i3blocks
colors { colors {
background #2D353B background #2D353B
statusline #FFFFFF statusline #FFFFFF
@ -217,6 +218,10 @@ bar {
} }
} }
# bar {
# status_command i3status --config
# }
# Gaps # Gaps
gaps inner 15 gaps inner 15
gaps outer 15 gaps outer 15
@ -226,10 +231,12 @@ smart_gaps off
focus_follows_mouse no focus_follows_mouse no
# smart logout # smart logout
mode "exit: [l]ogout, [r]eboot, [s]hutdown" { mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown" {
bindsym l exec i3-msg exit bindsym l exec i3-msg exit
bindsym o exec i3lock-fancy exit
bindsym r exec systemctl reboot bindsym r exec systemctl reboot
bindsym s exec systemctl shutdown bindsym s exec systemctl shutdown
@ -240,7 +247,7 @@ mode "exit: [l]ogout, [r]eboot, [s]hutdown" {
} }
bindsym $mod+x mode "exit: [l]ogout, [r]eboot, [s]hutdown" bindsym $mod+x mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown"
# Background # Background
exec_always feh --bg-fill /home/dominic/Pictures/randen.jpg exec_always feh --bg-fill /home/dominic/Pictures/randen.jpg
@ -251,3 +258,14 @@ bindsym $mod+b exec brave-browser
bindsym $mod+f exec nemo bindsym $mod+f exec nemo
bindsym $mod+n exec gnome-terminal -x nvim /mnt/server/shared/notes/ bindsym $mod+n exec gnome-terminal -x nvim /mnt/server/shared/notes/
# Make the currently focused window a scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window
bindsym $mod+minus scratchpad show
# Show the sup-mail scratchpad window, if any.
bindsym mod4+s [title="^Sup ::"] scratchpad show