Nord-themed Wayland setup on sway (via uwsm), including: - sway/swayidle/swaylock/swaddle — WM, idle/lock/inhibit - waybar, rofi — bar and launcher - dunst — notifications - foot — terminal - zsh (+fzf, syntax highlighting, autosuggestions) — shell - mpd/rmpc/mpc, mpv — music and video - nvim — editor (lazy.nvim) - ly — login manager - rbw + pinentry-rofi wrapper — Bitwarden/Vaultwarden CLI - per-window-layout, clipvault — helper systemd services
198 lines
5.4 KiB
Plaintext
198 lines
5.4 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
|
|
"margin-top": 5,
|
|
"margin-left": 5,
|
|
"margin-right": 5,
|
|
|
|
"height": 34,
|
|
|
|
"modules-left": [
|
|
"custom/rofi",
|
|
"sway/workspaces",
|
|
"sway/mode"
|
|
],
|
|
|
|
"modules-center": [
|
|
"clock#time"
|
|
],
|
|
|
|
"modules-right": [
|
|
"tray",
|
|
"idle_inhibitor",
|
|
"group/keyboard",
|
|
"disk" ,
|
|
"group/hardware",
|
|
"group/temp",
|
|
"group/audio"
|
|
],
|
|
|
|
"group/keyboard": {
|
|
"orientation": "horizontal",
|
|
/*"modules": [
|
|
"keyboard-state",
|
|
"sway/language"
|
|
]*/
|
|
"modules": ["sway/language"]
|
|
},
|
|
|
|
"group/hardware": {
|
|
"orientation": "horizontal",
|
|
"modules": [
|
|
"cpu",
|
|
"memory"
|
|
]
|
|
},
|
|
|
|
"group/temp": {
|
|
"orientation": "horizontal",
|
|
"modules": [
|
|
"temperature#cpu",
|
|
"custom/gpu_temperature"
|
|
]
|
|
},
|
|
|
|
"group/audio": {
|
|
"orientation": "horizontal",
|
|
"modules": [
|
|
"wireplumber#source",
|
|
"wireplumber#sink"
|
|
]
|
|
},
|
|
|
|
"custom/rofi": {
|
|
"exec-if": "[ \"$USER\" != \"pyrschtjag\" ]",
|
|
"exec": "echo '{\"text\": \"\", \"tooltip\": \"\"}'",
|
|
"return-type": "json",
|
|
"format": "<span color='#88c0d0'>{icon}</span><span rise='1000' font='Symbols Nerd Font Mono 8'>{text}</span>",
|
|
"format-icons": [""],
|
|
"interval": "once",
|
|
"on-click": "rofi -show drun",
|
|
"tooltip": false
|
|
},
|
|
|
|
"sway/workspaces": {
|
|
"format": "<span color='#88c0d0' weight='bold'>{icon}</span><span rise='1000' font='Symbols Nerd Font Mono 8'>{windows}</span>",
|
|
"window-rewrite": {
|
|
"class<firefox>": " ",
|
|
"class<foot>": " ",
|
|
"class<discord>": " ",
|
|
"class<org.telegram.desktop>": " ",
|
|
"class<steam>": " ",
|
|
"class<org.gajim.Gajim>": " ",
|
|
"class<Spotify>": " ",
|
|
"title<nvim>": " ",
|
|
"title<rmpc>": " ",
|
|
"title<mc(.*)>": " ",
|
|
"": " "
|
|
},
|
|
"tooltip": false
|
|
},
|
|
|
|
"sway/mode": {
|
|
"format": "<span color='#ebcb8b'>{}</span>",
|
|
"max-length": 18,
|
|
"tooltip": false
|
|
},
|
|
|
|
"clock#time": {
|
|
"format": "{:%H:%M}",
|
|
"tooltip": false
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 12,
|
|
"spacing": 10,
|
|
"tooltip": false
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "<span color='#d08770' rise='1000' font='Symbols Nerd Font Mono 8'></span>",
|
|
// "deactivated": ""
|
|
"deactivated": "<span color='#ebcb8b' rise='1000' font='Symbols Nerd Font Mono 8'></span>"
|
|
},
|
|
"signal": 13,
|
|
"tooltip": false,
|
|
"cursor": ""
|
|
},
|
|
|
|
"sway/language": {
|
|
// "format": "{}",
|
|
"format": "<span color='#8fbcbb' rise='1000' font='Symbols Nerd Font Mono 8'></span> {}",
|
|
"format-en": "EN",
|
|
"format-ru": "RU",
|
|
"tooltip": false
|
|
},
|
|
|
|
"keyboard-state": {
|
|
"format": "{name}{icon}",
|
|
"numlock": true,
|
|
"capslock": true,
|
|
"scrolllock": false,
|
|
"format-icons": {
|
|
"numlock": {
|
|
"locked": "<span color='#a3be8c' rise='1000' font='Symbols Nerd Font Mono 8'></span> ",
|
|
"unlocked": ""
|
|
},
|
|
"capslock": {
|
|
"locked": "<span color='##8fbcbb' rise='1000' font='Symbols Nerd Font Mono 8'></span> <span color='#bf616a' rise='1000' font='Symbols Nerd Font Mono 8'></span> ",
|
|
"unlocked": "<span color='##8fbcbb' rise='1000' font='Symbols Nerd Font Mono 8'></span> "
|
|
}
|
|
}
|
|
},
|
|
|
|
"disk": {
|
|
// enable when release waybar 0.16+
|
|
// "format": "<span color='#a3be8c' rise='1000' font='Symbols Nerd Font Mono 8'></span> {free:5G}G",
|
|
"format": "<span color='#a3be8c' rise='1000' font='Symbols Nerd Font Mono 8'></span> {free:7}",
|
|
"paths": ["/"],
|
|
"interval": 120,
|
|
"tooltip": false
|
|
},
|
|
|
|
"cpu": {
|
|
"format": "<span color='#5e81ac' rise='1000' font='Symbols Nerd Font Mono 8'></span> {usage:03}%",
|
|
"interval": 5,
|
|
"tooltip": false
|
|
},
|
|
|
|
"memory": {
|
|
"format": "<span color='#81a1c1' rise='1000' font='Symbols Nerd Font Mono 8'></span> {percentage:03}%",
|
|
"interval": 5,
|
|
"tooltip": false
|
|
},
|
|
|
|
"temperature#cpu": {
|
|
"format": "<span color='#ebcb8b' rise='1000' font='Symbols Nerd Font Mono 8'></span> {temperatureC:03}°C",
|
|
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
"interval": 5,
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/gpu_temperature": {
|
|
"format": "<span color='#d08770' rise='1000' font='Symbols Nerd Font Mono 8'></span> {text}°C",
|
|
"exec": "nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits | xargs printf '%03d'",
|
|
"interval": 5,
|
|
"tooltip": false
|
|
},
|
|
|
|
"wireplumber#source": {
|
|
"format": "<span color='#b48ead' rise='1000' font='Symbols Nerd Font Mono 8'></span> {volume:03}%",
|
|
"format-muted": "<span color='#4c566a' rise='1000' font='Symbols Nerd Font Mono 8'></span> 000%",
|
|
"node-type": "Audio/Source",
|
|
"scroll-step": 5,
|
|
"tooltip": false
|
|
},
|
|
|
|
"wireplumber#sink": {
|
|
"format": "<span color='#b48ead' rise='1000' font='Symbols Nerd Font Mono 8'>{icon}</span> {volume:03}%",
|
|
"format-muted": "<span color='#4c566a' rise='1000' font='Symbols Nerd Font Mono 8'></span> 000%",
|
|
"format-icons": ["", "", ""],
|
|
"scroll-step": 5,
|
|
"tooltip": false
|
|
}
|
|
}
|