From 1ca9bd8345e5b61582700ae98f0824ae4ce50f9d Mon Sep 17 00:00:00 2001 From: scbj Date: Thu, 19 Sep 2024 09:38:41 +0200 Subject: [PATCH 1/2] rofi starts on focues screen now --- rofi/.config/rofi/config.rasi | 1 + 1 file changed, 1 insertion(+) 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 { From da6571b0cfd07c93b1407d89529cdfd3b55622d7 Mon Sep 17 00:00:00 2001 From: scbj Date: Fri, 20 Sep 2024 09:23:48 +0200 Subject: [PATCH 2/2] added screenshot shortcuts.. again. --- i3/.config/i3/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 10494c3..3f5e0be 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -168,6 +168,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 #