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.libxcb
freetype
alsa-utils
alsa-oss
dbus
sops

View file

@ -20,7 +20,7 @@
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "",
"default": "?",
"performance": "",
"balanced": "",
"power-saver": ""
@ -29,20 +29,20 @@
"memory": {
"interval": 30,
"format": "{used:0.1f}G/{total:0.1f}G ",
"on-click": "gnome-system-monitor"
"on-click": "$HOME/.local/bin/wezapp htop"
},
"cpu": {
"interval": 10,
"format": "{}% ",
"max-length": 10,
"on-click": "gnome-system-monitor"
"on-click": "$HOME/.local/bin/wezapp htop"
},
"network": {
"format-wifi": "{essid} ",
"format-ethernet": "{ifname} ",
"format-disconnected": "",
"format-disconnected": "!",
"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": {
"icon-size": 20,
@ -51,6 +51,7 @@
"clock": {
"format": "{:%a %d %b %Y %I:%M}",
"on-click": "gnome-calendar",
"tooltip": false,
},
"wireplumber": {
"format": "{volume}% {icon}",
@ -66,7 +67,7 @@
"mpris": {
"format": "{player_icon} {dynamic}",
"format-paused": "{status_icon} <i>{dynamic}</i>",
"dynamic-len": 100,
"dynamic-len": 75,
"player-icons": {
"default": "▶",
},
@ -88,7 +89,6 @@
],
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
},
"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
plex-mpv-shim
plexamp
plex-media-player
switcheroo

View file

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

View file

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

View file

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