From 5230a48d54a167c6c61f6bd71c752928d40f6782 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 18 Nov 2022 14:33:17 -0800 Subject: i3: bind F11 to flameshot for screenshots --- dot_config/i3/config | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dot_config/i3/config') diff --git a/dot_config/i3/config b/dot_config/i3/config index ef94027..6116923 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -190,7 +190,6 @@ bindsym F1 exec ~/.config/i3/scripts/keyhint-2 # switch between builtin monitor and external monitors bindsym F9 exec --no-startup-id ~/.config/i3/scripts/monitor - # Backlight control bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" @@ -267,10 +266,13 @@ bindsym XF86AudioPrev exec --no-startup-id playerctl previous # Redirect sound to headphones #bindsym $mod+p exec /usr/local/bin/switch-audio-port -## App shortcuts +# App shortcuts bindsym $mod+w exec /usr/bin/firefox bindsym $mod+n exec /usr/bin/thunar -bindsym Print exec --no-startup-id mkdir -p ~/Pictures/Screenshot/`date +"%Y/%m"` && scrot ~/Pictures/Screenshot/%Y/%m/%Y-%m-%d-%T-screenshot.png && notify-send "Screenshot saved" + +# Screenshot +bindsym Print exec --no-startup-id flameshot gui +bindsym $mod+Print exec --no-startup-id flameshot full # Power Profiles menu switcher (rofi) bindsym $mod+Shift+p exec --no-startup-id ~/.config/i3/scripts/power-profiles -- cgit v1.2.3