2 Angajamente 1a2c72b6ed ... 3731097d7d

Autor SHA1 Permisiunea de a trimite mesaje. Dacă este dezactivată, utilizatorul nu va putea trimite nici un fel de mesaj Data
  Casey DeLorme 3731097d7d fix userspace services 11 luni în urmă
  Casey DeLorme 354e91bc8b update floating window settings 1 an în urmă

+ 0 - 4
arch.sh

@@ -228,10 +228,6 @@ update-desktop-database
 # generate default (passwordless) ed25519 ssh key if none exists
 su $username -c "cd; if [ ! -f ~/.ssh/id_ed25519 ]; then ssh-keygen -q -t ed25519 -N '' -f ~/.ssh/id_ed25519 && cd && chmod 600 ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519.pub; fi"
 
-# enable userspace systemd units
-su $username -c "cd; systemctl --user enable wireplumber.service"
-su $username -c "cd; systemctl --user enable gamemoded.service"
-
 # install gvm loading from ~/.bashrc & ~/.bash_profile, and the latest go version
 su $username -c "if [ ! -d ~/.gvm ]; then GVM_NO_UPDATE_PROFILE=1 bash < <(curl -Ls https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer 2> /dev/null); fi"
 su $username -c 'grep "gvm" ~/.bash_profile &> /dev/null || echo -e "\n# load gvm\n[ -s $HOME/.gvm/scripts/gvm ] && . $HOME/.gvm/scripts/gvm" >> ~/.bash_profile'

+ 28 - 2
install/etc/skel/.config/sway/config

@@ -125,17 +125,43 @@ bindsym $mod+m exec pactl set-source-mute @DEFAULT_SOURCE@ 0 # mute mic
 bindsym --release $mod+m exec pactl set-source-mute @DEFAULT_SOURCE@ 1 # unmute mic
 bindsym $mod+Shift+m exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
 
+# Tag xwayland windows with [X]
+for_window [shell="xwayland"] title_format "<span>[X] %title゜</span>"
+
 # classify sane defaults for window management
+for_window [window_role="About"] floating enable
 for_window [window_role="pop-up"] floating enable
 for_window [window_role="bubble"] floating enable
+for_window [window_role="dialog"] floating enable
 for_window [window_role="task_dialog"] floating enable
 for_window [window_role="Preferences"] floating enable
+
 for_window [window_type="dialog"] floating enable
 for_window [window_type="menu"] floating enable
-for_window [window_role="About"] floating enable
+
 for_window [class="xdg-desktop-portal-kde"] floating enable
 for_window [class="Wine"] floating enable
-for_window [app_id="lutris"] floating enable
+
+for_window [app_id="pavucontrol"] floating enable
+for_window [app_id="floating"] floating enable
+
+for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
+for_window [title="Save File"] floating enable
+for_window [title="^Open File$"] floating enable
+for_window [title="Firefox - Choose User Profile" ] floating enable
+for_window [title="About Mozilla Firefox"] floating enable
+
+# https://github.com/ValveSoftware/steam-for-linux/issues/1040
+for_window [class="^Steam$" title="^Friends$"] floating enable
+for_window [class="^Steam$" title="Steam - News"] floating enable
+for_window [class="^Steam$" title=".* - Chat"] floating enable
+for_window [class="^Steam$" title="^Settings$"] floating enable
+for_window [class="^Steam$" title=".* - event started"] floating enable
+for_window [class="^Steam$" title=".* CD key"] floating enable
+for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
+for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
+for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
+for_window [title="^Steam Keyboard$"] floating enable
 
 # @reference: man 5 sway-bar
 # @note: we now launch waybar via systemctl --user enable waybar.service

+ 1 - 0
install/etc/skel/.config/systemd/user/default.target.wants/gamemoded.service

@@ -0,0 +1 @@
+/usr/lib/systemd/user/gamemoded.service

+ 1 - 0
install/etc/skel/.config/systemd/user/pipewire-session-manager.service

@@ -0,0 +1 @@
+/usr/lib/systemd/user/wireplumber.service

+ 1 - 0
install/etc/skel/.config/systemd/user/pipewire.service.wants/wireplumber.service

@@ -0,0 +1 @@
+/usr/lib/systemd/user/wireplumber.service