From 60e381cd0fabcb0817eb35d5bee090c2a96b5b49 Mon Sep 17 00:00:00 2001 From: David Aizenberg Date: Sat, 18 Apr 2020 22:28:02 +0300 Subject: [PATCH] changes --- desktop/i3/config | 40 ++++++++++++-------------- desktop/i3blocks.conf => i3blocks.conf | 5 ++++ laptop/i3/config | 16 +++++++++-- 3 files changed, 38 insertions(+), 23 deletions(-) rename desktop/i3blocks.conf => i3blocks.conf (90%) diff --git a/desktop/i3/config b/desktop/i3/config index 24e9dda..c3457b9 100644 --- a/desktop/i3/config +++ b/desktop/i3/config @@ -16,22 +16,16 @@ set $super Mod4 # is used in the bar {} block below. font pango:monospace 8 -exec --no-startup-id compton - #exec feh --bg-fill /home/david/Pictures/Wallpapers/ellie_full.jpg -exec_always feh --bg-max /home/david/Pictures/wall.jpg +exec feh --bg-fill /home/david/Pictures/wall.png exec setxkbmap -layout gb,ru -variant ,winkeys -option grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp,compose:ralt -exec /home/david/.screenlayout/main.sh + # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). #font pango:DejaVu Sans Mono 8 -# Force mpv to left-most screen -for_window [class="mpv"] move to workspace 1 - - # Before i3 v4.8, we used to recommend this one as the default: # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 # The font above is very space-efficient, that is, it looks good, sharp and @@ -56,9 +50,6 @@ bindsym $mod+Return exec i3-sensible-terminal # kill focused window bindsym $mod+Shift+q kill -#bindsym --release Print exec scrot -s ~/Pictures/Screenshots/%b%d::%H%M%S.png -bindsym --release Print exec scrot -s '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' - # start dmenu (a program launcher) bindsym $mod+d exec dmenu_run # There also is the (new) i3-dmenu-desktop which only displays applications @@ -116,8 +107,6 @@ bindsym $mod+a focus parent # focus the child container #bindsym $mod+d focus child -workspace_auto_back_and_forth yes - # switch to workspace bindsym $mod+1 workspace 1 bindsym $mod+2 workspace 2 @@ -129,8 +118,6 @@ bindsym $mod+7 workspace 7 bindsym $mod+8 workspace 8 bindsym $mod+9 workspace 9 bindsym $mod+0 workspace 10 -bindsym $mod+c workspace tg - # move focused container to workspace bindsym $mod+Shift+1 move container to workspace 1 @@ -143,7 +130,6 @@ bindsym $mod+Shift+7 move container to workspace 7 bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+0 move container to workspace 10 -bindsym $mod+Shift+c move container to workspace tg # mocp #bindsym $mod+Shift+j exec "/usr/bin/mocp -G" @@ -151,10 +137,9 @@ bindsym $mod+p exec "/usr/bin/mocp -G" bindsym $mod+k exec "/usr/bin/mocp -f" bindsym $mod+j exec "/usr/bin/mocp -r" -#bindsym $super+l exec i3lock -i /home/david/Pictures/wall.png -bindsym $super+l exec i3lock-fancy & sleep 1 && xset dpms force off +bindsym $super+l exec i3lock -i /home/david/Pictures/wall.png # reload the configuration file -#bindsym $mod+Shift+c reload +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) @@ -187,7 +172,20 @@ mode "resize" { bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) bar { - status_command i3blocks -c /home/david/.config/i3blocks.conf