aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rwxr-xr-x.config/herbstluftwm/autostart4
-rwxr-xr-x.config/herbstluftwm/tray.sh2
-rwxr-xr-x.config/sxiv/exec/key-handler14
3 files changed, 18 insertions, 2 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index 1f18392..ea83f12 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -81,7 +81,6 @@ hc keybind $Mod-period use_index +1 --skip-visible
hc keybind $Mod-comma use_index -1 --skip-visible
# layouting
-hc keybind $Mod-r remove
hc keybind $Mod-f fullscreen toggle
hc keybind $Mod-p pseudotile toggle
@@ -96,7 +95,10 @@ hc keybind $Mod-BackSpace cycle_monitor
hc keybind $Mod-i jumpto urgent
################ launchers ################
+
+# mate
hc keybind XF86PowerOff spawn mate-session-save --shutdown-dialog
+hc keybind Print spawn mate-screenshot
# ranger
hc keybind $Mod-Shift-Control-Return spawn urxvt -e ranger /home/shmibs
diff --git a/.config/herbstluftwm/tray.sh b/.config/herbstluftwm/tray.sh
index 7a7ee01..188a274 100755
--- a/.config/herbstluftwm/tray.sh
+++ b/.config/herbstluftwm/tray.sh
@@ -9,4 +9,4 @@ while [ -z "$run" ]; do
echo "$run"
done
-stalonetray -bg "$bgcolor" --window-layer top --geometry 1x1+1752+1 --max-geometry 1752x18 --grow-gravity E -i 16 --kludges force_icons_size
+stalonetray -bg "$bgcolor" --window-layer top --geometry 1x1+1740+1 --max-geometry 1752x18 --grow-gravity E -i 16 --kludges force_icons_size
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
new file mode 100755
index 0000000..50dcfc7
--- /dev/null
+++ b/.config/sxiv/exec/key-handler
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# The key combo argument has the following form: "[C-][M-][S-]KEY",
+# where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
+# keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
+
+case "$1" in
+"y")
+ echo -n "$2" | xclip -selection clipboard ;;
+"C-d")
+ rm "$2" ;;
+"g")
+ gimp "$2" & ;;
+esac