From 2124ed8d5af1d2bc07e74a0213d9f3d9d268b42c Mon Sep 17 00:00:00 2001 From: Berkeley Date: Sun, 4 Feb 2024 07:36:16 +0000 Subject: [PATCH] Upload files to ".config/i3" --- .config/i3/config | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index d624a8d..73890d4 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -4,6 +4,10 @@ # Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # +default_border pixel 1 +default_floating_border pixel 1 +# Autostart picom when starting the i3 window manager +exec_always --no-startup-id picom -b # i3 config file (v4) # @@ -13,7 +17,7 @@ set $mod Mod1 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:iosevka 8 +font pango:iosevka 10 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -22,7 +26,7 @@ font pango:iosevka 8 # Start XDG autostart .desktop files using dex. See also # https://wiki.archlinux.org/index.php/XDG_Autostart exec --no-startup-id dex --autostart --environment i3 -exec_always xrandr --output default --mode 1366x768 +exec_always xrandr --output default --mode 1920x1080 exec_always feh --bg-fill /home/berkeley/Pictures/Wallpapers/1.jpg # The combination of xss-lock, nm-applet and pactl is a popular choice, so # they are included here as an example. Modify as you see fit. @@ -49,8 +53,16 @@ floating_modifier $mod # or left-clicking anywhere into the window while holding the floating modifier. tiling_drag modifier titlebar -# start a terminal -bindsym $mod+Return exec st +#OLDstart a terminal +#OLDbindsym $mod+Return exec alacritty + +#NEW start a terminal (alacritty) +bindsym $mod+Return exec --no-startup-id alacritty +# start a terminal in floating mode +bindsym $mod+Shift+Return exec --no-startup-id alacritty --class floating +#NEW enable startup in float from exec by setting the x11 class to floating +#NEW many apps support '--class floating' for setting the x11 class (the instance get renamed) +for_window [class="floating"] floating enabled move position center # kill focused window bindsym $mod+q kill @@ -97,7 +109,7 @@ bindsym $mod+v split v bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) -#bindsym $mod+s layout stacking +bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split @@ -108,7 +120,7 @@ bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle # focus the parent container -bindsym $mod+a focus parent +#bindsym $mod+a focus parent # focus the child container #bindsym $mod+d focus child @@ -131,14 +143,14 @@ bindsym $mod+c exec chromium bindsym $mod+0 exec steam bindsym $mod+i exec icecat bindsym $mod+l exec libreoffice -bindsym $mod+s exec st +#bindsym $mod+s exec st bindsym $mod+k exec kitty bindsym $mod+t exec terminator bindsym $mod+y exec telegram-desktop bindsym $mod+o exec obs bindsym $mod+p exec openshot-qt bindsym $mod+x exec nomacs - +bindsym $mod+a torbrowser # switch to workspace bindsym $mod+1 workspace number $ws1 bindsym $mod+2 workspace number $ws2 @@ -209,7 +221,9 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - + mode hide + hidden_state hide + modifier Mod1 }