aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2022-11-18 14:33:17 -0800
committerclarkzjw <[email protected]>2022-11-18 14:33:17 -0800
commit5230a48d54a167c6c61f6bd71c752928d40f6782 (patch)
tree8101fae4344e16d028d46fa83646bf40bd93b25c
parent3c3452c2883d83d0a81fdfe3875ec2547af78d9e (diff)
downloaddotfiles-5230a48d54a167c6c61f6bd71c752928d40f6782.tar.gz
i3: bind F11 to flameshot for screenshots
-rw-r--r--dot_config/flameshot/flameshot.ini12
-rw-r--r--dot_config/i3/config8
2 files changed, 17 insertions, 3 deletions
diff --git a/dot_config/flameshot/flameshot.ini b/dot_config/flameshot/flameshot.ini
new file mode 100644
index 0000000..6f4616a
--- /dev/null
+++ b/dot_config/flameshot/flameshot.ini
@@ -0,0 +1,12 @@
1[General]
2contrastOpacity=188
3copyOnDoubleClick=true
4drawColor=#ffffff
5filenamePattern=Snipaste_%F_%H-%M-%S
6saveAfterCopy=true
7saveAsFileExtension=png
8savePath=/home/clarkzjw/Documents/sync/Pictures/Screenshots/2022
9savePathFixed=true
10showHelp=true
11showStartupLaunchMessage=false
12startupLaunch=true
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
190# switch between builtin monitor and external monitors 190# switch between builtin monitor and external monitors
191bindsym F9 exec --no-startup-id ~/.config/i3/scripts/monitor 191bindsym F9 exec --no-startup-id ~/.config/i3/scripts/monitor
192 192
193
194# Backlight control 193# Backlight control
195bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" 194bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%"
196bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" 195bindsym 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
267# Redirect sound to headphones 266# Redirect sound to headphones
268#bindsym $mod+p exec /usr/local/bin/switch-audio-port 267#bindsym $mod+p exec /usr/local/bin/switch-audio-port
269 268
270## App shortcuts 269# App shortcuts
271bindsym $mod+w exec /usr/bin/firefox 270bindsym $mod+w exec /usr/bin/firefox
272bindsym $mod+n exec /usr/bin/thunar 271bindsym $mod+n exec /usr/bin/thunar
273bindsym 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" 272
273# Screenshot
274bindsym Print exec --no-startup-id flameshot gui
275bindsym $mod+Print exec --no-startup-id flameshot full
274 276
275# Power Profiles menu switcher (rofi) 277# Power Profiles menu switcher (rofi)
276bindsym $mod+Shift+p exec --no-startup-id ~/.config/i3/scripts/power-profiles 278bindsym $mod+Shift+p exec --no-startup-id ~/.config/i3/scripts/power-profiles
Powered by cgit v1.2.3 (git 2.41.0)