dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 5eedeb66cc5fbb8108a0f74fd0dc1ab5978b826e
parent e593be00e108403a142ae31da2153fa6fd9cea8b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  9 Jan 2019 17:18:11 +0100

Define mixer control in variables

Diffstat:
Mlinks/.config/i3/config | 17+++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/links/.config/i3/config b/links/.config/i3/config @@ -10,6 +10,10 @@ set $stoprec --no-startup-id dmenurecord kill set $shutdown sudo -A shutdown -h now set $reboot sudo -A reboot set $netrefresh --no-startup-id sudo -A systemctl restart NetworkManager +set $audiomixer pulsemixer +set $volup --unmute --change-volume +3 +set $voldown --unmute --change-volume -3 +set $volmute --toggle-mute set $work1 1 set $work2 2 @@ -80,7 +84,7 @@ bindsym $mod+space exec dmenu_run -nb \#222222 -nf \#888888 -sb \#333333 -sf \#f bindsym $modalt+space exec gducksearch bindsym $mod+Tab focus mode_toggle -bindsym $mod+a exec $term -e pulsemixer +bindsym $mod+a exec $term -e $audiomixer bindsym $mod+b exec $term -e gboard ~/doc bindsym $mod+c exec $term -e calcurse #bindsym $mod+Shift+c exec $term -e ggoogle-cloud-lamps-instance1-ssh.sh @@ -124,9 +128,9 @@ bindsym $mod+F10 exec --no-startup-id dmenuumount bindsym XF86Launch1 exec --no-startup-id xrandr --output LVDS1 --auto --scale 1.0x1.0 && wallpaper.sh bindsym XF86KbdBrightnessDown exec --no-startup-id kbd_backlight.sh down bindsym XF86KbdBrightnessUp exec --no-startup-id kbd_backlight.sh up -bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --unmute --change-volume +3 && pkill -RTMIN+4 i3blocks -bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --unmute --change-volume -3 && pkill -RTMIN+4 i3blocks -bindsym XF86AudioMute exec --no-startup-id pulsemixer --toggle-mute && pkill -RTMIN+4 i3blocks +bindsym XF86AudioRaiseVolume exec --no-startup-id $audiomixer $volup && pkill -RTMIN+4 i3blocks +bindsym XF86AudioLowerVolume exec --no-startup-id $audiomixer $voldown && pkill -RTMIN+4 i3blocks +bindsym XF86AudioMute exec --no-startup-id $audiomixer $volmute && pkill -RTMIN+4 i3blocks bindsym XF86ScreenSaver exec --no-startup-id xlock bindsym XF86Sleep exec --no-startup-id zzz @@ -203,7 +207,6 @@ bindsym $mod+Shift+o exec --no-startup-id i3resize right bar { status_command i3blocks -c ~/.config/i3/i3blocks position top - #position bottom mode dock workspace_buttons yes @@ -211,7 +214,7 @@ bar { background $darkblack statusline $darkwhite - separator $cyan + separator $cyan # colorclass <border> <backgr.> <text> focused_workspace $blue $darkblue $darkblack @@ -221,11 +224,9 @@ bar { } } - # auto-start programs exec --no-startup-id unclutter exec --no-startup-id dunst exec --no-startup-id compton exec --no-startup-id calcurse --daemon exec --no-startup-id gcalcurse_reminders.py 15 -#exec --no-startup-id xcompmgr