Accept a name for dl and include starter script file
[khome.git] / home / .xbindkeysrc
index 4ae10ea..e8216ec 100644 (file)
 # ----------
 # Backlight
 # ----------
-"sudo /home/siraaj/bin/backlight_adjust +5"
+"sudo ~/bin/backlight_adjust +5"
     XF86MonBrightnessUp
-"sudo /home/siraaj/bin/backlight_adjust +1"
+"sudo ~/bin/backlight_adjust +1"
     shift + XF86MonBrightnessUp
-"sudo /home/siraaj/bin/backlight_adjust -5"
+"sudo ~/bin/backlight_adjust -5"
     XF86MonBrightnessDown
-"sudo /home/siraaj/bin/backlight_adjust -1"
+"sudo ~/bin/backlight_adjust -1"
     shift + XF86MonBrightnessDown
 
 # Workaround: XF86MonBrightness(Up|Down) keys stopped working on Librem 15v4 :(
-"sudo /home/siraaj/bin/backlight_adjust +5"
+"sudo ~/bin/backlight_adjust +5"
     shift+XF86AudioRaiseVolume
-"sudo /home/siraaj/bin/backlight_adjust -5"
+"sudo ~/bin/backlight_adjust -5"
     shift+XF86AudioLowerVolume
 
 # -------------------
     XF86AudioPlay
 "mpc stop"
     XF86AudioStop
-"mpc prev"
+"mpc prev && notify_mpc"
     XF86AudioPrev
-"mpc next"
+"mpc next && notify_mpc"
     XF86AudioNext
 # Otherwise use combinations:
 "mpc toggle"
     Mod4 + Down
 "mpc stop"
     Mod4 + Up
-"mpc prev"
+"mpc prev && notify_mpc"
     Mod4 + Left
-"mpc next"
+"mpc next && notify_mpc"
     Mod4 + Right
 
 ## cmus-remote
 # --------------------
 # Transparency adjust
 # --------------------
-"compton-trans 40"
+"picom-trans 40"
     Mod4 + 4
-"compton-trans 45"
+"picom-trans 45"
     Mod4 + Shift + 4
-"compton-trans 50"
+"picom-trans 50"
     Mod4 + 5
-"compton-trans 55"
+"picom-trans 55"
     Mod4 + Shift + 5
-"compton-trans 60"
+"picom-trans 60"
     Mod4 + 6
-"compton-trans 65"
+"picom-trans 65"
     Mod4 + Shift + 6
-"compton-trans 70"
+"picom-trans 70"
     Mod4 + 7
-"compton-trans 75"
+"picom-trans 75"
     Mod4 + Shift + 7
-"compton-trans 80"
+"picom-trans 80"
     Mod4 + 8
-"compton-trans 85"
+"picom-trans 85"
     Mod4 + Shift + 8
-"compton-trans 90"
+"picom-trans 90"
     Mod4 + 9
-"compton-trans 95"
+"picom-trans 95"
     Mod4 + Shift + 9
-"compton-trans 100"
+"picom-trans 100"
     Mod4 + 0
 
 # ------------------------
 # Screenshot
 # ------------------------
-"screengrab -r"
+"scrot --freeze --select 'screen--%Y-%m-%d--%H-%M-%S.png' -e 'mv $f ~/arc/img/Screenshots/'"
     Print
 
+"scrot          --select 'screen--%Y-%m-%d--%H-%M-%S.png' -e 'mv $f ~/arc/img/Screenshots/'"
+    Shift + Print
+
+# Screencast
+"st -c screencast -e ~/bin/screencast"
+    Control + Print
+
 # ----------------
 # App launchers
 # ----------------
 "st -e htop"
     Mod4 + h
 "st -e ncmpcpp"
-    Mod4 + n
+    Mod4 + m
 "st -e ranger"
     Mod4 + r
 
 "video-catalog-play"
     Mod4 + v
 
-# Editor
+# Editors
 "gvim"
     Mod4 + e
-# Edit specific files
-"gvim ~/TODO.md"  # .md filetype is already set to activate spell check
+"emacs"
+    Mod4 + Shift + e
+
+
+### Edit specific files
+
+"today.launch.sh"
     Mod4 + t
-"gvim -c 'set spell' ~/Documents/Drafts.md"
+
+"cd ~/doc/ideas && gvim ideas.md"
+    Mod4 + i
+
+"cd ~/doc/drafts && drafts_prepend && gvim drafts.md"
+    Mod4 + d + Shift
+"cd ~/doc/drafts && gvim $(draft ~/doc/drafts/adhoc)"
     Mod4 + d
 
+"cd ~/doc/notes && notes_prepend && gvim -c NERDTreeFind notes.md"
+    Mod4 + n + Shift
+"cd ~/doc/notes && gvim $(draft ~/doc/notes/adhoc)"
+    Mod4 + n
+
+"cd ~/doc/bookmarks && gvim bookmarks.md"
+    Mod4 + b
+
+"cd ~/doc/quotations && gvim quotations.md"
+    Mod4 + q
+
+
 # File browser
 "pcmanfm"
     Mod4 + f
 
-# Web browser
-"brave-browser"
+# Weather
+"notify_weather"
     Mod4 + w
+"xdg-open 'https://forecast.weather.gov/MapClick.php?lat=42.9581&lon=-71.4856'"
+    Mod4 + Shift + w
+
+# Calendar
+"notify_cal"
+    Mod4 + c
+
+# Status
+"notify_status"
+    Mod4 + s
+
+"notify_time-in-zones"
+    Mod4 + z
+
+# MPD
+"notify_mpc"
+    Mod4 + Shift + m
+
+# dunst
+"dunstctl close"
+    control + space
+"dunstctl close-all"
+    control + shift + space
+"dunstctl history-pop"
+    control + grave
This page took 0.038238 seconds and 4 git commands to generate.