Skip to content

Commit b9ceb8d

Browse files
author
Ox HaK
committed
latest commit
1 parent e6fa279 commit b9ceb8d

File tree

10 files changed

+233
-122
lines changed

10 files changed

+233
-122
lines changed

.Xdefaults

+17-16
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,52 @@ URxvt.keysym.M-v: perl:clipboard:paste
44
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
55
URxvt.url-launcher: firefox
66
URxvt.matcher.button: 1
7-
URxvt.font: xft:droidsansmono:size=14
8-
URxvt.letterSpace: -1
9-
URxvt.lineSpace: 3
7+
URxvt.font: xft:Monaco for Powerline:pixelsize=18:antialias=false
8+
URxvt.boldFont: xft:Monaco for Powerline:bold:pixelsize=18:antialias=false
9+
URxvt.letterSpace: 0
10+
URxvt.lineSpace: 6
1011
urxvt*termName: rxvt
1112
urxvt*scrollBar:false
1213
urxvt*cursorBlink: true
1314
urxvt*cursorUnderline: true
1415
urxvt*cursorColor: #ececec
1516
URxvt.internalBorder: 10
1617
URxvt*saveLines: 12000
17-
18+
1819
urxvt*depth: 32
19-
urxvt.background: [100]#1f1f1f
20-
21-
URxvt*foreground: #ececec
22-
URxvt*background: #ffffff
20+
urxvt.background: [60]#000000
21+
22+
URxvt*foreground: #E8E8E8
23+
URxvt*background: #000000
2324

2425
!! black dark/light
25-
*color0: #121212
26+
*color0: #111111
2627
*color8: #2e3436
27-
28+
2829
!! red dark/light
2930
*color1: #D64541
3031
*color9: #E74C3C
31-
32+
3233
!! green dark/light
3334
*color2: #049372
3435
*color10: #26C281
35-
36+
3637
!! yellow dark/light
3738
*color3: #F7CA18
3839
*color11: #F5D76E
39-
40+
4041
!! blue dark/light
4142
*color4: #4183D7
4243
*color12: #59ABE3
43-
44+
4445
!! magenta dark/light
4546
*color5: #8E44AD
4647
*color13: #9B59B6
47-
48+
4849
!! cyan dark/light
4950
*color6: #6BB9F0
5051
*color14: #89C4F4
51-
52+
5253
!! white dark/light
5354
*color7: #BDC3C7
5455
*color15: #ececec

.config/herbstluftwm/autostart

+64-84
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
#!/bin/bash
2-
#exec /home/oxhak/Scripts/ConkyWeather.sh &
3-
killall compton &
4-
killall conky &
5-
#feh --bg-fill ~/Images/wallpaper.png &
62
killall dzen2 &
3+
killall conky &
74

85
function hc() {
96
herbstclient "$@"
107
}
118

129
hc emit_hook reload
1310

14-
15-
hsetroot -solid '#1f1f1f'
16-
1711
# remove all existing keybindings
1812
hc keyunbind --all
1913

@@ -84,117 +78,103 @@ hc keybind $Mod-Shift-j shift down
8478
hc keybind $Mod-Shift-k shift up
8579
hc keybind $Mod-Shift-l shift right
8680

87-
#Screenshot
81+
#Screenshot
8882
hc keybind Print spawn ~/.config/herbstluftwm/screenshot.sh
8983

9084
#Dmenu
9185
hc keybind $Mod-F2 spawn dmenu_run -b -i #-nb '#729FCF' -nf '#888888' -sb '#FFFF84' -sf '#1e1e1e'
9286

