From 04eaf5c25193ba74c1613c958015f47e2b896e50 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 20 Apr 2020 12:04:27 +0530 Subject: mass changes --- spectrwm/.config/spectrwm/keybindings.conf | 2 +- spectrwm/.config/spectrwm/spectrwm.conf | 38 ++++++++++++++++++++++-------- 2 files changed, 29 insertions(+), 11 deletions(-) (limited to 'spectrwm') diff --git a/spectrwm/.config/spectrwm/keybindings.conf b/spectrwm/.config/spectrwm/keybindings.conf index d736a07..8635a11 100644 --- a/spectrwm/.config/spectrwm/keybindings.conf +++ b/spectrwm/.config/spectrwm/keybindings.conf @@ -14,7 +14,7 @@ bind[focus_prev] = MOD+Shift+Tab bind[focus_urgent] = MOD+u bind[height_grow] = MOD+Shift+equal bind[height_shrink] = MOD+Shift+minus -bind[iconify] = MOD+x +#bind[iconify] = MOD+x bind[initscr] = MOD+Shift+i bind[lock] = MOD+Shift+Delete bind[master_add] = MOD+comma diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 0046444..8f3a125 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf @@ -18,8 +18,8 @@ color_focus = red color_focus_maximized = yellow color_unfocus = rgb:88/88/88 color_unfocus_maximized = rgb:88/88/00 -region_padding = 6 -tile_gap = 6 +region_padding = 10 +tile_gap = 10 # Region containment # Distance window must be dragged/resized beyond the region edge before it is @@ -36,16 +36,18 @@ bar_border[1] = rgb:00/80/80 bar_border_unfocus[1] = rgb:00/40/40 bar_color[1] = black bar_color_selected[1] = rgb:00/80/80 -bar_font_color[1] = rgb:a0/a0/a0 +bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73, rgb:5e/5e/5e bar_font_color_selected = black bar_font = Hermit:size=9 -# bar_action = baraction.sh +bar_action = ~/.local/bin/statusbar +bar_action_expand = 1 bar_justify = left -bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+4<+V +#bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+4<+V +bar_format = +|L+1<+L +@fg=2;+C+@fg=0; +|R+A workspace_indicator = listcurrent,listactive,markcurrent,printnames bar_at_bottom = 0 -stack_enabled = 1 -clock_enabled = 1 +stack_enabled = 0 +clock_enabled = 0 clock_format = %a %b %d %R %Z %Y iconic_enabled = 0 maximize_hide_bar = 0 @@ -64,8 +66,12 @@ urgent_enabled = 1 # region = screen[1]:1280x1024+1280+0 # Launch applications in a workspace of choice -#autorun = ws[1]:urxvtd +autorun = ws[1]:urxvtd autorun = ws[1]:~/.fehbg +autorun = ws[1]:picom +autorun = ws[2]:firefox +autorun = ws[1]:~/bin/xss +autorun = ws[1]:~/.local/bin/bat_check.sh # Customize workspace layout at start # layout = ws[1]:4:0:0:0:vertical @@ -94,9 +100,15 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf # PROGRAMS # Validated default programs: -# program[lock] = xlock +program[lock] = xset s activate program[term] = urxvtc -program[menu] = dmenu_run -nb $bar_color -nf $bar_font_color -sb $bar_border -sf darkgray -fn "Hermit:size=10" +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[shut] = ~/.local/bin/shut # 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 @@ -104,6 +116,12 @@ program[menu] = dmenu_run -nb $bar_color -nf $bar_font_color -sb $bar_border -s # bind[] = MOD+Shift+Delete # disable lock # bind[] = MOD+Shift+Return # disable term # bind[] = MOD+p # disable menu +bind[bup] = XF86MonBrightnessUp +bind[bdown] = XF86MonBrightnessDown +bind[soundinc] = XF86AudioRaiseVolume +bind[sounddec] = XF86AudioLowerVolume +bind[soundmute] = XF86AudioMute +bind[shut] = MOD+x # Optional default programs that will only be validated if you override: # program[screenshot_all] = screenshot.sh full # optional -- cgit v1.2.3