Agregar a sway en /etc/sway/config
para moverse al último workspace
Una vez dejaron de andar los shortcuts de sway por xdg-desktop-portal
, así que si te pasa eso borralo de /etc/sway/config
y reiniciá la PC (reinciando sway no funciona).
sudo pacman -S xdg-desktop-portal xdg-desktop-portal-wlr
# PARA OBS
# Set XDG_CURRENT_DESKTOP for proper Wayland support
# No me sirvió
exec --no-startup-id dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
# Start xdg-desktop-portal services (ensure wlr starts first)
# No me sirvió
# exec --no-startup-id /usr/lib/xdg-desktop-portal-wlr &
# exec --no-startup-id /usr/lib/xdg-desktop-portal -r
#### Me sirvió
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DISPLAY
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
assign [app_id="falkon"] → 3
assign [app_id="telegram-desktop"] → 3
assign [app_id="whatsie"] → 2
assign [app_id="smtube"] → 2
assign [app_id="thunderbird"] → 4
exec falkon
exec foot
exec foot
exec telegram-desktop
exec smtube
exec whatsie
exec thunderbird
bindsym --locked XF86HomePage exec firefox
bindsym --locked XF86AudioPlay exec smtube
bindsym --locked XF86Mail exec thunderbird
#### Para cambiar workspaces TAB.
bindsym $mod+Tab workspace back_and_forth
input * {
xkb_layout "es"
}
Y en reemplazá el status_command
por la siguiente línea para que muestre información sobre la batería:
status_command while true; do echo "Battery: $(cat /sys/class/power_supply/BAT1/capacity)% $(date +'%Y-%m-%d %X')"; sleep 1; done
https://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols
To resize windows, you must enter resize mode, with the Mod + R keybinding. After you enter resize mode you can resize windows with Left/Right/Up/Down keys, and press enter or escape to return to default mode.