From f4140dc0fdc0ca9e384ab4592df70ecd46a4aca3 Mon Sep 17 00:00:00 2001 From: Tobias Sachs Date: Sat, 6 May 2023 10:51:24 +0200 Subject: [PATCH] restore i3 config --- stow/i3/.config/i3/config | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/stow/i3/.config/i3/config b/stow/i3/.config/i3/config index 095359c..a398b95 100644 --- a/stow/i3/.config/i3/config +++ b/stow/i3/.config/i3/config @@ -29,16 +29,17 @@ bindsym $mod+Control+l exec --no-startup-id i3lock # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. -exec waybar exec dunst -#exec --no-startup-id /usr/bin/pasystray +exec --no-startup-id nm-applet +exec --no-startup-id /usr/bin/pasystray exec --no-startup-id ~/.bin/touchpad.sh -#exec --no-startup-id /usr/bin/xfce4-power-manager -exec --no-startup-id firefox +exec --no-startup-id /usr/bin/xfce4-power-manager +exec --no-startup-id /usr/bin/firefox # exec --no-startup-id /usr/bin/x2goclient exec --no-startup-id "sleep 10; /usr/bin/nextcloud" exec --no-startup-id "sleep 12; /usr/bin/pass git pull" exec --no-startup-id nitrogen --set-zoom-fill --random ~/.walls/ +exec --no-startup-id "/usr/bin/setxkbmap -option grp:alt_shift_toggle us,de" default_border pixel 6 default_floating_border pixel 6 @@ -58,7 +59,7 @@ floating_modifier $mod bindsym $mod+Return exec ~/.bin/sensible-terminal.sh bindsym $mod+Shift+d exec /usr/bin/dolphin bindsym $mod+Shift+f exec firefox -#bindsym $mod+space exec "DISPLAY=:0 setxkbmap -query | grep 'layout:.*us' && setxkbmap de || setxkbmap us" +bindsym $mod+space exec "DISPLAY=:0 setxkbmap -query | grep 'layout:.*us' && setxkbmap de || setxkbmap us" # start a terminal # use hefault and hope for the best. ... # bindsym $mod+Return exec /usr/bin/gnome-terminal @@ -167,32 +168,31 @@ bindsym $mod+Shift+0 move container to workspace number $ws10 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+e exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your X session.' -B 'Yes, exit sway' 'i3-msg exit'" +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'" bindsym $mod+Shift+Control+e exec "shutdown -h now" mode "resize" { -# These bindings trigger as soon as you enter the resize mode + # These bindings trigger as soon as you enter the resize mode -# Pressing left will shrink the window’s width. -# Pressing right will grow the window’s width. -# Pressing up will shrink the window’s height. -# Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym h resize shrink width 10 px or 10 ppt bindsym j resize grow height 10 px or 10 ppt bindsym k resize shrink height 10 px or 10 ppt bindsym l resize grow width 10 px or 10 ppt -# same bindings, but for the arrow keys + # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt -# back to normal: Enter or Escape or $mod+r + # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" bindsym Escape mode "default" bindsym $mod+r mode "default" @@ -203,7 +203,7 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { -#status_command ~/.bin/i3status.sh + status_command ~/.bin/i3status.sh # status_command i3status } @@ -249,8 +249,3 @@ client.background #1b1b1b #353535 #f0f0f0 #9FA0FF for_window [window_role="About"] floating enable for_window [class="vlc"] floating enable - -input type:keyboard { - xkb_layout us,de - xkb_options grp:win_space_toggle -} -- 2.39.2