summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-10-03 11:59:25 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-10-03 11:59:25 +0530
commit28a11f4ad8b687cd0e3c2d298860538fe058d1ce (patch)
tree43dab7475e9bad0b472fa27496c4fc7080f6bcec
parentded37b8f6515772648527fe2a3e9d9d490066ca0 (diff)
sxhkdrc changes
-rw-r--r--.config/sxhkd/sxhkdrc27
1 files changed, 15 insertions, 12 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index cdb8fbd..32dfce2 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -4,18 +4,17 @@
# Toggle mute
XF86AudioMute
- pactl set-sink-mute @DEFAULT_SINK@ toggle && [[ "$(pactl get-sink-mute @DEFAULT_SINK@)" == "Mute: yes" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234
+ pactl set-sink-mute @DEFAULT_SINK@ toggle && [[ "$(pactl get-sink-mute @DEFAULT_SINK@)" == "Mute: yes" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234
super + F4
- pactl set-sink-mute @DEFAULT_SINK@ toggle && [[ "$(pactl get-sink-mute @DEFAULT_SINK@)" == "Mute: yes" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234
+ pactl set-sink-mute @DEFAULT_SINK@ toggle && [[ "$(pactl get-sink-mute @DEFAULT_SINK@)" == "Mute: yes" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234
# Toggle mic mute
# pactl set-source-mute @DEFAULT_SOURCE@ toggle
# Change volume
XF86Audio{Raise,Lower}Volume
- pactl set-sink-volume @DEFAULT_SINK@ {+,-}2% && dunstify "Volume Changed" "Volume set to $(pamixer --get-volume)" -i {volume-high,volume-low} -t 1500 -r {1235,1236}
-
+ pactl set-sink-volume @DEFAULT_SINK@ {+,-}2% && dunstify "Volume Changed" "Volume set to $(pamixer --get-volume)" -i {volume-high,volume-low} -t 1500 -r {1235,1236}
#Toggle play/pause in spotify (universal)
XF86AudioPlay
@@ -27,8 +26,8 @@ XF86Audio{Prev,Next}
# Change spotify volume only
XF86{HomePage,Mail}
- playerctl -p spotify volume 0.05{+,-} && dunstify "Volume Changed" "Spotify Volume set to $(printf %.0f%% $(echo $(playerctl -p spotify volume)*100 | bc))" -i spotify -r {1400,1401}
-
+ playerctl -p spotify volume 0.05{+,-} && dunstify "Volume Changed" "Spotify Volume set to $(printf %.0f%% $(echo $(playerctl -p spotify volume)*100 | bc))" -i spotify -r {1400,1401}
+
################
# Applications #
################
@@ -68,8 +67,12 @@ super + shift + n
# Launch outlook
super + shift + e
qutebrowser https://outlook.office365.com/mail/inbox
+# Launch gmail
super + ctrl + e
qutebrowser https://gmail.com
+# Launch gmail
+super + ctrl + e
+ qutebrowser https://mail.proton.me/u/0/inbox
# Launch teams
super + shift + t
@@ -81,15 +84,15 @@ super + shift + m
# Launch discord
super + shift + d
- discord
+ discord
# Launch telegram
super + ctrl + t
- telegram-desktop
+ telegram-desktop
# dmenu custom run
super + d
- dmenu_run -hp 4chgetw,bts,dcalc,dmount,dumount,element-desktop,kbesccaps,librewolf,passmenu,picomm,pidkill,setbg,st,telegram-desktop,tempclip,todo,tolearn,trashy,ungoogled-chromium,xkill
+ dmenu_run -hp 4chgetw,bts,dcalc,dmount,dumount,element-desktop,kbesccapes,librewolf,passmenu,picomm,pidkill,setbg,st,telegram-desktop,tempclip,todo,tolearn,trashy,ungoogled-chromium,xkill
#dmenu pidkill
super + F1
@@ -122,15 +125,16 @@ super + alt + w
##screenlock
#loads cached lockscreen (instant)
super + shift+ l
- betterlockscreen --lock dimblur
+ betterlockscreen --lock dimblur
#generates a new lockscreen (takes time)
super + ctrl + l
- betterlockscreen -u pix/Wallpaper/betterlockscreen/ --lock dimblur
+ betterlockscreen -u pix/Wallpaper/betterlockscreen/ --lock dimblur
# Change screen brightness
XF86MonBrightness{Up,Down}
brillo -s intel_backlight -{A,U} 5 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )"
+
# Change screen temp
# Take a screenshot (full)
@@ -160,4 +164,3 @@ super + shift + x
prompt "Do you want to shutdown?" 'shutdown now'
alt + shift + x
prompt "Do you want to reboot?" 'reboot'
-