X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2F.xbindkeysrc;h=bb34e7a992c0c69202f0acee137a5ad2751cce79;hb=aaa9cadece6367128e76b069e4ce866e007a6523;hp=4f8117e11422190d8017b1a79333c3ac26b5fe8f;hpb=629ca20d708c8e5b690272cb6ac06278c7a3ac0c;p=khome.git diff --git a/home/.xbindkeysrc b/home/.xbindkeysrc index 4f8117e..bb34e7a 100644 --- a/home/.xbindkeysrc +++ b/home/.xbindkeysrc @@ -1,3 +1,5 @@ +# (Mod4 is Windows key) + "xbindkeys_show" control+shift + q @@ -16,8 +18,12 @@ # ---------- "sudo /home/siraaj/bin/backlight_adjust +5" XF86MonBrightnessUp +"sudo /home/siraaj/bin/backlight_adjust +1" + shift + XF86MonBrightnessUp "sudo /home/siraaj/bin/backlight_adjust -5" XF86MonBrightnessDown +"sudo /home/siraaj/bin/backlight_adjust -1" + shift + XF86MonBrightnessDown # Workaround: XF86MonBrightness(Up|Down) keys stopped working on Librem 15v4 :( "sudo /home/siraaj/bin/backlight_adjust +5" @@ -51,7 +57,6 @@ "mpc next" XF86AudioNext # Otherwise use combinations: -# (Mod4 is Windows key) "mpc toggle" Mod4 + Down "mpc stop" @@ -75,37 +80,37 @@ # -------------------- # 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 --select --freeze 'screen--%Y-%m-%d--%H-%M-%S.png' -e 'mv $f ~/arc/img/Screenshots/'" Print # ---------------- @@ -115,7 +120,7 @@ "st -e htop" Mod4 + h "st -e ncmpcpp" - Mod4 + n + Mod4 + m "st -e ranger" Mod4 + r @@ -127,19 +132,43 @@ "video-catalog-play" Mod4 + v -# Editor +# Editors "gvim" Mod4 + e +"emacs" + Mod4 + Shift + e + # Edit specific files -"gvim ~/TODO.md" # .md filetype is already set to activate spell check - alt + shift + t -"gvim -c 'set spell' ~/Documents/Drafts.md" - alt + shift + d +"cd ~/doc/TODO && gvim TODO.md" + Mod4 + t +"cd ~/doc/ideas && gvim ideas.md" + Mod4 + i +"cd ~/doc/drafts && drafts_prepend && gvim drafts.md" + Mod4 + d +"cd ~/doc/notes && notes_prepend && gvim notes.md" + Mod4 + n +"cd ~/doc/bookmarks && gvim bookmarks.md" + Mod4 + b +"cd ~/doc/quotations && gvim quotations.md" + Mod4 + q # File browser -"caja" +"pcmanfm" Mod4 + f -# Web browser -"qutebrowser" +# Weather +"notify_weather" Mod4 + w +"xdg-open 'https://forecast.weather.gov/MapClick.php?lat=40.61&lon=-73.92&lg=english&&FcstType=graphical&menu=1'" + Mod4 + Shift + w + +# Calendar +"notify_cal" + Mod4 + c + +# Status +"notify_status" + Mod4 + s + +"notify_time-in-zones" + Mod4 + z