This commit is contained in:
2026-08-01 09:26:26 -04:00
parent 273df8d6b2
commit 504283ca58
4 changed files with 94 additions and 85 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
background: @base; background: @base;
selected-active-background: @blue; selected-active-background: @blue;
active-background: @background; active-background: @background;
selected-normal-background: @lightfg; selected-normal-background: @peach;
alternate-normal-background: @lightbg; alternate-normal-background: @lightbg;
foreground: @text; foreground: @text;
selected-urgent-foreground: @background; selected-urgent-foreground: @background;
@@ -115,7 +115,7 @@ scrollbar {
padding: 0; padding: 0;
handle-width: 8px ; handle-width: 8px ;
border: 0; border: 0;
handle-color: @normal-foreground; handle-color: @peach;
} }
sidebar { sidebar {
border-color: @separatorcolor; border-color: @separatorcolor;
+40 -22
View File
@@ -1,45 +1,41 @@
{ [{
"output": "DP-1",
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right) "position": "left", // Waybar position (top|bottom|left|right)
// "width": 1280, // Waybar width "width": 44, // Waybar width
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["sway/workspaces", "pulseaudio", "clock"], "modules-left": ["pulseaudio", "clock"],
"modules-right": ["tray", "memory", "battery", "custom/power"], "modules-center": ["sway/workspaces"],
"modules-right": ["tray", "battery", "custom/power"],
"sway/workspaces": { "sway/workspaces": {
"persistent-workspaces": {
"1": ["DP-1"],
"2": ["DP-1"],
"3": ["DP-1"],
"4": ["DP-1"],
},
"disable-scroll": true, "disable-scroll": true,
"sort-by-name": true, "sort-by-name": true,
"format": " {index} {icon} ", "format": "{icon}",
"format-icons": { "format-icons": {
"default": "", "default": "<span color=\"#cdd6f4\">●</span>",
"focused": "", "focused": "<span color=\"#fab387\">●</span>",
}, },
}, },
"tray": { "tray": {
"icon-size": 21, "icon-size": 21,
"spacing": 10 "spacing": 10
}, },
"custom/music": {
"format": " {}",
"escape": true,
"interval": 5,
"tooltip": false,
"exec": "playerctl metadata --format='{{ title }}'",
"on-click": "playerctl play-pause",
"max-length": 50
},
"clock": { "clock": {
"timezone": "America/Montreal", "timezone": "America/Montreal",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "🕐 {:%H:%M 📅 %d/%m/%y} " "format": "🕐\n{:%H\n%M\n\n📅\n%d\n%m\n%y} "
}, },
"backlight": { "backlight": {
"device": "intel_backlight", "device": "intel_backlight",
"format": "{icon}", "format": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""] "format-icons": ["", "", "", "", "", "", "", "", ""]
}, },
"memory": {
"format": "{used:0.1f}/{total:0.1f}G"
},
"battery": { "battery": {
"states": { "states": {
"warning": 30, "warning": 30,
@@ -64,11 +60,33 @@
}, },
"pulseaudio": { "pulseaudio": {
// "scroll-step": 1, // %, can be a float // "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%", "format": "{icon}\n{volume}%",
"format-muted": "", "format-muted": "",
"format-icons": { "format-icons": {
"default": ["", "", " "] "default": ["", "", " "]
}, },
"on-click": "pwvucontrol" "on-click": "pwvucontrol"
}, },
},
{
"output": "DP-2",
"layer": "top",
"position": "top",
"height": 44,
"modules-center": ["sway/workspaces"],
"sway/workspaces": {
"persistent-workspaces": {
"5": ["DP-2"],
"6": ["DP-2"],
"7": ["DP-2"],
"8": ["DP-2"],
},
"disable-scroll": true,
"sort-by-name": true,
"format": "{icon}",
"format-icons": {
"default": "<span color=\"#cdd6f4\">●</span>",
"focused": "<span color=\"#fab387\">●</span>",
},
} }
}]
+2 -8
View File
@@ -7,12 +7,11 @@
} }
#waybar { #waybar {
background-color: @base; background-color: @crust;
color: @text; color: @text;
} }
#workspaces { #workspaces {
background-color: @mauve;
} }
#workspaces button { #workspaces button {
@@ -34,17 +33,14 @@
#custom-lock, #custom-lock,
#custom-power, #custom-power,
#memory { #memory {
background-color: @surface0;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
} }
#memory { #memory {
margin-right: 1rem;
} }
#clock { #clock {
color: @blue; color: @blue;
margin-right: 1rem;
} }
#battery { #battery {
@@ -69,7 +65,6 @@
#pulseaudio { #pulseaudio {
color: @maroon; color: @maroon;
margin-left: 1rem;
} }
#custom-music { #custom-music {
@@ -82,10 +77,9 @@
} }
#custom-power { #custom-power {
background-color: @mauve; background-color: @peach;
color: @crust; color: @crust;
} }
#tray { #tray {
margin-right: 1rem;
} }
+3 -6
View File
@@ -43,19 +43,16 @@ set -ga update-environment TERM
set -ga update-environment TERM_PROGRAM set -ga update-environment TERM_PROGRAM
set -ga update-environment SSH_CONNECTION set -ga update-environment SSH_CONNECTION
set -g @catppuccin_flavor 'mocha'
set -g @catppuccin_window_text " #W" set -g @catppuccin_window_text " #W"
set -g @catppuccin_window_default_text " #W" set -g @catppuccin_window_default_text " #W"
set -g @catppuccin_window_current_text " #W" set -g @catppuccin_window_current_text " #W"
run ~/.tmux/plugins/tmux/catppuccin.tmux run ~/.tmux/plugins/tmux/catppuccin.tmux
set -g status-position top
set -g status-justify "left" set -g status-justify "left"
set -g status-left " " set -g status-left " "
set -gF status-right "#[fg=#{@thm_crust},bg=#{@thm_teal}] ##H " set -gF status-right "#[fg=#{@thm_crust},bg=#{@thm_teal}] #S / ##H "
# Remap prefix from Ctrl+b to Ctrl+Space
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'