From fbee7cc9046bcb30b97b4e97bfc6f0cf0a21a637 Mon Sep 17 00:00:00 2001 From: shmibs Date: Wed, 4 Jun 2014 22:32:48 -0700 Subject: zsh keybindings --- .config/herbstluftwm/colourgrab.sh | 2 +- .config/herbstluftwm/restartpanels.sh | 2 +- .config/herbstluftwm/switcher.sh | 2 +- .config/sxiv/exec/key-handler | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to '.config') diff --git a/.config/herbstluftwm/colourgrab.sh b/.config/herbstluftwm/colourgrab.sh index 1144001..5a38f8f 100755 --- a/.config/herbstluftwm/colourgrab.sh +++ b/.config/herbstluftwm/colourgrab.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/zsh file=$(xoris) echo "$file" | tr -d '\n' | xclip -selection clipboard echo "$file" | tr -d '\n' | xclip -selection primary diff --git a/.config/herbstluftwm/restartpanels.sh b/.config/herbstluftwm/restartpanels.sh index 9d9110c..1d14f1d 100755 --- a/.config/herbstluftwm/restartpanels.sh +++ b/.config/herbstluftwm/restartpanels.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/zsh installdir=/ diff --git a/.config/herbstluftwm/switcher.sh b/.config/herbstluftwm/switcher.sh index 88ff366..4d570c2 100755 --- a/.config/herbstluftwm/switcher.sh +++ b/.config/herbstluftwm/switcher.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/zsh IFS=$'\r\n' clients=($(wmctrl -l | cut -c -10)) number=$(wmctrl -l | cut -c 20- | nl -w 2 -s ") " | dmenu -i -h 18 -nb $1 -nf $2 -sb $3 -sf $4 -p "Select:" -l 40 | grep -oE '[0-9]' | head -1) diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index 30b05a8..cf286c9 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/zsh # 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 -- cgit v1.2.3