diff options
| author | clyhtsuriva <aimeric@adjutor.xyz> | 2026-11-22 22:41:01 +0100 |
|---|---|---|
| committer | clyhtsuriva <aimeric@adjutor.xyz> | 2026-11-22 22:41:01 +0100 |
| commit | 46c421189c121e12d6d6470d7ec51cf6a69e62a6 (patch) | |
| tree | f3a8ca4db72230b310a66f6d512e33c30e15a9ec /dot_config/i3 | |
| parent | fe3d0f91ba06965f5bfa5bf1097209bbea903aed (diff) | |
| download | dotfiles-46c421189c121e12d6d6470d7ec51cf6a69e62a6.tar.gz dotfiles-46c421189c121e12d6d6470d7ec51cf6a69e62a6.tar.bz2 dotfiles-46c421189c121e12d6d6470d7ec51cf6a69e62a6.zip | |
Diffstat (limited to 'dot_config/i3')
| -rw-r--r-- | dot_config/i3/config | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/dot_config/i3/config b/dot_config/i3/config index aa76ecf..7fa1940 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -24,12 +24,20 @@ font pango:monospace 8 # 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. -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --image="$HOME/Pictures/superhot_wpp.png" --show-failed-attemps --nofork +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --image="$HOME/Pictures/superhot_wpp.png" --show-failed-attempts --nofork # 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. #exec --no-startup-id nm-applet +# Session applications +exec --no-startup-id dunst +exec --no-startup-id syncthing --no-browser +exec --no-startup-id xcompmgr + +# Set the bg wallpaper +exec --no-startup-id feh --bg-scale "/home/mas/Pictures/retrowave-pyramid.png" + # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status @@ -195,16 +203,14 @@ bar { } # Power off - X -bindsym $mod+Shift+X exec "i3-nagbar -t error -f fixed -m 'You pressed the shutting shortcut. Do you really eant to shut you computer?' -B 'Yes, shut it.' 'sudo /bin/poweroff'" +bindsym $mod+Shift+X exec "i3-nagbar -t error -f fixed -m 'You pressed the shutting shortcut. Do you really eant to shut you computer?' -B 'Yes, shut it.' 'sudo shutdown -P now'" # Reboot - BackSpace bindsym $mod+Shift+BackSpace exec "i3-nagbar -t error -f fixed -m 'You pressed the restarting shortcut. Do you really eant to restart you computer?' -B 'Yes, restart it.' 'sudo /bin/reboot'" -# Set the bg wallpaper -exec --no-startup-id feh --bg-scale /home/mas/Pictures/retrowave-pyramid.png # Sreen brightness controls -bindsym XF86MonBrightnessUp exec xbacklight -inc 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # increase screen brightness -bindsym XF86MonBrightnessDown exec xbacklight -dec 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # decrease screen brightness +bindsym XF86MonBrightnessUp exec xbacklight -inc 5 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # increase screen brightness +bindsym XF86MonBrightnessDown exec xbacklight -dec 5 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # decrease screen brightness # class border backgr. text indicator child_border client.focused #c583b6 #040217 #d52c70 #F54A94 #c583b6 @@ -219,9 +225,6 @@ client.background #D52C70 bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'i3lock --image=$HOME/Pictures/superhot_wpp.png && sudo /bin/zzz'" bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo /bin/ZZZ'" -# What happens when we hit the power button -bindsym XF86PowerOff exec notify-send -t 5000 "$(date +%H:%M:%S && cat /sys/class/power_supply/BAT0/capacity && pactl get-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo | cut -d' ' -f5-6)" - ######GAPS###### set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) |
