diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 8d36aab..6477b2b 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -172,6 +172,10 @@ bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" +# take screenshots +bindsym $mod+s exec --no-startup-id maim -su | xclip -selection clipboard -t image/png +bindsym $mod+Shift+s exec --no-startup-id maim -su "/home/${USER}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png" + ######################### # configuring behaviour # diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi index f0ff6d7..96e97c3 100644 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -4,6 +4,7 @@ configuration { modes: "combi,window,run,ssh"; combi-modes: "drun,run,ssh"; + monitor: -1; terminal: "alacritty"; case-sensitive: false; timeout {