From c1b4ebd6f50ec3c1e50e367b95dbfd4448709281 Mon Sep 17 00:00:00 2001 From: shmibs Date: Tue, 11 Feb 2014 22:32:53 -0700 Subject: moved sxiv configs --- .config/herbstluftwm/autostart | 4 +++- .config/herbstluftwm/tray.sh | 2 +- .config/sxiv/exec/key-handler | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100755 .config/sxiv/exec/key-handler (limited to '.config') 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 -- cgit v1.2.3