From 2f4ae46af302ca41fc2a5bbb453b2ecf78f2e903 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Wed, 29 Apr 2020 23:00:14 +0530 Subject: nice --- spectrwm/.config/spectrwm/spectrwm.conf | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'spectrwm') diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 40738ca..62709ad 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf @@ -105,11 +105,10 @@ program[term] = urxvtc program[menu] = ~/bin/menu program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' -program[soundinc] = amixer set Master 5%+ -program[sounddec] = amixer set Master 5%- -program[soundmute] = amixer set Master toggle +program[soundinc] = pulsemixer --change-volume +5 +program[sounddec] = pulsemixer --change-volume -5 +program[soundmute] = pulsemixer --toggle-mute program[shut] = ~/.local/bin/shut -program[scrot] = scrot # program[search] = dmenu $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected # program[name_workspace] = dmenu $dmenu_bottom -p Workspace -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected @@ -123,11 +122,10 @@ bind[soundinc] = XF86AudioRaiseVolume bind[sounddec] = XF86AudioLowerVolume bind[soundmute] = XF86AudioMute bind[shut] = MOD+x -bind[scrot] = Print # Optional default programs that will only be validated if you override: -# program[screenshot_all] = screenshot.sh full # optional -# program[screenshot_wind] = screenshot.sh window # optional +program[screenshot_all] = screenshot full # optional +program[screenshot_wind] = screenshot window # optional # program[initscr] = initscreen.sh # optional # EXAMPLE: Define 'firefox' action and bind to key. -- cgit v1.2.3