summaryrefslogtreecommitdiffstats
path: root/sxhkd
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2017-04-27 09:20:32 -0400
committerAmin Bandali <amin@aminb.org>2017-04-27 09:20:32 -0400
commit855ca24386a69957e9449ba3d53e549cfeb11c87 (patch)
treec7fd375f1fc07c4610963aea9707c36741c2f1b7 /sxhkd
parent5ee38ac2b3d22d617605185087c74db0f6a40091 (diff)
downloadconfigs-855ca24386a69957e9449ba3d53e549cfeb11c87.tar.gz
configs-855ca24386a69957e9449ba3d53e549cfeb11c87.tar.xz
configs-855ca24386a69957e9449ba3d53e549cfeb11c87.zip
New setup
This was sitting uncommitted locally for a while, thought it was time to commit it and push it.
Diffstat (limited to 'sxhkd')
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc74
-rwxr-xr-xsxhkd/.local/bin/toggle-presentation-mode3
2 files changed, 36 insertions, 41 deletions
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
index 07ab0e0..78dd17d 100644
--- a/sxhkd/.config/sxhkd/sxhkdrc
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -3,73 +3,65 @@
#
# terminal emulator
-super + Return
- urxvt
-super + shift + Return
- urxvt -name tiled
+super + {_,shift} + Return
+ urxvt{_, -name tiled}
# program launcher
super + space
- rofi -show run -font "Inconsolata 13"
+ rofi -show run
-# rofi-pass
+# window finder
+super + backslash
+ rofi -show window
+
+# password manager
super + shift + space
rofi-pass
-# teiler
-super + shift + s
- teiler
-
-super + z ; t
- urxvt
-
-super + z ; f
- firefox-nightly
-
# firefox
#super + r
# firefox
# chromium
#super + c
-# chromium
+# chromium -incognito
# emacs
super + e
emacs
-# emacs -Q -l src/elisp/oremacs/init.el
-
-# stalonetray
-#super + minus
-# toggle_tray&
-# volume up
-XF86AudioRaiseVolume
- pamixer --allow-boost --increase 5
+# make sxhkd reload its configuration files:
+super + Escape
+ pkill -USR1 -x sxhkd
-# volume down
-XF86AudioLowerVolume
- pamixer --allow-boost --decrease 5
+# volume {up,down}
+XF86Audio{Raise,Lower}Volume
+ pamixer --allow-boost --{in,de}crease 5
# mute
XF86AudioMute
pamixer --toggle-mute
+# Xfce log out
+super + shift + q
+ xfce4-session-logout
+
+# Toggle keyboard layout
+XF86LaunchA
+ toggle-layout
+
+# Toggle Xfce presentation mode
+XF86LaunchB
+ toggle-presentation-mode
+
# monitor brightness
#XF86MonBrightness{Up,Down}
-# xbacklight -time 0 {+5,-5}
+# light -s mba6x_backlight -{A,U} 10
# keyboard brightness
#XF86KbdBrightness{Up,Down}
# kbdlight {up,down}
-XF86LaunchA
- /home/amin/.local/bin/toggle-layout
-
-# make sxhkd reload its configuration files:
-super + Escape
- pkill -USR1 -x sxhkd
-
#
# bspwm hotkeys
#
@@ -118,13 +110,13 @@ super + {_,shift + }{h,j,k,l}
super + {p,b,comma,period}
bspc node -f @{parent,brother,first,second}
-# focus the next/previous node
-super + {_,shift + }slash
- bspc node -f {next,prev}
+# focus the next/previous node in the current desktop
+super + {_,shift + }c
+ bspc node -f {next,prev}.local
-# focus the next/previous desktop
+# focus the next/previous desktop in the current monitor
super + bracket{left,right}
- bspc desktop -f {prev,next}
+ bspc desktop -f {prev,next}.local
# send to next/prev desktop
super + shift + bracket{left,right}
diff --git a/sxhkd/.local/bin/toggle-presentation-mode b/sxhkd/.local/bin/toggle-presentation-mode
new file mode 100755
index 0000000..00279bd
--- /dev/null
+++ b/sxhkd/.local/bin/toggle-presentation-mode
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -T