From 53ca88dc37f31337da8e92b97efe6e01ef5461f0 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Wed, 10 May 2023 01:27:39 +0300 Subject: [PATCH] Locking --- i3/config | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/i3/config b/i3/config index d5ccc09..6ac1971 100644 --- a/i3/config +++ b/i3/config @@ -22,10 +22,10 @@ bindsym $mod+Shift+q kill bindcode $mod+40 exec "rofi -show combi" # change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+odiaeresis focus right +#bindsym $mod+j focus left +#bindsym $mod+k focus down +#bindsym $mod+l focus up +#bindsym $mod+odiaeresis focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left bindsym $mod+Down focus down @@ -143,7 +143,7 @@ font pango:fira code 12 # ------------------------- COLORS ------------------------- set $fg-color #fdfff1 -set $bg-color #272821 +set $bg-color #272822 set $contrast-color #3b3c35 set $red-color #f82570 set $green-color #a6e12d @@ -191,3 +191,5 @@ exec --no-startup-id discord bindsym --release Print exec "aika=$(date +%s);paiva=$(date +%y-%m-%d);kansio=~/Kuvat/scrot;mkdir -p $kansio;filu=$kansio/kuvakaappaus$aika.png;import $filu;xclip -selection clipboard -t image/png -i $filu" bindsym --release Mod4+Print exec "aika=$(date +%s);paiva=$(date +%y-%m-%d);kansio=~/Kuvat/scrot;mkdir -p $kansio;filu=$kansio/kuvakaappaus$aika.png;import -window root $filu;xclip -selection clipboard -t image/png -i $filu" bindsym --release Mod1+Sys_Req exec "winid=$(xwininfo | awk '{print $4}' | grep -i 0x);aika=$(date +%s);paiva=$(date +%y-%m-%d);kansio=~/Kuvat/scrot;mkdir -p $kansio;filu=$kansio/kuvakaappaus$aika.png;import -window $winid $filu;xclip -selection clipboard -t image/png -i $filu" + +bindsym $mod+l exec "i3lock -c 272821"