From e25a21788a82c8e66c8b191f851162f69a2056ff Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Thu, 6 Aug 2026 14:54:32 +0530 Subject: screenshots & i3lock customization & README update --- i3/config | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'i3') diff --git a/i3/config b/i3/config index 7a158fa..04701dc 100644 --- a/i3/config +++ b/i3/config @@ -14,10 +14,23 @@ floating_modifier $mod tiling_drag modifier titlebar bindsym $mod+t exec kitty +bindsym Control+Shift+Escape exec kitty -e btop --force-utf bindsym $mod+q kill - -bindsym $mod+r exec --no-startup-id rofi -show drun -bindsym $mod+Shift+r exec --no-startup-id rofi -show window +bindsym $mod+l exec i3lock --color=282828 --ring-color=83a598 --inside-color=282828 --line-color=282828 --separator-color=282828 --keyhl-color=fabd2f --bshl-color=fb4934 --verif-color=b8bb26 --wrong-color=fb4934 --time-color=ebdbb2 --date-color=a89984 --layout-color=d3869b --clock +bindsym $mod+p exec xwd + +set $shots $HOME/Pictures/Screenshots +bindsym Print exec --no-startup-id \ + mkdir -p "$shots" && \ + scrot "$shots/%Y-%m-%d_%H-%M-%S.png" +bindsym Shift+Print exec --no-startup-id \ + mkdir -p "$shots" && \ + scrot -s "$shots/%Y-%m-%d_%H-%M-%S.png" +bindsym $mod+Print exec --no-startup-id \ + scrot -s -e 'xclip -selection clipboard -t image/png -i "$f" && rm "$f"' + +bindsym $mod+d exec --no-startup-id rofi -show drun +bindsym $mod+Shift+d exec --no-startup-id rofi -show window bindsym $mod+Left focus left bindsym $mod+Down focus down @@ -79,11 +92,8 @@ bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 -# reload the configuration file bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) bindsym $mod+Shift+l 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'" mode "resize" { -- cgit v1.2.3