This commit is contained in:
josh
2018-08-24 21:44:45 +03:00
parent 6d7cd2f827
commit 3ffcc3eb1c
11 changed files with 69 additions and 75 deletions

View File

@@ -1,6 +1,6 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 46 39 1
fields=0 46 39 109 110 1
sort_key=46
sort_direction=1
hide_threads=1
@@ -20,8 +20,7 @@ update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
delay=15
left_meters=AllCPUs
left_meter_modes=1
right_meters=Uptime Tasks Memory Swap
right_meter_modes=2 2 2 2
left_meters=Hostname CPU Memory
left_meter_modes=2 1 1
right_meters=Uptime Tasks Swap
right_meter_modes=2 2 2

View File

@@ -6,8 +6,22 @@ exec_always "xrandr --output HDMI1 --mode 2560x1440 --rate 59.95 --output HDMI2
exec_always ~/.scripts/daemons.sh
exec_always xrdb ~/.xresources
exec_always feh --bg-fill --no-fehbg ~/.wallpapers/current
# NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
# it fails to get colors from Xresources.
set_from_resource $fg color7 #f0f0f0
set_from_resource $bg color2 #f0f0f0
#class border backgr. text indicator child_border
client.focused $bg $bg $fg $bg $bg
client.focused_inactive $bg $bg $fg $bg $bg
client.unfocused $bg $bg $fg $bg $bg
client.urgent $bg $bg $fg $bg $bg
client.placeholder $bg $bg $fg $bg $bg
client.background $bg
exec_always xrdb ~/.Xresources
exec_always ~/.scripts/wal.sh
gaps inner 10
default_border pixel 1
@@ -15,15 +29,20 @@ default_border pixel 1
bindsym $mod+Ctrl+r restart
bindsym $mod+Ctrl+q kill
bindsym $mod+s exec dmenu_run
bindsym $mod+s exec ~/.scripts/dmen_run.sh
bindsym $mod+Return exec urxvt
bindsym $mod+F1 exec ~/.scripts/audio.sh toggle_mute
bindsym $mod+F2 exec ~/.scripts/audio.sh lower
bindsym $mod+F3 exec ~/.scripts/audio.sh raise
bindsym $mod+F5 exec ~/.scripts/music.sh toggle
bindsym $mod+F7 exec ~/.scripts/music.sh prev
bindsym $mod+F8 exec ~/.scripts/music.sh next
bindsym $mod+F4 exec ~/.scripts/wal.sh
bindsym $mod+F5 exec ~/.scripts/music.sh toggle
bindsym $mod+Shift+F2 exec ~/.scripts/music.sh lower
bindsym $mod+Shift+F3 exec ~/.scripts/music.sh raise
bindsym $mod+F7 exec ~/.scripts/music.sh prev
bindsym $mod+F8 exec ~/.scripts/music.sh next
bindsym $mod+F9 exec ~/.scripts/mount.sh
bindsym $mod+F10 exec ~/.scripts/umount.sh
@@ -63,9 +82,6 @@ bindsym $mod+Ctrl+4 move container to workspace 4
bindsym $mod+Ctrl+5 move container to workspace 5
bindsym $mod+Ctrl+6 move container to workspace 6
set_from_resource $background background
set_from_resource $foreground foreground
set_from_resource $darkblack color0
set_from_resource $black color8
set_from_resource $darkred color1
@@ -83,26 +99,16 @@ set_from_resource $cyan color14
set_from_resource $darkwhite color7
set_from_resource $white color15
set $transparent
# class border background text indicator child_border
client.focused $darkblue $background $foreground $darkblue $darkblue
client.focused_inactive $darkblue $background $foreground $darkblue $darkblue
client.unfocused $black $background $foreground $black $black
client.urgent $darkblue $background $foreground $darkblue $darkblue
client.background $black
bar {
font pango:DejaVu Sans Mono 9
colors {
background $background
statusline $foreground
statusline $fg
separator $darkblue
focused_workspace $background $darkblack $foreground
active_workspace $background $darkblack $foreground
inactive_workspace $background $background $black
urgent_workspace $darkblue $background $foreground
focused_workspace $darkblack $darkblack $fg
active_workspace $darkblack $darkblack $fg
inactive_workspace $darkblack $darkblack $black
urgent_workspace $darkblue $bg $fg
}
position top

View File

@@ -1,5 +1,5 @@
[mpd]
command=echo "$(mpc current)"
command=echo "$(mpc current)" $(mpc volume | awk '{match($2,"[0-9]*",a)}END{print a[0]"%"}')
interval=5
signal=2

View File

@@ -1 +1 @@
695
732

View File

@@ -204,7 +204,7 @@ cpu_cores="logical"
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="C"
cpu_temp="off"
# GPU