switch to fuzzel launcher and fix swaylock color

Replace wmenu with fuzzel configured in the sway color palette.
Fix swaylock background from tokyo night #1a1b26 to #0a0a0a.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 18:29:49 +02:00
co-authored by Claude Sonnet 4.6
parent 43ae60d979
commit e05c2566ba
3 changed files with 111 additions and 18 deletions
+17
View File
@@ -0,0 +1,17 @@
[main]
terminal=foot
width=30
lines=10
anchor=center
[colors]
background=0a0a0aff
text=f3eeeaff
match=cd0a00ff
selection=cd0a00ff
selection-text=f3eeeaff
border=cd0a00ff
[border]
width=2
radius=4
+25 -12
View File
@@ -1,4 +1,5 @@
set $mod Mod4
floating_modifier $mod normal
set $left h
set $right l
set $up k
@@ -8,11 +9,15 @@ set $white #f3eeea
set $black #0a0a0a
set $term foot
set $menu wmenu-run
set $menu fuzzel
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP DISPLAY
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP DISPLAY
exec "foot --server"
exec lxqt-policykit-agent
exec mako
output * bg ~/Pictures/henri.jpg fill
output * bg ~/Pictures/nixgirl.png fill
input type:keyboard {
xkb_layout "se"
@@ -23,6 +28,7 @@ input type:keyboard {
input type:touchpad {
tap enabled
natural_scroll enabled
scroll_factor 0.3
}
default_border pixel
@@ -70,10 +76,10 @@ bindsym $mod+Shift+8 move container to workspace number 8
mode "resize" {
bindsym Right resize shrink width 50px
bindsym Up resize grow height 50px
bindsym Down resize shrink height 50px
bindsym Left resize grow width 50px
bindsym Right resize grow width 50px
bindsym Left resize shrink width 50px
bindsym Down resize grow height 50px
bindsym Up resize shrink height 50px
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
@@ -81,13 +87,20 @@ mode "resize" {
bindsym $mod+r mode "resize"
gaps inner 10
exec_always pkill waybar; waybar
exec_always sh -c 'pkill waybar; waybar'
bindsym XF86AudioRaiseVolume exec wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym $mod+Shift+s exec 'grim -l 0 -g "$(slurp)" - | wl-copy'
bindsym $mod+Alt+s exec 'mkdir -p ~/Pictures/Screenshots && grim -l 0 -g "$(slurp)" ~/Pictures/Screenshots/$(date +"%Y-%m-%d_%H-%M-%S").png'
bindsym $mod+Alt+s exec 'mkdir -p ~/Pictures/Screenshots && grim -l 0 -g "$(slurp)" - | satty --filename - --output-filename ~/Pictures/Screenshots/$(date +"%Y-%m-%d_%H-%M-%S").png'
exec swayidle -w \
timeout 300 'swaylock -f -c 1a1b26' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 1a1b26'
timeout 300 'swaylock -f -c 0a0a0a' \
timeout 600 'swaymsg "output * dpms off"; wpctl set-mute @DEFAULT_AUDIO_SINK@ 1' \
resume 'swaymsg "output * dpms on"; wpctl set-mute @DEFAULT_AUDIO_SINK@ 0' \
before-sleep 'swaylock -f -c 0a0a0a'