9387
# colors
94-
hc set frame_border_active_color '#2b2b2b'
95-
hc set frame_border_normal_color '#2b2b2b'
96-
hc set frame_bg_normal_color '#1f1f1f'
97-
hc set frame_bg_active_color '#1f1f1f'
98-
hc set frame_active_opacity 100
99-
hc set frame_normal_opacity 100
88+
hc set frame_border_active_color '#000000'
89+
hc set frame_border_normal_color '#000000'
90+
hc set frame_bg_normal_color '#000000'
91+
hc set frame_bg_active_color '#000000'
92+
hc set frame_active_opacity 60
93+
hc set frame_normal_opacity 60
10094
hc set frame_border_width 4
10195
hc set window_border_width 0
10296
hc set window_border_inner_width 0
103-
hc set window_border_normal_color '#2b2b2b'
104-
hc set window_border_active_color '#2b2b2b'
97+
hc set window_border_normal_color '#000000'
98+
hc set window_border_active_color '#000000'
10599
hc set frame_gap 8
106100
hc set always_show_frame 1
107101
hc set frame_bg_transparent 0
108-
# add overlapping window borders
102+
# add overlapping window borders
109103
hc set window_gap 0
110104
hc set frame_padding 0
111105
hc set smart_window_surroundings 0
112106
hc set smart_frame_surroundings 0
113107
hc set mouse_recenter_gap 0
114108

115-
116-
# rules
109+
#rules
117110
hc unrule -F
118-
#hc rule class=XTerm tag=3 # move all xterms to tag 3
119-
#hc rule class=Vlc tag=1..20
120111
hc rule focus=off # normally do not focus new clients
121-
# give focus to most common terminals
122112
hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on
123-
#hc rule class~'Firefox' tag=1
124113
hc rule class~'Steam' tag=steam
125114
hc rule class~'Thunderbird' tag=mail
126115
hc rule class~'Vlc' tag=vlc
127-
#hc rule class~'Vlc' tag=video
128-
#hc rule class~'Conky' tag=visible
116+
hc rule instance=Dialog pseudotile=on
129117
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' floating=on pseudotile=on
130-
#hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' manage=off
131-
#hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on
132118
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off
133-
#hc rule title=vlc-video-float manage=off class=MPlayer tag=visible
134-
#hc rule title=conkyfloat tag=test
135-
136119
hc rule title=ConkyFloatGraphs manage⁼off
137-
138-
#hc rule title='Popcorn Time' tag=video focus=off
120+
hc rule title=mplayer-video tag=video focus=off
121+
hc rule title=mplayer-video-ext tag=streamext focus=off fullscreen=on
122+
hc rule title=mplayer-video-tv tag=streamtv focus=off fullscreen=on
139123
hc rule title=vlc-video-float tag=video focus=off
124+
hc rule title=vlctv tag=tv focus=off fullscreen=on
125+
hc rule title=vlcext tag=vlcvideoext focus=on fullscreen=on
140126
hc rule title=twitter-float tag=twitter focus=off
141127
hc rule title=tvterm tag=tv focus=off
142-
hc rule class~'ProjectM-pulseaudio' tag=tv
143-
144-
# unlock, just to be sure
145-
#hc unlock
128+
hc rule title=extterm tag=ext focus=off
129+
hc rule title=plugin-container fullscreen=on focus=on
146130

131+
#tree
147132
herbstclient set tree_style '╾│ ├└╼─┐'
148133

149-
# do multi monitor setup here, e.g.:
150-
# hc set_monitors 1280x1024+0+0 1280x1024+1280+0
151-
# or simply:
152-
#hc detect_monitors
153-
#hc set_monitors 1920x1080+0+0 1920x1080+0+0
154-
hc set_monitors 1920x1080+0+0 1920x1080+0+0 1920x1080+0+0 #1920x1080+1920+0
155-
156-
hc chain , add video
157-
hc focus_monitor 1
158-
hc use video
159-
hc lock_tag video
160-
161-
hc chain , add twitter
162-
hc focus_monitor 2
163-
hc use twitter
164-
hc lock_tag twitter
165-
166-
#hc chain , add tv
167-
#hc focus_monitor 3
168-
#hc use tv
169-
#hc lock_tag tv
170-
171-
hc focus_monitor 0
172-
hc use term
173-
174-
# find the panel
175-
#herbstclient pad $(herbstclient list_monitors | cut -d: -f1) 80 460 0 0;
176-
herbstclient pad 0 17 338 17 -6;
177-
herbstclient pad 1 17 -6 854 1573;
178-
herbstclient pad 2 217 -6 17 1573;
134+
#monitors
135+
hc set_monitors 1920x1080+0+0
136+
hc pad 0 25 343 25 0
137+
138+
hc add twitter
139+
hc add_monitor 352x1030+1568+25 twitter maintwitter
140+
hc lock_tag maintwitter
141+
142+
#other reals monitors
179143

