diff options
Diffstat (limited to 'herbstluftwm')
| -rwxr-xr-x | herbstluftwm/.config/herbstluftwm/autostart | 4 | ||||
| -rwxr-xr-x | herbstluftwm/.config/herbstluftwm/panel.sh | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart index 737fc11..33d35aa 100755 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ b/herbstluftwm/.config/herbstluftwm/autostart | |||
| @@ -51,8 +51,6 @@ hc keybind $Mod-grave spawn dmenu_run $dmenu_opts | |||
| 51 | hc keybind XF86AudioLowerVolume spawn amixer set Master 1%- | 51 | hc keybind XF86AudioLowerVolume spawn amixer set Master 1%- |
| 52 | hc keybind XF86AudioRaiseVolume spawn amixer set Master 1%+ | 52 | hc keybind XF86AudioRaiseVolume spawn amixer set Master 1%+ |
| 53 | 53 | ||
| 54 | echo "env DISPLAY=:0 /usr/bin/dmenu_run $dmenu_opts" | ||
| 55 | |||
| 56 | # basic movement | 54 | # basic movement |
| 57 | # focusing clients | 55 | # focusing clients |
| 58 | hc keybind $Mod-Left focus left | 56 | hc keybind $Mod-Left focus left |
| @@ -207,5 +205,7 @@ $hlwm_scripts/start.sh "xautolock -time 5 -locker $hlwm_scripts/lock.sh" | |||
| 207 | $hlwm_scripts/start.sh "feh --bg-fill $wallpaper" | 205 | $hlwm_scripts/start.sh "feh --bg-fill $wallpaper" |
| 208 | $hlwm_scripts/start.sh "compton --config $HOME/.compton" | 206 | $hlwm_scripts/start.sh "compton --config $HOME/.compton" |
| 209 | $hlwm_scripts/start.sh "xrdb -load $HOME/.Xresources" | 207 | $hlwm_scripts/start.sh "xrdb -load $HOME/.Xresources" |
| 208 | $hlwm_scripts/start.sh "xset +fp /usr/share/fonts/local" | ||
| 209 | $hlwm_scripts/start.sh "xset fp rehash" | ||
| 210 | $hlwm_scripts/start.sh "dropboxd" | 210 | $hlwm_scripts/start.sh "dropboxd" |
| 211 | $hlwm_scripts/start.sh "$hlwm_scripts/notify.sh $monitor_w $window_p $panel_h $hlwm_scripts/popup.sh" | 211 | $hlwm_scripts/start.sh "$hlwm_scripts/notify.sh $monitor_w $window_p $panel_h $hlwm_scripts/popup.sh" |
diff --git a/herbstluftwm/.config/herbstluftwm/panel.sh b/herbstluftwm/.config/herbstluftwm/panel.sh index 33ef886..635a7d1 100755 --- a/herbstluftwm/.config/herbstluftwm/panel.sh +++ b/herbstluftwm/.config/herbstluftwm/panel.sh | |||
| @@ -20,7 +20,7 @@ ldark=$(add_alpha_channel $WM_LDARK) | |||
| 20 | dark=$(add_alpha_channel $WM_DARK) | 20 | dark=$(add_alpha_channel $WM_DARK) |
| 21 | 21 | ||
| 22 | font="-*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*" | 22 | font="-*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*" |
| 23 | #font="" | 23 | font2="-*-stlarch-medium-*-*-*-10-*-*-*-*-*-*-*" |
| 24 | selected_bg=$accent | 24 | selected_bg=$accent |
| 25 | normal_bg=$dark | 25 | normal_bg=$dark |
| 26 | selected_txt=$dark | 26 | selected_txt=$dark |
| @@ -36,7 +36,7 @@ fi | |||
| 36 | x=$(echo "${geometry[0]} + $padding" | bc) | 36 | x=$(echo "${geometry[0]} + $padding" | bc) |
| 37 | y=$(echo "${geometry[1]} + $padding" | bc) | 37 | y=$(echo "${geometry[1]} + $padding" | bc) |
| 38 | panel_width=$(echo "${geometry[2]} - (2 * $padding)" | bc) | 38 | panel_width=$(echo "${geometry[2]} - (2 * $padding)" | bc) |
| 39 | bar_opts="-g ${panel_width}x${panel_height}+${x}+${y} -f ${font} -u 2 -B ${normal_bg} -F ${normal_txt}" | 39 | bar_opts="-g ${panel_width}x${panel_height}+${x}+${y} -f $font,$font2 -u 2 -B $normal_bg -F $normal_txt" |
| 40 | 40 | ||
| 41 | hc pad $monitor $(echo "$panel_height + $padding" | bc) | 41 | hc pad $monitor $(echo "$panel_height + $padding" | bc) |
| 42 | 42 | ||
| @@ -77,7 +77,7 @@ fi | |||
| 77 | scrolling=$current | 77 | scrolling=$current |
| 78 | fi | 78 | fi |
| 79 | 79 | ||
| 80 | echo -e "music\tPlaying: ${scrolling:0:24}" | 80 | echo -e "music\t\ue05c ${scrolling:0:24}" |
| 81 | else | 81 | else |
| 82 | echo -e "music\toff" | 82 | echo -e "music\toff" |
| 83 | fi | 83 | fi |
| @@ -95,7 +95,7 @@ fi | |||
| 95 | if [ -z $vol ] ; then | 95 | if [ -z $vol ] ; then |
| 96 | echo -e "volume\toff" | 96 | echo -e "volume\toff" |
| 97 | else | 97 | else |
| 98 | echo -e "volume\t%{F$normal_txt}Vol: $vol%%%{F-}" | 98 | echo -e "volume\t%{F$normal_txt}\ue05d $vol%%%{F-}" |
| 99 | fi | 99 | fi |
| 100 | else | 100 | else |
| 101 | echo -e "volume\toff" | 101 | echo -e "volume\toff" |
| @@ -123,13 +123,13 @@ fi | |||
| 123 | ) | 123 | ) |
| 124 | 124 | ||
| 125 | if [ $ssid != "off/any" ] ; then | 125 | if [ $ssid != "off/any" ] ; then |
| 126 | echo -e "net\tNet: $ssid" | 126 | echo -e "net\t\ue0f3 $ssid" |
| 127 | else | 127 | else |
| 128 | echo -e "net\toff" | 128 | echo -e "net\toff" |
| 129 | fi | 129 | fi |
| 130 | 130 | ||
| 131 | elif [ $int == "enp2s0" ] ; then | 131 | elif [ $int == "enp2s0" ] ; then |
| 132 | echo -e "net\tNet: ethernet" | 132 | echo -e "net\t\ue0af ethernet" |
| 133 | else | 133 | else |
| 134 | echo -e "net\toff" | 134 | echo -e "net\toff" |
| 135 | fi | 135 | fi |
| @@ -143,7 +143,7 @@ fi | |||
| 143 | bat_color=$normal_txt | 143 | bat_color=$normal_txt |
| 144 | fi | 144 | fi |
| 145 | state=$(cat /sys/class/power_supply/BAT1/status) | 145 | state=$(cat /sys/class/power_supply/BAT1/status) |
| 146 | echo -e "battery\t%{F$normal_txt}$state: %{F$bat_color}$bat_lvl%{F$normal_txt}%%%{F-}" | 146 | echo -e "battery\t%{F$normal_txt}\be03b %{F$bat_color}$bat_lvl%{F$normal_txt}%%%{F-}" |
| 147 | else | 147 | else |
| 148 | echo -e "battery\toff" | 148 | echo -e "battery\toff" |
| 149 | fi | 149 | fi |
