fixing up waybar load order

This commit is contained in:
Matt Nish-Lapidus 2025-02-09 12:10:29 -05:00
parent 3b313209a3
commit b984f31356
8 changed files with 18 additions and 10 deletions

View file

@ -32,7 +32,8 @@
xorg.libX11 xorg.libX11
xorg.libxcb xorg.libxcb
freetype freetype
alsa-utils
alsa-oss
dbus dbus
sops sops

View file

@ -20,7 +20,7 @@
"tooltip-format": "Power profile: {profile}\nDriver: {driver}", "tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true, "tooltip": true,
"format-icons": { "format-icons": {
"default": "", "default": "?",
"performance": "", "performance": "",
"balanced": "", "balanced": "",
"power-saver": "" "power-saver": ""
@ -29,20 +29,20 @@
"memory": { "memory": {
"interval": 30, "interval": 30,
"format": "{used:0.1f}G/{total:0.1f}G ", "format": "{used:0.1f}G/{total:0.1f}G ",
"on-click": "gnome-system-monitor" "on-click": "$HOME/.local/bin/wezapp htop"
}, },
"cpu": { "cpu": {
"interval": 10, "interval": 10,
"format": "{}% ", "format": "{}% ",
"max-length": 10, "max-length": 10,
"on-click": "gnome-system-monitor" "on-click": "$HOME/.local/bin/wezapp htop"
}, },
"network": { "network": {
"format-wifi": "{essid} ", "format-wifi": "{essid} ",
"format-ethernet": "{ifname} ", "format-ethernet": "{ifname} ",
"format-disconnected": "", "format-disconnected": "!",
"max-length": 50, "max-length": 50,
"on-click": "wezterm --config-file /home/emenel/.config/wezterm/launcher.lua start --class launcher --always-new-process nmtui", "on-click": "$HOME/.local/bin/wezlauncher nmtui",
}, },
"tray": { "tray": {
"icon-size": 20, "icon-size": 20,
@ -51,6 +51,7 @@
"clock": { "clock": {
"format": "{:%a %d %b %Y %I:%M}", "format": "{:%a %d %b %Y %I:%M}",
"on-click": "gnome-calendar", "on-click": "gnome-calendar",
"tooltip": false,
}, },
"wireplumber": { "wireplumber": {
"format": "{volume}% {icon}", "format": "{volume}% {icon}",
@ -66,7 +67,7 @@
"mpris": { "mpris": {
"format": "{player_icon} {dynamic}", "format": "{player_icon} {dynamic}",
"format-paused": "{status_icon} <i>{dynamic}</i>", "format-paused": "{status_icon} <i>{dynamic}</i>",
"dynamic-len": 100, "dynamic-len": 75,
"player-icons": { "player-icons": {
"default": "▶", "default": "▶",
}, },
@ -88,7 +89,6 @@
], ],
"rewrite": { "rewrite": {
"Firefox Web Browser": "Firefox", "Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
} }
}, },
"niri/workspaces": { "niri/workspaces": {

View file

@ -0,0 +1,2 @@
#!/bin/sh
wezterm --config-file /home/emenel/.config/wezterm/launcher.lua start --always-new-process "$1"

View file

@ -0,0 +1,2 @@
#!/bin/sh
wezterm --config-file /home/emenel/.config/wezterm/launcher.lua start --class launcher --always-new-process "$1"

View file

@ -83,6 +83,7 @@
hyphenDicts.en_US hyphenDicts.en_US
plex-mpv-shim plex-mpv-shim
plexamp plexamp
plex-media-player
switcheroo switcheroo

View file

@ -14,8 +14,9 @@ in {
{ command = ["maestral_qt"]; } { command = ["maestral_qt"]; }
{ command = ["clipse" "-listen"]; } { command = ["clipse" "-listen"]; }
{ command = ["swayosd-server"]; } { command = ["swayosd-server"]; }
{ command = ["waybar"]; }
{ command = [ "systemctl" "--user" "restart" "mako.service" "hypridle.service" "xwayland-satellite.service" ]; }
{ command = ["plexamp"]; } { command = ["plexamp"]; }
{ command = [ "systemctl" "--user" "restart" "waybar.service" "mako.service" "hypridle.service" "xwayland-satellite.service" ]; }
]; ];
workspaces = { workspaces = {

View file

@ -6,6 +6,7 @@ in {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
package = pkgs.waybar; package = pkgs.waybar;
systemd.enable = false;
style = '' style = ''
* { * {
border: none; border: none;

View file

@ -30,7 +30,7 @@
}; };
opener = { opener = {
edit = [ edit = [
{ run = "em \"$@\""; } { run = "emacsclient -r -n \"$@\""; }
]; ];
extract = [ extract = [
{ run = "ouch d -y \"%*\""; desc = "Extract here with ouch"; for = "windows"; } { run = "ouch d -y \"%*\""; desc = "Extract here with ouch"; for = "windows"; }