From 654b749f2a80ea6054bea9017c0f96309ee04f98 Mon Sep 17 00:00:00 2001 From: Gil Portenseigne Date: Fri, 25 Sep 2026 17:34:29 +0200 Subject: [PATCH] encore des configs --- .config/sway/config.d/00-vars.conf | 19 ++++++++++--------- .config/sway/config.d/05-scratchpad.conf | 2 +- .config/sway/config.d/06-theme.conf | 2 +- .config/sway/config.d/07-window-rules.conf | 9 ++++----- .config/sway/config.d/08-launchers.conf | 6 +++--- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.config/sway/config.d/00-vars.conf b/.config/sway/config.d/00-vars.conf index 6750119..a01bfa0 100644 --- a/.config/sway/config.d/00-vars.conf +++ b/.config/sway/config.d/00-vars.conf @@ -28,16 +28,17 @@ set $ws12 "12:" # default apps set $term "footclient" set $browser "export MOZ_ENABLE_WAYLAND=1 && firefox" -set $mailer "export MOZ_ENABLE_WAYLAND=1 && thunderbird" -set $p2p "transmission-gtk" -set $player "$term --title=player --app-id=player mocp" -set $mixer "$term -W 80x25 --title=mixer --app-id=mixer alsamixer" -set $infosbox "xterm -g 110x30 -e 'neowofetch;$SHELL'" -set $infosystem "foot -W 140x40 --title Infos-System btop" +#set $mailer "export MOZ_ENABLE_WAYLAND=1 && thunderbird" +#set $p2p "transmission-gtk" +#set $player "$term --title=player --app-id=player mocp" +#set $mixer "$term -W 80x25 --title=mixer --app-id=mixer alsamixer" +#set $infosbox "xterm -g 110x30 -e 'neowofetch;$SHELL'" +#set $infosystem "foot -W 140x40 --title Infos-System btop" +set $cheatsheet "foot -W 200x200 --title Cheat sway-bindings" # menu by rofi -set $menup "popmenu 0" -set $menud "rofi -modi 'run,drun,ssh' -show run -sidebar-mode" +#set $menup "popmenu 0" +#set $menud "rofi -modi 'run,drun,ssh' -show run -sidebar-mode" # nice locker -set $locker "nakedquit lock" +#set $locker "nakedquit lock" diff --git a/.config/sway/config.d/05-scratchpad.conf b/.config/sway/config.d/05-scratchpad.conf index bbc3e7a..64b53ab 100644 --- a/.config/sway/config.d/05-scratchpad.conf +++ b/.config/sway/config.d/05-scratchpad.conf @@ -4,7 +4,7 @@ # You can send windows there and get them back later. # launch a terminal and move it to scratch at launch -exec --no-startup-id "sleep 10 && $term -t scratch -a scratch -m -e byobu" +#exec --no-startup-id "sleep 10 && $term -t scratch -a scratch -m -e byobu" for_window [app_id="scratch"] floating enable, move absolute position center for_window [app_id="scratch"] move scratchpad diff --git a/.config/sway/config.d/06-theme.conf b/.config/sway/config.d/06-theme.conf index aefae79..f9450d7 100644 --- a/.config/sway/config.d/06-theme.conf +++ b/.config/sway/config.d/06-theme.conf @@ -29,6 +29,6 @@ seat * hide_cursor 5000 exec python3 $HOME/.config/sway/scripts/inactive-windows-transparency.py -o 0.95 # wallpaper -output * bg /home/gil/.local/share/background/layout.jpg fit +#output * bg /home/gil/.local/share/background/layout.jpg fit #exec_always --no-startup-id "$HOME/.config/sway/scripts/wallrdm" #exec --no-startup-id "while $HOME/.config/sway/scripts/wallrdm; do sleep 179; done" diff --git a/.config/sway/config.d/07-window-rules.conf b/.config/sway/config.d/07-window-rules.conf index d4d9ab7..6688835 100644 --- a/.config/sway/config.d/07-window-rules.conf +++ b/.config/sway/config.d/07-window-rules.conf @@ -36,12 +36,11 @@ for_window [class="Sxiv|Nsxiv|Gimp"] title_format " %title" # assign clients to specific workspace # ws1 mail -assign [app_id="thunderbird*"] $ws1 +assign [app_id="thunderbird*|Mattermost*"] $ws1 # ws2 web -assign [app_id="firefox-esr"] $ws2 -assign [class="Firefox-esr|Dillo"] $ws2 -# ws3 irc -assign [app_id="irc|xmpp"] $ws3 +assign [app_id="firefox"] $ws2 +# ws3 dev +assign [app_id="irc|xmpp|jetbrains-idea"] $ws3 # ws4 edit assign [app_id="geany|libreoffice*"] $ws4 # ws5 media diff --git a/.config/sway/config.d/08-launchers.conf b/.config/sway/config.d/08-launchers.conf index e6e5cc5..bce6276 100644 --- a/.config/sway/config.d/08-launchers.conf +++ b/.config/sway/config.d/08-launchers.conf @@ -24,8 +24,8 @@ bindsym $mad+y exec 'grim -g "$(slurp)" - | wl-copy' # apps launchers keybinds bindsym $mad+r exec "$term --title=filer --app-id=filer lf" bindsym $mad+Shift+r exec "pcmanfm --no-desktop" -bindsym $mad+e exec "$term --title=vim --app-id=vim vim" -bindsym $mad+Shift+e exec "geany" +#bindsym $mad+e exec "$term --title=vim --app-id=vim vim" +hindsym $mad+Shift+e exec "geany" bindsym $mad+x exec "foot --title=irc --app-id=irc weechat-curses" bindsym $mad+Shift+x exec "$mailer" bindsym $mad+w exec "$browser" @@ -54,7 +54,7 @@ bindsym XF86MonBrightnessUp exec --no-startup-id "brightnessctl s 5%+" bindsym XF86MonBrightnessDown exec --no-startup-id "brightnessctl s 5%-" # mocp bindings -bindsym $mad+z exec "$player" +#bindsym $mad+z exec "$player" bindsym XF86AudioPrev exec --no-startup-id "mocp --previous" bindsym XF86AudioPlay exec --no-startup-id "mocp --toggle-pause" bindsym XF86AudioNext exec --no-startup-id "mocp --next"