sway (+x11 for vibrance) config improvements

This commit is contained in:
2025-08-16 03:09:09 +03:00
parent 25d6e4f51b
commit 723bf37d1f
6 changed files with 312 additions and 5 deletions

View File

@@ -74,8 +74,10 @@ output * bg /home/raga/.config/sway/wallpaper.jpg fill
# Multi-monitor setup
# You can get your output names by running: swaymsg -t get_outputs
# DP-2 is the primary monitor on the left, and DP-1 is on the right.
output DP-2 {
mode 2560x1440@144Hz
output HDMI-A-1 {
#output DP-2 {
# mode 2560x1440@60Hz
mode 2560x1440@120Hz
position 0 0
}
@@ -469,7 +471,8 @@ bindsym $mod+i bar mode toggle
bar {
position bottom
mode dock
font pango:monospace 10
#font pango:monospace 10
font pango: FontAwesome, monospace 10
separator_symbol " "
strip_workspace_numbers yes
workspace_min_width 36
@@ -508,3 +511,5 @@ exec --no-startup-id nm-applet
# Include additional config files if they exist
include /etc/sway/config.d/*
bindsym $mod+x exec "$(file="/tmp/click"; if test "0" = "$(cat "$file")"; then printf '1\n' > "$file"; else printf '0\n' > "$file"; fi)"