dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 16f2997b9a5c41e527263e38d62f661488ef22ff
parent 22a4a44bd5e67ce52fbf9e09f81ac67c409fe597
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Tue, 17 Sep 2019 02:50:37 -0400

i3: config updates

Former-commit-id: 7329c91d31c58f6dd72c0b483b59138cc717523e
Diffstat:
Mi3/config | 55++++++++++++++++++++++++++++---------------------------
1 file changed, 28 insertions(+), 27 deletions(-)

diff --git a/i3/config b/i3/config @@ -1,10 +1,3 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - # i3 config file (v4) # # Please see https://i3wm.org/docs/userguide.html for a complete reference! @@ -12,7 +5,9 @@ exec --no-startup-id compton --config ~/.config/compton/config -b exec_always --no-startup-id feh --bg-fill "/home/zeroalpha/Pictures/Backgrounds/dark.jpg" exec_always --no-startup-id ~/.config/polybar/polybar.sh & - +exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-xsettings +exec_always --no-startup-id gnome-power-manager +exec --no-startup-id gnome-flashback set $mod Mod4 @@ -41,7 +36,7 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+q kill # start dmenu (a program launcher) -bindsym $mod+r exec --no-startup-id dmenu_run +bindsym $mod+r exec --no-startup-id PATH=~/.bin:~/.scripts:$PATH dmenu_run bindsym $mod+shift+a exec --no-startup-id i3-dmenu-desktop # There also is the (new) i3-dmenu-desktop which only displays applications @@ -152,34 +147,29 @@ mode "resize" # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt + bindsym h resize shrink width 5 px or 5 ppt + bindsym j resize grow height 5 px or 5 ppt + bindsym k resize shrink height 5 px or 5 ppt + bindsym l resize grow width 5 px or 5 ppt + bindsym Shift+h resize shrink width 1 px or 1 ppt + bindsym Shift+j resize grow height 1 px or 1 ppt + bindsym Shift+k resize shrink height 1 px or 1 ppt + bindsym Shift+l resize grow width 1 px or 1 ppt # # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" - bindkym Escape mode "default" + bindsym Escape mode "default" } bindsym Mod1+r mode "resize" -bindsym --release Print exec scrot '%Y-%m-%d-%H-%M-%S_$wx$h.png' -e 'mv $f ~/Pictures/Screenshots' - new_window pixel 0 for_window [class=".*"] border pixel 1 gaps inner 15 gaps outer 0 -smart_gaps on -smart_borders on - -bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+ unmute -bindsym XF86AudioLowerVolume exec amixer -q set Master 5%- unmute -bindsym XF86AudioMute exec amixer -q set Master mute -bindsym XF86AudioPlay exec playerctl play-pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous +#smart_gaps on +#smart_borders on bindsym $mod+Mod1+XF86Eject exec i3lock -i ~/Pictures/Backgrounds/dark-lock.jpg @@ -220,5 +210,16 @@ mode "$mode_gaps_outer" { bindsym Return mode "default" bindsym Escape mode "default" } -bindsym XF86MonBrightnessUp exec xbacklight -inc 20; # increase screen brightness -bindsym XF86MonBrightnessDown exec xbacklight -dec 20; # decre +# Pulse Audio controls +# bindsym XF86AudioRaiseVolume exec --no-startup-id /usr/bin/pactl set-sink-volume 0 +5% #increase sound volume +# bindsym XF86AudioLowerVolume exec --no-startup-id /usr/bin/pactl set-sink-volume 0 -5% #decrease sound volume +# bindsym XF86AudioMute exec --no-startup-id /usr/bin/pactl set-sink-mute 0 toggle # mute sound + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec /home/zeroalpha/.dotfiles/scripts/xrandr-brightness up +bindsym XF86MonBrightnessDown exec /home/zeroalpha/.dotfiles/scripts/xrandr-brightness down +# Media player controls +# bindsym XF86AudioPlay exec playerctl play +# bindsym XF86AudioPause exec playerctl pause +# bindsym XF86AudioNext exec playerctl next +# bindsym XF86AudioPrev exec playerctl previous