Add some dotfiles from demizer
This commit is contained in:
parent
1e06cd1b2d
commit
b2cfc06822
|
@ -0,0 +1,57 @@
|
|||
! Xft settings ---------------------------------------------------------------
|
||||
Xft.dpi: 96
|
||||
Xft.antialias: true
|
||||
Xft.rgba: rgb
|
||||
Xft.hinting: true
|
||||
Xft.hintstyle: hintslight
|
||||
|
||||
! urxvt
|
||||
|
||||
URxvt.font: xft:Inconsolata:pixelsize=15
|
||||
URxvt*termName: xterm-256color
|
||||
URxvt*urlLauncher: chromium
|
||||
URxvt*depth: 32
|
||||
URxvt*cursorColor: grey
|
||||
URxvt*loginShell: False
|
||||
URxvt*visualBell: False
|
||||
URxvt*scrollBar: False
|
||||
URxvt*scrollTtyOutput: False
|
||||
URxvt*scrollTtyKeypress: True
|
||||
URxvt*scrollWithBuffer: True
|
||||
URxvt*cursorBlink: False
|
||||
URxvt*saveLines: 32767
|
||||
URxvt*background: rgba:2222/2222/2222/eeee
|
||||
URxvt*foreground: #F0F8FF
|
||||
!URxvt*transparent: true
|
||||
!URxvt*fading: 20
|
||||
!URxvt*shading: 15
|
||||
|
||||
!thayer colors
|
||||
|
||||
!black
|
||||
!*color0: #1B1D1E
|
||||
!*color8: #505354
|
||||
*color0: #262729
|
||||
*color8: #554444
|
||||
|
||||
!red
|
||||
*color1: #F92672
|
||||
*color9: #FF669D
|
||||
!green
|
||||
*color2: #A6E22E
|
||||
*color10: #BEED5F
|
||||
!yellow
|
||||
*color3: #FD971F
|
||||
*color11: #E6DB74
|
||||
!blue
|
||||
*color4: #66D9EF
|
||||
*color12: #66D9EF
|
||||
!magenta
|
||||
*color5: #9E6FFE
|
||||
*color13: #9E6FFE
|
||||
!cyan
|
||||
*color6: #5E7175
|
||||
*color14: #A3BABF
|
||||
!white
|
||||
*color7: #CCCCC6
|
||||
*color15: #F8F8F2
|
|
@ -0,0 +1,19 @@
|
|||
out_to_console yes
|
||||
update_interval 1.0
|
||||
|
||||
TEXT
|
||||
E='echo -n'
|
||||
|
||||
# Show MPD status (if song is playing)
|
||||
$$E " "
|
||||
$$E "${if_mpd_playing}^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/phones.xbm) \
|
||||
^fg()${mpd_artist}^fg(\#F88379) - ^fg()${mpd_title}^fg(\#3B444B) Ξ ${endif}"
|
||||
|
||||
# Show the uptime
|
||||
$$E '^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/clock.xbm)^fg(\#CFCFCF) Uptime: ^fg()${uptime_short}^fg(\#3B444B) Ξ '
|
||||
|
||||
# Show / and /home usages
|
||||
$$E "^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/diskette.xbm)^fg(\#CFCFCF) root: ^fg()${fs_used_perc /}% \
|
||||
^fg(\#F88379)- ^fg(\#CFCFCF)home: ^fg()${fs_used_perc /home}%^fg(\#3B444B) Ξ "
|
||||
|
||||
echo
|
|
@ -0,0 +1,54 @@
|
|||
out_to_console yes
|
||||
update_interval 1.0
|
||||
|
||||
TEXT
|
||||
E='echo -n'
|
||||
|
||||
# CPU Freq
|
||||
$$E '^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/cpu.xbm)'
|
||||
$$E '^fg(\#CFCFCF) Core i7 ^fg(\#F88379) @ ^fg() ${freq_g 1} ^fg(\#CFCFCF)Ghz'
|
||||
|
||||
# CPU usage percent
|
||||
$$E ' ^fg(\#F88379)Usage: ^fg()${cpu}%^fg()'
|
||||
|
||||
# I have a core i7, hwmon, i2c, and acpi do not pick up the correct values
|
||||
$$E ' ^fg(\#F88379)Temp: ^fg()${execi 5 /home/demizer/bin/cpu_temp.sh}^fg(red)° '
|
||||
|
||||
# Add new segment to the graph file
|
||||
echo ${cpu} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s v -h 16 -sw 2 >> /tmp/.dzen2cpugraph
|
||||
|
||||
# Print last 15 segments dequeuing the oldest one
|
||||
QUEUE=`tail -n 15 /tmp/.dzen2cpugraph`
|
||||
ISFIRST=true
|
||||
for ITEM in $$QUEUE; do
|
||||
$$E $$ITEM
|
||||
if [ $$ISFIRST = true ]; then
|
||||
echo $$ITEM >/tmp/.dzen2cpugraph
|
||||
ISFIRST=false
|
||||
fi
|
||||
echo $$ITEM >>/tmp/.dzen2cpugraph
|
||||
done
|
||||
|
||||
# $$E '^ib(1)^pa(36;0)'
|
||||
$$E '^ib(1)'
|
||||
$$E ' '
|
||||
|
||||
# Cores pies and frequencies
|
||||
echo ${cpu cpu 0} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s p -w 16 -nonl
|
||||
$$E ' '
|
||||
echo ${cpu cpu 1} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s p -w 16 -nonl
|
||||
$$E ' '
|
||||
echo ${cpu cpu 2} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s p -w 16 -nonl
|
||||
$$E ' '
|
||||
echo ${cpu cpu 3} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s p -w 16 -nonl
|
||||
$$E ' '
|
||||
echo ${cpu cpu 4} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s p -w 16 -nonl
|
||||
$$E ' '
|
||||
echo ${cpu cpu 5} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s p -w 16 -nonl
|
||||
$$E ' '
|
||||
echo ${cpu cpu 6} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s p -w 16 -nonl
|
||||
$$E ' '
|
||||
echo ${cpu cpu 7} | gdbar -fg '\#0296F8' -bg '\#3B444B' -s p -w 16 -nonl
|
||||
$$E ' '
|
||||
|
||||
echo
|
|
@ -0,0 +1,19 @@
|
|||
out_to_console yes
|
||||
update_interval 1.0
|
||||
|
||||
TEXT
|
||||
E='echo -n'
|
||||
|
||||
# Network Usage
|
||||
$$E "${if_up wlan0}^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/wifi_01.xbm)^fg(\#CFCFCF) wlan0:${endif}\
|
||||
${if_up eth0}^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/net_wired.xbm) ^fg(\#CFCFCF)eth0: ${endif}\
|
||||
^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/net_down_01.xbm) ^fg()${downspeed} \
|
||||
^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/net_up_01.xbm) ^fg()${upspeed}^fg(\#3B444B) Ξ "
|
||||
|
||||
# Show the volume indicator as a bar
|
||||
$$E "^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/spkr_01.xbm)^fg() ${exec volume_level.sh}^fg(\#3B444B) Ξ "
|
||||
|
||||
# What time is it??
|
||||
$$E "^fg(\#D0F0C0)^i(/home/demizer/.dzen2/sm4tik/clock.xbm)^fg() ${time %d/%m/%y} ${time %H:%M} "
|
||||
|
||||
echo
|
|
@ -0,0 +1,22 @@
|
|||
# Beware! This file is rewritten every time htop exits.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
# (I know, it's in the todo list).
|
||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||
sort_key=46
|
||||
sort_direction=1
|
||||
hide_threads=0
|
||||
hide_kernel_threads=0
|
||||
hide_userland_threads=0
|
||||
shadow_other_users=0
|
||||
highlight_base_name=0
|
||||
highlight_megabytes=0
|
||||
highlight_threads=0
|
||||
tree_view=1
|
||||
header_margin=1
|
||||
detailed_cpu_time=0
|
||||
color_scheme=0
|
||||
delay=15
|
||||
left_meters=AllCPUs Memory Swap
|
||||
left_meter_modes=1 1 1
|
||||
right_meters=Tasks LoadAverage Uptime
|
||||
right_meter_modes=2 2 2
|
Loading…
Reference in New Issue