move script

This commit is contained in:
Benjamin Palko 2024-07-14 23:30:27 -04:00
parent c8b480ccfd
commit 653ef5b48b
2 changed files with 109 additions and 116 deletions

View file

@ -6,14 +6,8 @@
// "width": 1280, // Waybar width
"spacing": 8, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"tray",
"hyprland/window"
],
"modules-center": [
"custom/spotify"
],
"modules-left": ["hyprland/workspaces", "tray", "hyprland/window"],
"modules-center": ["custom/spotify"],
"modules-right": [
"custom/swww",
"wireplumber",
@ -23,7 +17,7 @@
"temperature",
"idle_inhibitor",
"clock",
"custom/swaync"
"custom/swaync",
],
"idle_inhibitor": {
"format": "{icon}",
@ -31,42 +25,42 @@
"tooltip-format-deactivated": "Off",
"format-icons": {
"activated": "󱫗",
"deactivated": "󰔛"
}
"deactivated": "󰔛",
},
},
"hyprland/workspaces": {
"active-only": false,
"format": "{icon}",
"format-icons": {
"default": ""
}
"default": "",
},
},
"hyprland/window": {
"format": "{}",
"rewrite": {
"(.*) — Mozilla Firefox": "󰈹 $1",
"(.*) - fish": "> [$1]",
"nv": " neovim"
"nv": " neovim",
},
"separate-outputs": true,
"max-length": "40"
"max-length": "40",
},
"tray": {
"icon-size": 18,
"spacing": 10
"spacing": 10,
},
"clock": {
"timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}",
"on-click": ""
"on-click": "",
},
"cpu": {
"format": "󰻠 {usage}%",
"tooltip": true
"tooltip": true,
},
"memory": {
"format": "{}% 󰍛"
"format": "{}% 󰍛",
},
"temperature": {
// "thermal-zone": 2,
@ -74,11 +68,11 @@
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""]
"format-icons": ["", "", ""],
},
"wireplumber": {
"format": " {volume}%",
"format-mute": " {volume}%"
"format-mute": " {volume}%",
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
@ -86,19 +80,19 @@
"format-wifi": " {signalStrength}%",
"format-ethernet": "󰈀",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "󰖪"
"format-disconnected": "󰖪",
//"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"custom/spotify": {
"format": "{}",
"on-click": "playerctl --player=spotify play-pause",
"exec": "/usr/bin/python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify",
"exec": "python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": " ",
"default": "🎜 "
}
"default": "🎜 ",
},
},
"custom/swaync": {
"format": "{icon}",
@ -109,17 +103,16 @@
"notification": "<span foreground='red'><small><sup>⬤</sup></small></span>",
"none": " ",
"dnd-notification": "<span foreground='red'><small><sup>⬤</sup></small></span>",
"dnd-none": " "
}
"dnd-none": " ",
},
},
"custom/swww": {
"format": "{icon}",
"tooltip": false,
"tooltip-format": "Change Wallpaper",
"on-click": "bash ~/.config/waybar/modules/switch-wallpaper.sh &",
"on-click": "bash ~/dotfiles/.scripts/switch-wallpaper.sh &",
"format-icons": {
"default": " "
}
}
"default": " ",
},
},
}