From 6a4ced0a9f3780dce3c4c681e5917925c8e20c96 Mon Sep 17 00:00:00 2001 From: Sergey Besedin Date: Fri, 3 Oct 2025 19:11:35 +0400 Subject: [PATCH] Update --- config/foot/foot.ini | 2 +- config/sway/config | 3 ++- config/sway/modes/resize | 9 +++++++-- config/waybar/config.jsonc | 4 ++-- config/waybar/style.css | 13 +++++++++++-- 5 files changed, 23 insertions(+), 8 deletions(-) diff --git a/config/foot/foot.ini b/config/foot/foot.ini index d659438..0e9df67 100644 --- a/config/foot/foot.ini +++ b/config/foot/foot.ini @@ -105,7 +105,7 @@ bright7=ebdbb2 # long-press-delay=400 [colors] -# alpha=1.0 +alpha=0.9 # background=242424 # foreground=ffffff # flash=7f7f00 diff --git a/config/sway/config b/config/sway/config index f2530bd..39fbc73 100644 --- a/config/sway/config +++ b/config/sway/config @@ -25,7 +25,7 @@ include $HOME/.config/sway/config.d/* gaps inner 6 smart_gaps on -default_border pixel 1 +default_border pixel 2 default_floating_border pixel 1 hide_edge_borders smart focus_follows_mouse no @@ -99,6 +99,7 @@ for_window [class="(?i)zooout"] floating enable for_window [class="(?i)netsurf"] floating enable for_window [class="(?i)proton-bridge"] move container to workspace $ws9 floating enable border none for_window [class="(?i)easyeffects"] move container to workspace $ws10 +for_window [class="(?i)rhythm-space"] floating enable # for_window [class="(?i)xterm-256color"] border none # for_window [class="(?i)cadence"] move container to workspace $ws7 floating enable diff --git a/config/sway/modes/resize b/config/sway/modes/resize index d805f35..d166326 100644 --- a/config/sway/modes/resize +++ b/config/sway/modes/resize @@ -13,9 +13,14 @@ mode --pango_markup $mode_resize { $bindsym $up resize shrink height 10px $bindsym $right resize grow width 10px + $bindsym Shift+$left resize shrink width 100px + $bindsym Shift+$down resize grow height 100px + $bindsym Shift+$up resize shrink height 100px + $bindsym Shift+$right resize grow width 100px + ## Resize // Window Gaps // + - ## - $bindsym minus gaps inner current minus 5px - $bindsym plus gaps inner current plus 5px + $bindsym minus gaps inner current minus 3px + $bindsym plus gaps inner current plus 3px # Return to default mode $bindsym Return mode "default" diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index 3408e41..6b266dc 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -263,12 +263,12 @@ "interval": "once", "tooltip": true, "return-type": "json", - "format": "{icon}", + "format": "{} {icon}", "format-icons": { "Playing": "󰏦", "Paused": "󰐍" }, - "exec": "playerctl metadata --format '{\"alt\": \"{{status}}\", \"tooltip\": \"{{playerName}}: {{markup_escape(title)}} - {{markup_escape(artist)}}\" }'", + "exec": "playerctl metadata --format '{\"alt\": \"{{status}}\", \"text\": \"{{playerName}}: {{markup_escape(title)}} - {{markup_escape(artist)}}\" }'", "on-click": "playerctl play-pause", "on-click-right": "playerctl next", "on-scroll-up": "playerctl position 10+", diff --git a/config/waybar/style.css b/config/waybar/style.css index 3b425ac..26fb424 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -46,7 +46,7 @@ @define-color ok @aqua2; @define-color workspaces-text-color @fg4; @define-color workspaces-hover @yellow2; -@define-color workspaces-focused @yellow1; +@define-color workspaces-focused @aqua1; @define-color day @orange1; @define-color time @orange2; @define-color date @orange1; @@ -206,7 +206,8 @@ window#waybar { } #mode { - background: @background_color; + background-color: @background_color; + color: @aqua2; } #network.disconnected { @@ -261,6 +262,14 @@ window#waybar { padding-right: 10px; } +#custom-playerctl { + background-color: @aqua1; + color: @theme_base_color; + font-weight: bold; + padding-left: 10px; + padding-right: 10px; +} + #custom-valent.dangerously-empty { color: @warning_color; }