aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/sxhkd/sxhkdrc7
-rwxr-xr-xratpoison/panel/panel9
-rw-r--r--stalonetrayrc1
-rwxr-xr-xxinitrc4
4 files changed, 11 insertions, 10 deletions
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 &