2012-10-27 01:49:06
This commit is contained in:
parent
6620ffe3cb
commit
9a1e648e29
4 changed files with 22 additions and 15 deletions
|
@ -27,5 +27,4 @@ use_spacer right
|
||||||
|
|
||||||
TEXT
|
TEXT
|
||||||
${voffset 20}${color EAEAEA}${font Philosopher:pixelsize=120}${time %H:%M}${font}${voffset -77}${offset 10}${color1}${font Philosopher:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font Philosopher:pixelsize=22}${time %B} ${time %Y}${font}${voffset 27}${font Philosopher:pixelsize=58}${offset -173}${time %A}${font}
|
${voffset 20}${color EAEAEA}${font Philosopher:pixelsize=120}${time %H:%M}${font}${voffset -77}${offset 10}${color1}${font Philosopher:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font Philosopher:pixelsize=22}${time %B} ${time %Y}${font}${voffset 27}${font Philosopher:pixelsize=58}${offset -173}${time %A}${font}
|
||||||
${voffset 3}${offset 10}${font Ubuntu:pixelsize=13}${color1}ROOT $color${fs_used_perc /}%${offset 12}${color1}HOME $color${fs_used_perc /home}%${offset 12}${color1}RAM $color$memperc%${offset 12}${color1}LOAD $color${loadavg 1}${offset 12}${color1}BAT $color${smapi_bat_perc 0}% ${smapi bat 0 state} ${offset 12}${color1}TMP $color${acpitemp}°C
|
${voffset 3}${offset 10}${font Ubuntu:pixelsize=13}${color1}ROOT $color${fs_used_perc /}%${offset 12}${color1}HOME $color${fs_used_perc /home}%${offset 12}${color1}RAM $color$memperc%${offset 12}${color1}LOAD $color${loadavg 1} ${offset 12}${color1}TMP $color${acpitemp}°C
|
||||||
${voffset 3}${offset 10}${mpd_smart}
|
|
||||||
|
|
|
@ -136,10 +136,10 @@ grab "W-S-s", :WindowStick
|
||||||
grab "W-equal", :WindowZaphod
|
grab "W-equal", :WindowZaphod
|
||||||
|
|
||||||
# Raise window
|
# Raise window
|
||||||
grab "W-r", :WindowRaise
|
grab "W-plus", :WindowRaise
|
||||||
|
|
||||||
# Lower window
|
# Lower window
|
||||||
grab "W-l", :WindowLower
|
grab "W-minus", :WindowLower
|
||||||
|
|
||||||
# Select next windows
|
# Select next windows
|
||||||
grab "W-Left", :WindowLeft
|
grab "W-Left", :WindowLeft
|
||||||
|
@ -174,6 +174,7 @@ grab "W-c", [ :bottom_right, :bottom_right66, :bottom_right33 ]
|
||||||
|
|
||||||
# Exec programs
|
# Exec programs
|
||||||
grab "W-Return", "urxvt"
|
grab "W-Return", "urxvt"
|
||||||
|
grab "W-l", "i3lock -i ~/pics/screensaver.png -p win"
|
||||||
grab "W-p" do
|
grab "W-p" do
|
||||||
Subtle::Contrib::Launcher.run
|
Subtle::Contrib::Launcher.run
|
||||||
end
|
end
|
||||||
|
|
|
@ -32,16 +32,22 @@ end
|
||||||
|
|
||||||
# Style for the all views
|
# Style for the all views
|
||||||
style :views do
|
style :views do
|
||||||
foreground "#757575"
|
foreground "#757575"
|
||||||
|
border_top C[:brown], 1
|
||||||
|
border_bottom C[:brown], 1
|
||||||
|
padding_top -2
|
||||||
|
padding_bottom -2
|
||||||
|
|
||||||
# Style for the active views
|
# Style for the active views
|
||||||
style :focus do
|
style :focus do
|
||||||
foreground C[:orange]
|
foreground C[:orange]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Style for urgent window titles and views
|
# Style for urgent window titles and views
|
||||||
style :urgent do
|
style :urgent do
|
||||||
foreground C[:red]
|
foreground C[:red]
|
||||||
|
border_top C[:mild_orange], 2
|
||||||
|
border_bottom C[:mild_orange], 2
|
||||||
end
|
end
|
||||||
|
|
||||||
# Style for occupied views (views with clients)
|
# Style for occupied views (views with clients)
|
||||||
|
|
|
@ -22,20 +22,21 @@ Subtle::Contrib::Launcher.fonts = [
|
||||||
|
|
||||||
C = {
|
C = {
|
||||||
:orange => "#FD971F",
|
:orange => "#FD971F",
|
||||||
|
:mild_orange => "#A36D2E",
|
||||||
:brown => "#2D2815",
|
:brown => "#2D2815",
|
||||||
:red => "#F92672",
|
:red => "#F92672",
|
||||||
:yellow => "#FECF35",
|
:yellow => "#FECF35",
|
||||||
:green => "#A6E22E"
|
:green => "#A6E22E"
|
||||||
}
|
}
|
||||||
|
|
||||||
eval(IO.read('/home/nk/.config/subtle/options.rb'), binding)
|
load_config 'options.rb'
|
||||||
eval(IO.read('/home/nk/.config/subtle/gravities.rb'), binding)
|
load_config 'gravities.rb'
|
||||||
eval(IO.read('/home/nk/.config/subtle/styles.rb'), binding)
|
load_config 'styles.rb'
|
||||||
eval(IO.read('/home/nk/.config/subtle/panel.rb'), binding)
|
load_config 'panel.rb'
|
||||||
eval(IO.read('/home/nk/.config/subtle/grabs.rb'), binding)
|
load_config 'grabs.rb'
|
||||||
eval(IO.read('/home/nk/.config/subtle/tags.rb'), binding)
|
load_config 'tags.rb'
|
||||||
eval(IO.read('/home/nk/.config/subtle/views.rb'), binding)
|
load_config 'views.rb'
|
||||||
eval(IO.read('/home/nk/.config/subtle/sublets.rb'), binding)
|
load_config 'sublets.rb'
|
||||||
eval(IO.read('/home/nk/.config/subtle/hooks.rb'), binding)
|
load_config 'hooks.rb'
|
||||||
|
|
||||||
# vim:ts=2:bs=2:sw=2:et:fdm=marker
|
# vim:ts=2:bs=2:sw=2:et:fdm=marker
|
||||||
|
|
Loading…
Reference in a new issue