From 95bc93e47fcd6d9f807efaad725016bb624cd6e9 Mon Sep 17 00:00:00 2001 From: vaskozl Date: Thu, 12 Feb 2015 21:25:21 +0100 Subject: add stalonetray big icon fix --- config/sxhkd/sxhkdrc | 7 +++++++ ratpoison/panel/panel | 9 +-------- stalonetrayrc | 1 + xinitrc | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 stalonetrayrc diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index f605d9b..2aabb48 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -178,6 +178,13 @@ XF86AudioRaiseVolume XF86AudioLowerVolume amixer -q set Master 5- && volume -f 'V%i' > "$PANEL_FIFO" + +super + Prior + amixer -q set Master 5+ && volume -f 'V%i' > "$PANEL_FIFO" + +super + Next + amixer -q set Master 5- && volume -f 'V%i' > "$PANEL_FIFO" +# # # brightness controls # diff --git a/ratpoison/panel/panel b/ratpoison/panel/panel index 414fffc..010c62e 100755 --- a/ratpoison/panel/panel +++ b/ratpoison/panel/panel @@ -2,12 +2,6 @@ cd ~/.ratpoison/panel source ./profile source ~/.colors -if [ $(pgrep -cx panel) -gt 1 ] ; then - printf "%s\n" "The panel is already running." >&2 - exit 1 -fi - -trap 'trap - TERM; kill 0' INT TERM QUIT EXIT [ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO" mkfifo "$PANEL_FIFO" @@ -27,5 +21,4 @@ source ./panel_colors cat "$PANEL_FIFO" | ./panel_bar | bar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" & -stalonetray --geometry 4x1-1+1 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 18 -wait +stalonetray --geometry 4x1-1+1 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 18 & diff --git a/stalonetrayrc b/stalonetrayrc new file mode 100644 index 0000000..59ec5ad --- /dev/null +++ b/stalonetrayrc @@ -0,0 +1 @@ +kludges force_icons_size diff --git a/xinitrc b/xinitrc index 7e89314..0060563 100755 --- a/xinitrc +++ b/xinitrc @@ -1,4 +1,4 @@ -#!/usr/bin/bash +!/usr/bin/bash # Inspiration: # http://www.desertsol.com/~kevin/ratpoison/ ratpoison_dir=$HOME/.ratpoison @@ -31,7 +31,7 @@ xsetroot -cursor_name left_ptr wmname LG3D # Background -~/.ratpoison/wp change +~/.ratpoison/wp change & #Run dropbox dropboxd & -- cgit v1.2.3-54-g00ecf