fix(session): repair active desktop configuration

This commit is contained in:
fy59 2026-09-25 05:46:05 +02:00
parent 60a00adf8e
commit 72c663f719
5 changed files with 21 additions and 12 deletions

View file

@ -12,11 +12,11 @@ exec python3 ~/.config/sway/scripts/inactive-windows-transparency.py
# Règles d'assignation automatique # Règles d'assignation automatique
# ================================================= # =================================================
assign [class="Spotify"] workspace 10 assign [app_id="limusic-app"] workspace 10
# ================================================= # =================================================
# Lancement des applications # Lancement des applications
# ================================================= # =================================================
exec spotify-launcher exec limusic-app
exec autotiling exec autotiling

View file

@ -17,7 +17,7 @@ set $term kitty
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
# Kill focused window # Kill focused window
bindsym $mod+q kill bindsym $mod+q exec ~/.local/bin/sway-close
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod. # Resize them with right mouse button + $mod.
@ -204,7 +204,7 @@ bindsym $mod+Alt+i exec ~/.local/bin/vmware-on-demand
bindsym $mod+Alt+f exec firefox bindsym $mod+Alt+f exec firefox
bindsym $mod+Alt+a exec AppFlowy bindsym $mod+Alt+a exec AppFlowy
bindsym $mod+Alt+g exec gimp bindsym $mod+Alt+g exec gimp
bindsym $mod+Alt+m exec spotify-launcher bindsym $mod+Alt+m exec limusic-app
bindsym $mod+Alt+b exec blueman-manager bindsym $mod+Alt+b exec blueman-manager
bindsym $mod+Alt+o exec swaylock bindsym $mod+Alt+o exec swaylock
bindsym $mod+Alt+l exec wofi --cache-file=/dev/null -Dimage_size=26 -Dynamic_lines=true --location top --yoffset=10 --width=600 --height=300 --gtk-dark --show drun bindsym $mod+Alt+l exec wofi --cache-file=/dev/null -Dimage_size=26 -Dynamic_lines=true --location top --yoffset=10 --width=600 --height=300 --gtk-dark --show drun
@ -213,10 +213,11 @@ bindsym $mod+Alt+t exec ~/.local/bin/thunderbird-proton
bindsym $mod+Alt+y exec kitty -- sh -c "yazi" bindsym $mod+Alt+y exec kitty -- sh -c "yazi"
bindsym $mod+Alt+w exec gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default bindsym $mod+Alt+w exec gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default
bindsym $mod+Alt+v exec ~/.config/sway/scripts/copypast bindsym $mod+Alt+v exec ~/.config/sway/scripts/copypast
bindsym $mod+Alt+c exec freecad bindsym $mod+Alt+c exec --no-startup-id kitty --app-id=lardon-freecad-log --title="Lardon · FreeCAD autopush" --directory=/home/fy59/Documents/Lardon /home/fy59/Documents/Lardon/tools/lardon-freecad-launcher
bindsym $mod+Alt+s exec sqlitebrowser bindsym $mod+Alt+s exec sqlitebrowser
bindsym $mod+Alt+e exec sh -c 'cd /home/fy59/Documents/Enquetes/Template/labfy-investigation && exec ./labfy-investigation' bindsym $mod+Alt+e exec sh -c 'cd /home/fy59/Documents/Enquetes/Template/labfy-investigation && exec ./labfy-investigation'
bindsym $mod+Alt+n exec ~/.local/bin/nextcloud-sync bindsym $mod+Alt+n exec ~/.local/bin/nextcloud-sync
bindsym $mod+c exec codex-desktop
############################################### ###############################################
# #
@ -238,7 +239,6 @@ bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png
# Power Daemon # Power Daemon
# #
############################################### ###############################################
bindsym $mod+F9 exec powerprofilesctl set power-saver bindsym $mod+F9 exec tlpctl power-saver
bindsym $mod+F10 exec powerprofilesctl set balanced bindsym $mod+F10 exec tlpctl balanced
bindsym $mod+F11 exec powerprofilesctl set performance bindsym $mod+F11 exec tlpctl performance

View file

@ -8,3 +8,12 @@
for_window [app_id="blueman-manager"] floating enable, resize set 40ppt 40ppt, move position center for_window [app_id="blueman-manager"] floating enable, resize set 40ppt 40ppt, move position center
for_window [app_id="Proton Pass"] floating enable, resize set 40ppt 40ppt, move position right top for_window [app_id="Proton Pass"] floating enable, resize set 40ppt 40ppt, move position right top
#=================================================
# Lardon
#=================================================
for_window [app_id="lardon-freecad-log"] floating enable
for_window [app_id="lardon-freecad-log"] resize set width 850 px height 360 px
for_window [app_id="lardon-freecad-log"] move position center
for_window [app_id="lardon-freecad-log"] border pixel 2

View file

@ -24,7 +24,7 @@
exec_always { exec_always {
gsettings set $gnome-schema font-name 'jetbrains mono nerd font 12' gsettings set $gnome-schema font-name 'jetbrains mono nerd font 12'
gsettings set $gnome-schema color-scheme 'prefer-dark' gsettings set $gnome-schema color-scheme 'prefer-dark'
gsettings get $gnome-schema icon-theme 'Tela-circle-blue' gsettings set $gnome-schema icon-theme 'Tela-circle-blue'
} }
set $cursor_theme Bibata-Modern-Classic set $cursor_theme Bibata-Modern-Classic
@ -40,5 +40,5 @@ seat seat0 xcursor_theme $cursor_theme $cursor_size
# Set inner/outer gaps # Set inner/outer gaps
gaps inner 8 gaps inner 5
gaps outer 0 gaps outer 0

View file

@ -4,7 +4,7 @@ PartOf=graphical-session.target
After=graphical-session.target After=graphical-session.target
[Service] [Service]
ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -c 000000' timeout 360 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'playerctl pause; swaylock -f -c 000000' ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -c 000000' timeout 360 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' timeout 420 'playerctl -a pause 2>/dev/null || true' idlehint 420 before-sleep 'playerctl -a pause 2>/dev/null || true; swaylock -f -c 000000'
Restart=on-failure Restart=on-failure
[Install] [Install]