summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-10-02 10:18:25 +0100
committerUrbain Vaes <urbain@vaes.uk>2020-10-02 10:18:25 +0100
commitf45ea107bed6d6c410b7ebfee691bdbaf51947e6 (patch)
tree5f9b11a4158c24795d68bcc649c29811d2519789 /bin
parent93eab33d13f8f30c8ba0088f20721d14c981fd16 (diff)
parent96bfc178286b367b14e6287b3ae6dc57f3e6e2f6 (diff)
Merge branch 'master' of localhost:public/dotfiles into master
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/keyboard3
-rwxr-xr-xbin/.local/bin/keyboard-us8
-rwxr-xr-xbin/.local/bin/workspace5
3 files changed, 8 insertions, 8 deletions
diff --git a/bin/.local/bin/keyboard b/bin/.local/bin/keyboard
index ee1cc61..59a9ee0 100755
--- a/bin/.local/bin/keyboard
+++ b/bin/.local/bin/keyboard
@@ -51,8 +51,9 @@ xcape -e 'Super_L=space'
# xmodmap -e "keycode any = Return"
# xcape -e 'Control_R=Return'
-# Make eject an Insert
+# Make eject and Home an Insert
xmodmap -e "keysym XF86Eject = Insert"
+xmodmap -e "keysym Home = Insert"
# Numbers
xmodmap -e "keysym d = d D 0"
diff --git a/bin/.local/bin/keyboard-us b/bin/.local/bin/keyboard-us
index 1b6ceba..1b150fc 100755
--- a/bin/.local/bin/keyboard-us
+++ b/bin/.local/bin/keyboard-us
@@ -13,10 +13,10 @@ setxkbmap us
xmodmap -e "clear Lock"
xmodmap -e "keysym Caps_Lock = Control_L Control_L"
xmodmap -e "add Control = Control_L"
-xcape -e 'Control_L=Escape'
+# xcape -e 'Control_L=Escape'
# Make space (Super_L, space)
-xmodmap -e "keysym space = Super_L"
-xmodmap -e "add mod4 = Super_L"
-xmodmap -e "keycode any = space"
+# xmodmap -e "keysym space = Super_L"
+# xmodmap -e "add mod4 = Super_L"
+# xmodmap -e "keycode any = space"
# xcape -e 'Super_L=space'
diff --git a/bin/.local/bin/workspace b/bin/.local/bin/workspace
index 4f2ab67..36f09d4 100755
--- a/bin/.local/bin/workspace
+++ b/bin/.local/bin/workspace
@@ -1,14 +1,13 @@
#!/usr/bin/env bash
-# List of workspaces: (id, number, name)
+# List of workspaces: ( number, name, focused)
workspaces=$(i3-msg -t get_workspaces | awk 'BEGIN {
RS="(},{)|(\\[{)|(}\\])";
FPAT="([^,:\"]+)|([^,\"]+:[^,\"]+)|([^,]+{[^}]+})"
}
$0 !~ "^\\s*$" {
gsub(/"/, "", $4)
- print $4, $6
-
+ print $4, $6, $10
}' | sort)
act_on_container() {