Update .config/sway/config.d/application_defaults

Update .config/sway/config.d/autostart_applications
This commit is contained in:
Kasper Juul Hermansen 2024-12-18 22:30:48 +01:00
parent 7799fbfa04
commit 3295a6339a
2 changed files with 28 additions and 10 deletions

View File

@ -1,10 +1,12 @@
# Assign workspaces # Assign workspaces
assign [app_id="firefox"] 2 assign [app_id="firefox"] 2
for_window [app_id="firefox"] focus for_window [app_id="firefox"] focus
assign [class="firefox"] 2 assign [class="firefox"] 2
for_window [class="firefox"] focus for_window [class="firefox"] focus
assign [app_id="zen-alpha"] 2
for_window [app_id="zen-alpha"] focus
assign [class=Element] 3 assign [class=Element] 3
for_window [class="Element"] focus for_window [class="Element"] focus
@ -51,8 +53,11 @@ for_window [app_id="xsensors"] floating enable
for_window [title="Save File"] floating enable for_window [title="Save File"] floating enable
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
for_window [class ="Google-chrome"] floating disable for_window [class ="Google-chrome"] floating disable
for_window [title="waybar_htop"] floating enable, resize set width 70 ppt height 70 ppt
for_window [title="waybar_nmtui"] floating enable
# Inhibit idle # Inhibit idle
for_window [app_id="firefox"] inhibit_idle fullscreen for_window [app_id="firefox"] inhibit_idle fullscreen
for_window [app_id="zen-alpha"] inhibit_idle fullscreen
for_window [app_id="Chromium"] inhibit_idle fullscreen for_window [app_id="Chromium"] inhibit_idle fullscreen
for_window [class="steam_app_582010"] inhibit_idle fullscreen for_window [class="steam_app_582010"] inhibit_idle fullscreen

View File

@ -1,21 +1,34 @@
# Auth with polkit-gnome: # Auth with polkit-gnome:
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# Import environment variables for user systemd service manager
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
# Update dbux environments with display variables
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
# Desktop notifications # Desktop notifications
exec mako exec mako
exec fcitx5 # Start foot server
exec_always --no-startup-id foot --server
# Autotiling
exec autotiling
# cliphist
exec wl-paste --type text --watch cliphist store
exec wl-paste --type image --watch cliphist store
# Network Applet # Network Applet
exec nm-applet --indicator exec nm-applet --indicator
# GTK3 applications take a long time to start # Firewall Applet
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec sleep 2 && firewall-applet
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
# Welcome App
exec dex -a -s /etc/xdg/autostart/:~/.config/autostart/
# Sway Fader # Sway Fader
# exec python3 ~/.config/sway/scripts/swayfader.py # exec python3 ~/.config/sway/scripts/swayfader.py
# nwg-drawer
exec_always nwg-drawer -r -c 7 -is 90 -mb 10 -ml 50 -mr 50 -mt 10