feat(sway): swayfx stuff

This commit is contained in:
Paul Fey 2025-03-21 14:46:17 +01:00
parent 9c604799d9
commit c69d232ec7

View file

@ -23,10 +23,11 @@ set $filemanager nemo
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
#set $menu dmenu_path | wmenu | xargs swaymsg exec -- #set $menu dmenu_path | wmenu | xargs swaymsg exec --
set $dmenu wmenu -i set $dmenu tofi
set $menu j4-dmenu-desktop --no-generic --dmenu="$dmenu" set $menu j4-dmenu-desktop --no-generic --dmenu="$dmenu"
set $background ~/.wallpaper set $background ~/.wallpaper
set $lock swaylock -i $background set $lock swaylock -i $background
set $bar yambar
### Output configuration ### Output configuration
# #
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
@ -52,6 +53,24 @@ output * bg $background fill
# resumed. It will also lock your screen before your computer goes to sleep. # resumed. It will also lock your screen before your computer goes to sleep.
exec_always ~/.config/dotfiles/sway/lock.sh exec_always ~/.config/dotfiles/sway/lock.sh
exec_always libinput-gestures exec_always libinput-gestures
default_border pixel
blur enable
corner_radius 10
layer_effects "panel" {
blur enable;
corner_radius 10;
blur_xray enable;
}
layer_effects "launcher" {
blur enable;
corner_radius 10;
blur_xray enable;
}
gaps inner 2
### Input configuration ### Input configuration
# #
# Example configuration: # Example configuration:
@ -241,18 +260,20 @@ bindsym $mod+r mode "resize"
# Status Bar: # Status Bar:
# #
# Read `man 5 sway-bar` for more information about this section. # Read `man 5 sway-bar` for more information about this section.
bar { # bar {
position top # id 0
# position top
# When the status_command prints a new line to stdout, swaybar updates. #
# The default just shows the current date and time. # # When the status_command prints a new line to stdout, swaybar updates.
status_command bash ~/.config/dotfiles/sway/statusbar.sh # # The default just shows the current date and time.
# status_command bash ~/.config/dotfiles/sway/statusbar.sh
colors { #
statusline #ffffff # colors {
background #32323288 # statusline #ffffff
inactive_workspace #32323288 #32323288 #ffffff # background #32323288
} # inactive_workspace #32323288 #32323288 #ffffff
} # }
# }
exec_always $bar
include /etc/sway/config.d/* include /etc/sway/config.d/*