Skip to content

Commit

Permalink
herbstluftwm theming remove shadows, complimentary color borders, gaps
Browse files Browse the repository at this point in the history
  • Loading branch information
sdothum committed Mar 12, 2016
1 parent d7cfa09 commit aade243
Show file tree
Hide file tree
Showing 12 changed files with 74 additions and 73 deletions.
Binary file modified amphetype/.local/share/Amphetype/typer.db
Binary file not shown.
7 changes: 5 additions & 2 deletions bin/bin/functions/conky/theme
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ hexgen() {
colours $default_color $color0 $color6 $color7 $color8 $color9 $colorA $colorI
}

complimentary () {
conky palette $1 | grep 'Complementary' | head -1 | cut -d/ -f6
}

tmpbackup() {
tmp=$(mktemp).conkyrc
cp -v $conkyrc $tmp
Expand All @@ -156,18 +160,17 @@ case "$action" in
contrast) if [ $# -eq 1 ] ;then
# contrast theme colors
brightness $1 && conky theme light $1 || conky theme dark $1
complimentary $1
fi ;;

light) if [ $# -eq 1 ] ;then
hexgen $(conky palette $1 | grep 'Monochromatic' | cut -d/ -f18)
conky theme paper
echo $default_color
fi ;;

dark) if [ $# -eq 1 ] ;then
hexgen $(conky palette $1 | grep 'Monochromatic' | cut -d/ -f2)
conky theme ink
echo $default_color
fi ;;

test) if [ $# -eq 1 ] ;then
Expand Down
4 changes: 2 additions & 2 deletions compton/ati/.compton.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

## Sometimes a little transparency can soften the edges
active-opacity=1.0;
frame-opacity = 0.20;
frame-opacity = 0.6;
inactive-opacity=1.0;
inactive-opacity-override = false;
menu-opacity=1.0;
shadow-opacity = 0.8;
shadow-opacity = 0.0;
alpha-step = 0.06;
blur-background = false;
blur-background-frame = true;
Expand Down
4 changes: 2 additions & 2 deletions compton/intel/.compton.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

## Sometimes a little transparency can soften the edges
active-opacity=1.0;
frame-opacity = 0.24;
frame-opacity = 0.6;
inactive-opacity=1.0;
inactive-opacity-override = false;
menu-opacity=1.0;
shadow-opacity = 0.8;
shadow-opacity = 0.0;
alpha-step = 0.06;
blur-background = false;
blur-background-frame = true;
Expand Down
4 changes: 2 additions & 2 deletions compton/nvidia/.compton.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

## Sometimes a little transparency can soften the edges
active-opacity=1.0;
frame-opacity = 0.20;
frame-opacity = 0.6;
inactive-opacity=1.0;
inactive-opacity-override = false;
menu-opacity=1.0;
shadow-opacity = 0.8;
shadow-opacity = 0.0;
alpha-step = 0.06;
blur-background = false;
blur-background-frame = true;
Expand Down
8 changes: 4 additions & 4 deletions conky/2560x1600/.conky/conky-rings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

require 'cairo'

COLORING=0xFFFFFF
default_color=0x91948d
color0=0x6c6f69
color6=0x282a27
COLORING=0x000000
default_color=0x4b4c21
color0=0x383918
color6=0x151509

--------------------------------------------------------------------------------
-- clock DATA
Expand Down
48 changes: 24 additions & 24 deletions conky/2560x1600/.conkyrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ xftalpha 0.5
uppercase no

# default_color FFFFFF
default_color 91948d
color0 6c6f69
color1 f0f0f0
color2 c0c0c0
color3 909090
color4 707070
color5 505050
color6 282a27
color7 6c6f69
color8 6c6f69
color9 8e8b92
#colorA 484a46
#colorI 474549
default_color 4b4c21
color0 383918
color1 000000
color2 080808
color3 101010
color4 202020
color5 303030
color6 151509
color7 383918
color8 383918
color9 21214a
#colorA 262611
#colorI 111125

lua_load ~/.conky/conky-rings.lua
lua_draw_hook_post main
Expand Down Expand Up @@ -98,7 +98,7 @@ ${goto 100}${font}${color0}${alignr}${lua_parse null ${mpd_artist}}
${voffset 10}
# display BOTH hwmon temps, one or other will reflect gpu temp
${goto 80}${font Ubuntu:size=18:style=Bold}${color3}SYS ${color2}${font Ubuntu:size=7:style=Bold}${color0}GPU ${alignr}${hwmon 0 temp 1}°C
${goto 100}${loadgraph 25,0 6c6f69 6c6f69}
${goto 100}${loadgraph 25,0 383918 383918}
${voffset -5}${goto 100}${font}${color1}Loadavg ${alignr}${loadavg 1} ${loadavg 2} ${loadavg 3}

${voffset 30}
Expand All @@ -111,7 +111,7 @@ ${goto 100}${font}${color3}${top name 3}${alignr}${top cpu 3}%
${goto 100}${font}${color3}${top name 4}${alignr}${top cpu 4}%
${goto 100}${font}${color3}${top name 5}${alignr}${top cpu 5}%
${goto 100}${font}${color3}${top name 6}${alignr}${top cpu 6}%
${goto 100}${cpugraph 25,0 6c6f69 6c6f69}
${goto 100}${cpugraph 25,0 383918 383918}
${voffset -5}${goto 100}${font}${color1}${threads} processes ${alignr}${cpu cpu0}%
# ${goto 100}${font}${color2}GPU ${alignr}${hwmon 1 temp 1}°C

Expand All @@ -131,25 +131,25 @@ ${voffset 30}
${goto 100}${font Ubuntu:size=7:style=Bold}${color}/boot ${alignr}${exec conky btrfs /}GiB
${goto 100}${font Ubuntu:size=7:style=Bold}${color0}/data ${color}(swap) ${color0}${alignr}${exec conky btrfs /data}GiB
# ${goto 100}${font Ubuntu:size=7:style=Bold}${color0}/Tmp ${alignr}${fs_used /tmp}
${goto 100}${diskiograph 25,0 6c6f69 6c6f69}
${goto 100}${diskiograph 25,0 383918 383918}
${voffset -5}${goto 100}${font}${color1}Disk I/O ${alignr}${lua_parse bandwidth ${diskio}}

${voffset 10}
${goto 80}${font Ubuntu:size=18:style=Bold}${color3}NET${color2}${font Ubuntu:size=7:style=Bold}${color0} eno1 ${alignr}${addr eno1}
${goto 100}${downspeedgraph eno1 25,0 6c6f69 6c6f69}
${voffset -38}${goto 100}${upspeedgraph eno1 25,0 6c6f69 6c6f69}
${goto 100}${downspeedgraph eno1 25,0 383918 383918}
${voffset -38}${goto 100}${upspeedgraph eno1 25,0 383918 383918}
${voffset -5}${goto 100}${font}${color1}Bandwidth ${alignr}${lua_parse bandwidth ${upspeed eno1}}↑ ${lua_parse bandwidth ${downspeed eno1}}↓
#
# ${goto 100}${color2}${font Ubuntu:size=7:style=Bold}${color1}enp10s0 ${alignr}${addr enp10s0}
# ${goto 100}${downspeedgraph enp10s0 25,0 6c6f69 6c6f69}
# ${voffset -38}${goto 100}${upspeedgraph enp10s0 25,0 6c6f69 6c6f69}
# ${goto 100}${downspeedgraph enp10s0 25,0 383918 383918}
# ${voffset -38}${goto 100}${upspeedgraph enp10s0 25,0 383918 383918}
# ${voffset -5}${goto 100}Bandwidth ${alignr}${lua_parse bandwidth ${upspeed enp10s0}}↑ ${lua_parse bandwidth ${downspeed enp10s0}}↓

${voffset 30}
${goto 100}${color2}${font Ubuntu:size=7:style=Bold}${color}${wireless_essid wlp4s0}
${goto 100}${color2}${font Ubuntu:size=7:style=Bold}${color0}wlp4s0 ${alignr}${addr wlp4s0}
${goto 100}${downspeedgraph wlp4s0 25,0 6c6f69 6c6f69}
${voffset -38}${goto 100}${upspeedgraph wlp4s0 25,0 6c6f69 6c6f69}
${goto 100}${downspeedgraph wlp4s0 25,0 383918 383918}
${voffset -38}${goto 100}${upspeedgraph wlp4s0 25,0 383918 383918}
${voffset -5}${goto 100}${font}${color1}Bandwidth ${alignr}${lua_parse bandwidth ${upspeed wlp4s0}}↑ ${lua_parse bandwidth ${downspeed wlp4s0}}↓

${goto 100}${font Ubuntu:size=7:style=Bold}${color1}${alignr}${tcp_portmon 1 65535 count} open ports
Expand All @@ -172,8 +172,8 @@ ${goto 100}${font}${color3}${tcp_portmon 1 65535 rip 14}${alignr 1}${tcp_portmon
${goto 100}${font}${color3}${tcp_portmon 1 65535 rip 15}${alignr 1}${tcp_portmon 1 65535 rport 15}
${goto 100}${font}${color3}${tcp_portmon 1 65535 rip 16}${alignr 1}${tcp_portmon 1 65535 rport 16}
${goto 100}${font}${color3}${tcp_portmon 1 65535 rip 17}${alignr 1}${tcp_portmon 1 65535 rport 17}
${if_match ${tcp_portmon 1 65535 count} 6c6f69 18}${alignr}${color3}• • • ${endif}
${if_match ${tcp_portmon 1 65535 count} 383918 18}${alignr}${color3}• • • ${endif}
# ${goto 100}${font}${color3}${tcp_portmon 1 65535 rip 18}${alignr 1}${tcp_portmon 1 65535 rport 18}
# ${goto 100}${font}${color3}${tcp_portmon 1 65535 rip 19}${alignr 1}${tcp_portmon 1 65535 rport 19}
# ${if_match ${tcp_portmon 1 65535 count} 6c6f69 20}${alignr}${color3}• • • ${endif}
# ${if_match ${tcp_portmon 1 65535 count} 383918 20}${alignr}${color3}• • • ${endif}

10 changes: 5 additions & 5 deletions herbstluftwm/.config/herbstluftwm/config/ENV
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ export TAG_PAD=' '
export DEFAULT_BG='#00000000'
export ACTIVE_BG='#762508'
export INACTIVE_BG='#074B5F'
export DEFAULT_FG='#91948d'
export ACTIVE_FG='#f0f0f0'
export ACTIVE_HIDDEN_FG='#484a46'
export INACTIVE_FG='#8e8b92'
export INACTIVE_HIDDEN_FG='#474549'
export DEFAULT_FG='#4b4c21'
export ACTIVE_FG='#000000'
export ACTIVE_HIDDEN_FG='#262611'
export INACTIVE_FG='#21214a'
export INACTIVE_HIDDEN_FG='#111125'
if [ $CANDY ] ;then
export FREE_FG='#4A4B4E'
export FREE_HIDDEN_FG='#7B7E83'
Expand Down
2 changes: 1 addition & 1 deletion herbstluftwm/.config/herbstluftwm/functions/draw/panel
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ desktops() {
else
format="%{B$DEFAULT_BG}"
[ $visible ] && format="${format}%{F$OCCUPIED_FG}" \
|| format="${format}%{F$FREE_FG}"
|| format="${format}%{F$FREE_FG}"
[ $hidden ] && format="${format}${TAG_PAD}%{U$HIDDEN_FG}%{+u}"
fi
else
Expand Down
2 changes: 1 addition & 1 deletion herbstluftwm/.config/herbstluftwm/functions/draw/root
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ blank() {

color() {
# initialize default link
[ -L $BACKGROUND ] && exists $BACKGROUND || ln -sf $(ls -1 ${BACKGROUND%/default}/*.png | head -1) $BACKGROUND
[ -L $BACKGROUND ] && exists $BACKGROUND || ln -sf $(find ${BACKGROUND%/default} -name '*.png' | head -1) $BACKGROUND
}

select_blank() {
Expand Down
2 changes: 1 addition & 1 deletion herbstluftwm/.config/herbstluftwm/functions/toggle/monocle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if is primary ;then
set -- $(query display)
# really only useful for large displays..
[ $1 -gt 1440 ] && D=2 || D=16
echo "$(( ($1 - $2) / $D ))" >$MONOCLE
echo "$(( ($1 - $2) / $D * 3 / 4 ))" >$MONOCLE
cp -f $MONOCLE $MONOCLE:$tag
fi

Expand Down
56 changes: 27 additions & 29 deletions weechat/.weechat/weechat.conf
Original file line number Diff line number Diff line change
Expand Up @@ -442,37 +442,35 @@ default.window = "9;5;0;0;irc;znc.#archlinux"
4.window = "6;4;0;0;irc;znc.#geekhack"
4.window = "7;3;0;0;irc;znc.#geekhack"
5.buffer = "core;weechat;1"
5.buffer = "python;jabber.jabber.maaike;2"
5.buffer = "python;jabber.server.jabber;3"
5.buffer = "irc;server.rizon;4"
5.buffer = "irc;rizon.#rice;5"
5.buffer = "irc;rizon.*status;6"
5.buffer = "irc;server.znc;7"
5.buffer = "irc;znc.##linux;8"
5.buffer = "irc;znc.##math;9"
5.buffer = "irc;znc.#archlinux;10"
5.buffer = "irc;znc.#archlinux-offtopic;11"
5.buffer = "irc;znc.#bash;12"
5.buffer = "irc;znc.#btrfs;13"
5.buffer = "irc;znc.#darktable;14"
5.buffer = "irc;znc.#deskthority;15"
5.buffer = "irc;znc.#geekhack;16"
5.buffer = "irc;znc.#git;17"
5.buffer = "irc;znc.#github;18"
5.buffer = "irc;znc.#haskell;19"
5.buffer = "irc;znc.#herbstluftwm;20"
5.buffer = "irc;znc.#lesswrong;21"
5.buffer = "irc;znc.#nginx;22"
5.buffer = "irc;znc.#notmuch;23"
5.buffer = "irc;znc.#python;24"
5.buffer = "irc;znc.#qutebrowser;25"
5.buffer = "irc;znc.#ruby;26"
5.buffer = "irc;znc.#vim;27"
5.buffer = "irc;znc.#weechat;28"
5.buffer = "irc;znc.#znc;29"
5.buffer = "python;jabber.server.jabber;2"
5.buffer = "irc;server.rizon;3"
5.buffer = "irc;rizon.#rice;4"
5.buffer = "irc;server.znc;5"
5.buffer = "irc;znc.##linux;6"
5.buffer = "irc;znc.##math;7"
5.buffer = "irc;znc.#archlinux;8"
5.buffer = "irc;znc.#archlinux-offtopic;9"
5.buffer = "irc;znc.#bash;10"
5.buffer = "irc;znc.#btrfs;11"
5.buffer = "irc;znc.#darktable;12"
5.buffer = "irc;znc.#deskthority;13"
5.buffer = "irc;znc.#geekhack;14"
5.buffer = "irc;znc.#git;15"
5.buffer = "irc;znc.#github;16"
5.buffer = "irc;znc.#haskell;17"
5.buffer = "irc;znc.#herbstluftwm;18"
5.buffer = "irc;znc.#lesswrong;19"
5.buffer = "irc;znc.#nginx;20"
5.buffer = "irc;znc.#notmuch;21"
5.buffer = "irc;znc.#python;22"
5.buffer = "irc;znc.#qutebrowser;23"
5.buffer = "irc;znc.#ruby;24"
5.buffer = "irc;znc.#vim;25"
5.buffer = "irc;znc.#weechat;26"
5.buffer = "irc;znc.#znc;27"
5.window = "1;0;50;0;-;-"
5.window = "2;1;50;1;-;-"
5.window = "3;2;0;0;python;jabber.jabber.maaike"
5.window = "3;2;0;0;irc;rizon.#rice"
5.window = "4;2;0;0;irc;rizon.#rice"
5.window = "5;1;33;1;-;-"
5.window = "6;5;50;1;-;-"
Expand Down

0 comments on commit aade243

Please sign in to comment.