summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-05-27 21:01:55 +0000
committerShubham Saini <shubham6405@gmail.com>2020-05-27 21:01:55 +0000
commitb89155ad0f7fe2810035043bfee4047586f64de4 (patch)
treeaf4025fdabaeed4780bf1a7cd36b6d24356077df
parent89d9ff92b35e4c04b02f0596141e0224c9fcee03 (diff)
added cmus to spectr
-rw-r--r--spectrwm/.config/spectrwm/spectrwm.conf19
-rw-r--r--x/.xinitrc12
2 files changed, 18 insertions, 13 deletions
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf
index 62709ad..87efc30 100644
--- a/spectrwm/.config/spectrwm/spectrwm.conf
+++ b/spectrwm/.config/spectrwm/spectrwm.conf
@@ -38,8 +38,8 @@ bar_color[1] = black
38bar_color_selected[1] = rgb:00/80/80 38bar_color_selected[1] = rgb:00/80/80
39bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73 39bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73
40bar_font_color_selected = black 40bar_font_color_selected = black
41bar_font = Hermit:size=9 41bar_font = Hermit:size=9.5
42bar_action = ~/.local/bin/statusbar 42bar_action = ~/.config/spectrwm/statusbar
43bar_action_expand = 1 43bar_action_expand = 1
44bar_justify = left 44bar_justify = left
45#bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+4<+V 45#bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+4<+V
@@ -66,10 +66,9 @@ urgent_enabled = 1
66# region = screen[1]:1280x1024+1280+0 66# region = screen[1]:1280x1024+1280+0
67 67
68# Launch applications in a workspace of choice 68# Launch applications in a workspace of choice
69autorun = ws[1]:urxvtd
70autorun = ws[1]:~/.fehbg 69autorun = ws[1]:~/.fehbg
71autorun = ws[1]:picom 70autorun = ws[1]:picom
72autorun = ws[2]:firefox 71autorun = ws[2]:firefox-bin
73autorun = ws[1]:~/bin/xss 72autorun = ws[1]:~/bin/xss
74autorun = ws[1]:~/.local/bin/bat_check.sh 73autorun = ws[1]:~/.local/bin/bat_check.sh
75 74
@@ -101,14 +100,17 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf
101 100
102# Validated default programs: 101# Validated default programs:
103program[lock] = xset s activate 102program[lock] = xset s activate
104program[term] = urxvtc 103program[term] = st
105program[menu] = ~/bin/menu 104program[menu] = ~/bin/menu
106program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' 105program[bup] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done'
107program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' 106program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done'
108program[soundinc] = pulsemixer --change-volume +5 107program[soundinc] = pulsemixer --change-volume +5
109program[sounddec] = pulsemixer --change-volume -5 108program[sounddec] = pulsemixer --change-volume -5
110program[soundmute] = pulsemixer --toggle-mute 109program[soundmute] = pulsemixer --toggle-mute
111program[shut] = ~/.local/bin/shut 110program[shut] = ~/.local/bin/shut
111program[pnext] = cmus-remote -n
112program[pprev] = cmus-remote -r
113program[pplay] = cmus-remote -u
112# 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 114# 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
113# 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 115# 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
114 116
@@ -122,6 +124,9 @@ bind[soundinc] = XF86AudioRaiseVolume
122bind[sounddec] = XF86AudioLowerVolume 124bind[sounddec] = XF86AudioLowerVolume
123bind[soundmute] = XF86AudioMute 125bind[soundmute] = XF86AudioMute
124bind[shut] = MOD+x 126bind[shut] = MOD+x
127bind[pnext] = XF86AudioNext
128bind[pprev] = XF86AudioPrev
129bind[pplay] = XF86AudioPlay
125 130
126# Optional default programs that will only be validated if you override: 131# Optional default programs that will only be validated if you override:
127program[screenshot_all] = screenshot full # optional 132program[screenshot_all] = screenshot full # optional
diff --git a/x/.xinitrc b/x/.xinitrc
index 66ae948..d87cc5d 100644
--- a/x/.xinitrc
+++ b/x/.xinitrc
@@ -2,10 +2,10 @@
2#.xinitrc 2#.xinitrc
3xset b off & 3xset b off &
4xset s 600 & 4xset s 600 &
5~/bin/xss & 5# ~/bin/xss &
6~/.fehbg & 6# ~/.fehbg &
7~/bin/batcheck & 7# ~/bin/batcheck &
8picom 2>/dev/null & 8# picom 2>/dev/null &
9dwmbar & 9# dwmbar &
10 10
11exec dbus-launch --exit-with-session startdwm 11exec dbus-launch --exit-with-session spectrwm