autotiling
nwg-panel
autotiling | nwg-panel | |
---|---|---|
42 | 23 | |
894 | 619 | |
- | - | |
5.9 | 9.1 | |
4 months ago | 16 days ago | |
Python | Python | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
autotiling
-
I cannot write "^" in the terminal
# i1 config file (v4) # # Please see https://i3wm.org/docs/userguide.html for a complete reference! # # This config file uses keycodes (bindsym) and was written for the QWERTY # layout. # # To get a config file with the same key positions, but for your current # layout, use the i3-config-wizard # The modifier used all along this configuration file. It is the super key. # Mod1 = Alt, Mod4 = super set $mod Mod4 # local conf. Differ depending on the computer include ~/.config/i3/local.conf # A nice autotiling # needs to use the script in https://github.com/nwg-piotr/autotiling exec_always --no-startup-id autotiling # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. # font pango:monospace 12 # 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 14 # 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 # 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. # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork # 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 --no-startup-id nm-applet # use these keys for focus, movement, and resize directions when reaching for # the arrows is not convenient set $up k set $down j set $left h set $right l # use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # start a terminal bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+t exec i3-sensible-terminal # start applications # bindsym $mod+Shift+f exec firefox # bindsym $mod+Shift+z exec zathura # terminal applications # Cause i use konsole terminal... # bindsym $mod+Shift+r exec konsole -e ranger # bindsym $mod+Shift+n exec konsole -e nvim # kill focused window bindsym $mod+Shift+q kill # start dmenu (a program launcher) # bindsym $mod+d exec --no-startup-id dmenu_run # A more modern dmenu replacement is rofi: set $rofi exec "rofi -modi drun,run -show drun -show-icons" # some added scripts set $rofi_scripts ~/.config/rofi bindsym $mod+d exec "rofi -modi drun,run -show drun -show-icons" # doesn't work bindsym $mod+b exec $rofi_scripts/i3_switch_workspace.sh bindsym $mod+Shift+b exec "rofi -show window -show-icons" # There also is i3-dmenu-desktop which only displays applications shipping a # .desktop file. It is a wrapper around dmenu, so you need that installed. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # change focus bindsym $mod+$left focus left bindsym $mod+$down focus down bindsym $mod+$up focus up bindsym $mod+$right focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window bindsym $mod+Shift+$left move left bindsym $mod+Shift+$down move down bindsym $mod+Shift+$up move up bindsym $mod+Shift+$right move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation bindsym $mod+Shift+v split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # focus the parent container bindsym $mod+a focus parent # focus the child container bindsym $mod+z focus child # Show the next scratchpad window or hide the focused scratchpad window. # If there are multiple scratchpad windows, this command cycles through them. bindsym $mod+c scratchpad show # move the currently focused window to the scratchpad bindsym $mod+Shift+c move scratchpad # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. set $ws1 "1" set $ws2 "2" set $ws3 "3" set $ws4 "4" set $ws5 "5" set $ws6 "6" set $ws7 "7" set $ws8 "8" set $ws9 "9" set $ws10 "10" # switch to workspace bindsym $mod+1 workspace number $ws1 bindsym $mod+2 workspace number $ws2 bindsym $mod+3 workspace number $ws3 bindsym $mod+4 workspace number $ws4 bindsym $mod+5 workspace number $ws5 bindsym $mod+6 workspace number $ws6 bindsym $mod+7 workspace number $ws7 bindsym $mod+8 workspace number $ws8 bindsym $mod+9 workspace number $ws9 bindsym $mod+0 workspace number $ws10 #navigate workspaces next / previous, as for the navigation after the f/t bindsym $mod+semicolon workspace next bindsym $mod+comma workspace prev # move focused container to workspace bindsym $mod+Shift+1 move container to workspace number $ws1 bindsym $mod+Shift+2 move container to workspace number $ws2 bindsym $mod+Shift+3 move container to workspace number $ws3 bindsym $mod+Shift+4 move container to workspace number $ws4 bindsym $mod+Shift+5 move container to workspace number $ws5 bindsym $mod+Shift+6 move container to workspace number $ws6 bindsym $mod+Shift+7 move container to workspace number $ws7 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 # For example, if you are on the workspace 1 and you hit $mod+2, you’ll switch to workspace 2. # Then, if you hit $mod+2 again, you’ll go back to your previous workspaces, workspace 1. workspace_auto_back_and_forth no # reload the configuration file # bindsym $mod+Shift+c reload bindsym $mod+r restart # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # exit i3 (logs you out of your X session) 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'" # resize window (you can also use the mouse for that) mode "resize" { # 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 $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 # 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 bindsym Return mode "default" bindsym Escape mode "default" bindsym $mod+r mode "default" } bindsym $mod+Shift+s mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { font pango:Exo2, FontAwesome5Free, FontAwesome5Brands, SymbolsNerdFont 12 status_command i3blocks position bottom } # for polybar # exec_always --no-startup-id $HOME/polybar-collection/launch.sh # a mode to exit, more practical that the $mod+Shift+e that forces the use of mouse. mode "exit: [l]ogout, [r]eboot, [s]hutdown" { bindsym l exec i3-msg exit bindsym r exec systemctl reboot bindsym s exec systemctl poweroff bindsym Escape mode "default" bindsym Return mode "default" bindsym $mod+x mode "default" } # I added fullscreen disable in order for the message to always be visible bindsym $mod+x fullscreen disable mode "exit: [l]ogout, [r]eboot, [s]hutdown" # command to rename current workspace, n for 'name' # NOT A GOOD IDEA. Would break the usefullness of the binding for workspaces 1,2,3... # bindsym $mod+n exec i3-input -F 'rename workspace to "%s"' -P 'New workspace name: ' # bindsym $mod+Shift+n exec i3-input -F 'title_format "%s"' -P 'New windows name: ' # configure gaps gaps inner 5 gaps outer 5 # need to be installed! config file in /etc/xdg/picom.conf # used by flashfocus exec_always --no-startup-id picom # See https://github.com/fennerm/flashfocus/wiki exec_always --no-startup-id flashfocus # flashfocus can also be bound to a keystroke. # bindsym $mod+n exec --no-startup-id flash_window # Not really for i3, but to put zathura as default viewer: # source https://wiki.archlinux.org/title/zathura # xdg-mime default org.pwmt.zathura.desktop application/pdf
-
Is there a way to customize how new windows are gonna be arranged on creation?
Check out https://github.com/nwg-piotr/autotiling I think I even left the configuration as is and the tiling is much better now.
- Change windows layout
-
Master and stack layout, similar to dwm
autotiling --limit 2 is close enough https://github.com/nwg-piotr/autotiling
-
I am struggling with fully understanding how i3 will tile
If you do want some "smart" behaviour as to how a new window will split automatically, try the autotiling script.
-
Dynamic tiling WM with easier config like i3?
https://github.com/nwg-piotr/autotiling does it work for you?
-
Outside of Sway, are there any mature tiling window managers that are compatible with Wayland?
Autotiling for i3 and Sway
-
nwg-shell 0.3.8 released
Original depth limit feature contributed to the Autotiling repository by @Syphdias.
-
How do you like sway
If you want to stay on sway you can try autotiling.
-
People who uses i3 (or any wm) do you use only one monitor, or you have a multiple monitors setup?
Have tried lots of window managers including awesome, but there's always something annoying that sends me back to i3. I use this to solve the problems you're referring to: https://github.com/nwg-piotr/autotiling
nwg-panel
-
nwg-panel 0.9.19
Release notes
-
Is there any bar for Sway similar to the panels of KDE / Xfce / Gnome2 / Windows ? I wish to always see on my screen which windows I have open, shown and focused.
It's possible I most bars/panels, I reckon. The screenshot comes from nwg-panel.
-
nwg-iso 2023.12.02
nwg-panel 0.9.18;
-
nwg-panel 0.9.10
Controls: ensure that last refresh is finished before starting the next one #239 by @MoetaYuko, hopefully closes #225;
-
nwg-panel 0.9.8
Added support for signals in range SIRTMIN > signal_number <= SIGRTMAX to hide/show panels. The signal number (= SIGRTMAX by default) must be defined for each panel separately. Requested in #234.
- nwg-panel 0.9.7
-
Hi, I planned to move from Gnome to Sway. But there is three shortcut from Gnome manager I use EVERY DAY. There is a way to use it into sway or a good alternative ?
Maybe nwg-panel would help? https://github.com/nwg-piotr/nwg-panel
-
nwg-panel Hyprland taskbar module ready for testing
The HyprlandTaskbar module for nwg-panel is available for testing (merged into the master branch). Arch Linux users may just install the nwg-panel-git package from AUR.
-
custom nwg-panel
custom nwg-panel by Piotr Miller ( https://github.com/nwg-piotr/nwg-panel ). A very nice gtc panel with the ability to edit the config via a graphical interface and support for svg icons and css.
-
nwg-panel 0.7.17 released
More info: https://github.com/nwg-piotr/nwg-panel/releases/tag/v0.7.17
What are some alternatives?
i3-auto-layout - Automatic, optimal tiling for i3wm
Waybar - Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
river - [mirror] A dynamic tiling Wayland compositor
nwg-launchers - GTK-based launchers: application grid, button bar, dmenu for sway and other window managers
swayscripts - A collection of Scripts useful for swaywm
nwg-shell - Installer & meta-package for the nwg-shell project: a GTK3-based shell for sway and Hyprland Wayland compositors
autotiling-rs - Autotiling for sway (and possibly i3)
Sway-DE - 🏠 Sway desktop environment dotfile installation for Arch Linux
swaymgr - Sway autotiling manager
nwg-dock - GTK3-based dock for sway
i3wm-themer - 🎨 Theme collection manager for i3-wm
nwg-wrapper - Wrapper to display a script output or a text file content on the desktop in sway or other wlroots-based compositors