From 34167f3ff0453e414a3a066f6bc8a7358ab902b1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 9 Jan 2018 23:52:38 -0500 Subject: [PATCH] Toggle polybar and use screenshot.sh with sxhkd --- dotfiles/.config/sxhkd/screenshot.sh | 3 +++ dotfiles/.config/sxhkd/sxhkdrc | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 dotfiles/.config/sxhkd/screenshot.sh diff --git a/dotfiles/.config/sxhkd/screenshot.sh b/dotfiles/.config/sxhkd/screenshot.sh new file mode 100644 index 0000000..3b9e6c3 --- /dev/null +++ b/dotfiles/.config/sxhkd/screenshot.sh @@ -0,0 +1,3 @@ +DATETIME=`date +%F_%H%M%S` +shotgun ~/Pictures/Screenshots/$DATETIME.png +feh ~/Pictures/Screenshots/$DATETIME.png --geometry 3200x1800 diff --git a/dotfiles/.config/sxhkd/sxhkdrc b/dotfiles/.config/sxhkd/sxhkdrc index 96c1bc8..dd6ac4d 100644 --- a/dotfiles/.config/sxhkd/sxhkdrc +++ b/dotfiles/.config/sxhkd/sxhkdrc @@ -101,4 +101,13 @@ super + space super + f bspc desktop -l next +super + p + ~/.config/sxhkd/screenshot.sh + +super + o + xdo hide -N "Polybar" + +super + O + xdo show -N "Polybar" + # vim:ft=sxhkdrc