144+
#hc add ext
145+
#hc add_monitor 1366x768+1920+0 ext mainext
146+
#hc pad mainext 0 0 25 0
147+
148+
#hc add tv
149+
#hc add_monitor 1920x1080+3286+0 tv maintv
150+
#hc pad maintv 0 0 25 0
151+
152+
153+
#panels
154+
155+
#conky panel
180156
panel=~/.config/herbstluftwm/panel.sh
181-
$panel 0 &
182-
#[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh
183-
#for monitor in $(herbstclient list_monitors | cut -d: -f1); do
184-
# start it on each monitor
185-
# $panel $monitor &
186-
#done
187-
188-
#panel2=~/.config/herbstluftwm/panel2.sh
189-
#[ -x "$panel2" ] || panel=/etc/xdg/herbstluftwm/panel.sh
190-
#for monitor in $(herbstclient list_monitors | cut -d: -f1); do
191-
# start it on each monitor
192-
# $panel2 $monitor &
193-
#done
157+
$panel 0
158+
159+
#list app panel
194160
panel2=~/.config/herbstluftwm/panel2.sh
195-
$panel2 0 &
161+
$panel2 0
162+
163+
#others real monitors panels
164+
165+
#panel3=~/.config/herbstluftwm/panel3.sh
166+
#$panel3 3
167+
168+
#panel4=~/.config/herbstluftwm/panel4.sh
169+
#$panel4 4
170+
171+
#transparency panels
172+
sleep 1 &&
173+
exec `(transset-df .8 -n dzentop >/dev/null 2>&1 &)` &
174+
sleep 1 &&
175+
exec `(transset-df .8 -n dzenbottom >/dev/null 2>&1 &)` &
196176

197-
sleep 1
198-
compton --backend glx &
199-
#transset-df .8 -n dzenbottom &
200-
#transset-df .8 -n dzentop &
177+
#sleep 1 &&
178+
#exec `(transset-df .8 -n dzentv >/dev/null 2>&1 &)` &
179+
#sleep 1 &&
180+
#exec `(transset-df .8 -n dzenext >/dev/null 2>&1 &)` &

.config/herbstluftwm/panel.sh

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

33
## dzen stuff
4-
FG='#FFFFFF'
5-
BG='#1f1f1f'
4+
FG='#E8E8E8'
5+
BG='#000000'
66
FONT="-*-terminus-normal-*-*-*-13-*-*-*-*-*-*-*"
77

88
function uniq_linebuffered() {
@@ -18,7 +18,7 @@ function uniq_linebuffered() {
1818
herbstclient --idle
1919
kill $childpid
2020
} | {
21-
TAGS=( $(herbstclient tag_status $monitor) )
21+
TAGS=( $(herbstclient tag_status $monitor) )
2222
conky=""
2323
while true; do
2424
for i in "${TAGS[@]}" ; do
@@ -30,7 +30,8 @@ function uniq_linebuffered() {
3030
done
3131
conky_text_only=$(echo -n "$conky "|sed 's.\^[^(]*([^)]*)..g')
3232
width=$(textwidth "$FONT" "$conky_text_only ")
33-
echo -n " ^bg(#2b2b2b) ^bg(#1f1f1f)^fg(#ececec) $conky ^bg(#2b2b2b) ^bg(#1f1f1f)"
33+
# echo -n " ^bg(#2b2b2b) ^bg(#1f1f1f)^fg(#ececec) $conky ^bg(#2b2b2b) ^bg(#1f1f1f)"
34+
echo -n " ^bg(#000000) ^bg(#000000)^fg(#E8E8E8) $conky ^bg(#000000) ^bg(#000000)"
3435
echo
3536
read line || break
3637
cmd=( $line )
@@ -40,4 +41,4 @@ function uniq_linebuffered() {
4041
;;
4142
esac
4243
done
43-
} 2> /dev/null | dzen2 -ta c -y 0 -x 0 -h 25 -w 1920 -fg $FG -bg $BG -fn $FONT -title-name dzentop -e 'button2=;' &
44+
} 2> /dev/null | dzen2 -ta c -y 0 -x 0 -h 25 -w 1920 -fg $FG -bg $BG -fn $FONT -title-name dzentop -e 'button2=;' &

.config/herbstluftwm/panel2.sh

+13-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

33
## dzen stuff
4-
FG='#FFFFFF'
5-
BG='#1f1f1f'
4+
FG='#E8E8E8'
5+
BG='#000000'
66
FONT="-*-terminus-normal-*-*-*-14-*-*-*-*-*-*-*"
77

88
function uniq_linebuffered() {
@@ -18,40 +18,43 @@ function uniq_linebuffered() {
1818
herbstclient --idle
1919
kill $childpid
2020
} | {
21-
TAGS=( $(herbstclient tag_status 0) )
21+
TAGS=( $(herbstclient tag_status 0) )
2222
conky=""
23-
2423
while true; do
2524
for i in "${TAGS[@]}" ; do
2625
echo -n "^ca(1,herbstclient use ${i:1})"
2726
case ${i:0:1} in
27+
'%')
28+
#echo -n " ^bg(#178FD1) ^bg(#c3c3cc)^fg(#0A0A0A) ➜ ${i:1} ^bg(#178FD1) ^bg(#0A0A0A)"
29+
;;
2830
'-')
2931
#echo -n " ^bg(#178FD1) ^bg(#c3c3cc)^fg(#0A0A0A) ➜ ${i:1} ^bg(#178FD1) ^bg(#0A0A0A)"
3032
;;
3133
'#')
32-
echo -n " ^bg(#2b2b2b) ^bg(#049372)^fg(#ffffff) ➜ ${i:1} ^bg(#2b2b2b) ^bg(#1f1f1f)"
34+
echo -n " ^bg(#000000) ^bg(#000000)^fg(#E8E8E8) ➜ ${i:1} ^bg(#000000) ^bg(#000000)"
3335
;;
3436
':')
35-
echo -n " ^bg(#2b2b2b) ^bg(#1f1f1f)^fg(#ececec) ${i:1} ^bg(#2b2b2b) ^bg(#1f1f1f)"
37+
echo -n " ^bg(#000000) ^bg(#000000)^fg(#E8E8E8) ${i:1} ^bg(#000000) ^bg(#000000)"
3638
;;
3739
'!')
38-
echo -n " ^bg(#2b2b2b) ^bg(#8E44AD)^fg(#ffffff) • ${i:1} ^bg(#2b2b2b) ^bg(#1f1f1f)"
40+
echo -n " ^bg(#000000) ^bg(#000000)^fg(#E8E8E8) • ${i:1} ^bg(#000000) ^bg(#000000)"
3941
;;
4042
*)
41-
echo -n " ^bg(#2b2b2b) ^bg(#1f1f1f)^fg(#ececec) ${i:1} ^bg(#2b2b2b) ^bg(#1f1f1f)"
43+
echo -n " ^bg(#000000) ^bg(#000000)^fg(#E8E8E8) ${i:1} ^bg(#000000) ^bg(#000000)"
4244
;;
4345

4446

4547
esac
4648
echo -n "^ca()"
4749
done
50+
4851
echo
4952
read line || break
5053
cmd=( $line )
5154
case "$cmd[0]" in
5255
tag*)
53-
TAGS=( $(herbstclient tag_status 0) )
56+
TAGS=( $(herbstclient tag_status 0) )
5457
;;
5558
esac
5659
done
57-
} 2> /dev/null | dzen2 -ta c -y 1055 -h 25 -w 1920 -fg $FG -bg $BG -fn $FONT -title-name dzenbottom -e 'button2=;' &
60+
} 2> /dev/null | dzen2 -ta c -y 1055 -h 25 -w 1920 -fg $FG -bg $BG -fn $FONT -title-name dzenbottom -e 'button2=;' &

0 commit comments

Comments
 (0)