aboutsummaryrefslogtreecommitdiff
path: root/src/.config/waybar/config
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2023-09-09 18:20:11 -0500
committerAaditya Dhruv <[email protected]>2023-09-09 18:20:11 -0500
commitbe8af930c9ee1ba7002a1bf7fd8090e35544273f (patch)
treedc704a3678bbc57fcb30b5219ffefa6f7f30d48f /src/.config/waybar/config
parent63315cad20c23cc9f3920f3283d6e8b8c7d01058 (diff)
Move .configs to a new main config directory
Moving cofig away from a hidden directory makes it easier to work with. The config directory now no longer represents ~/.config either, it will contain all the configs for user applications, ever for configs which are not in ~/.config on the host system
Diffstat (limited to 'src/.config/waybar/config')
-rw-r--r--src/.config/waybar/config99
1 files changed, 0 insertions, 99 deletions
diff --git a/src/.config/waybar/config b/src/.config/waybar/config
deleted file mode 100644
index 586f7c2..0000000
--- a/src/.config/waybar/config
+++ /dev/null
@@ -1,99 +0,0 @@
-{
- "layer": "top", // Waybar at top layer
- "position": "top", // Waybar position (top|bottom|left|right)
- "height":30 ,// Waybar height (to be removed for auto height)
- "margin": 0,
- //"width": 1920, // Waybar width
- "spacing": 5,
- "fixed-center": true,
- // Choose the order of the modules
- "modules-left": ["wlr/workspaces",],
- "modules-right": ["memory","pulseaudio", "clock"],
- "modules-center": ["hyprland/window"],
-
- "wlr/workspaces": {
- "format": "{icon}",
- "on-click": "activate",
- "active-only": false,
- "all-outputs": true,
- "format-icons": {
- "1": "",
- "2": "",
- "3": "",
- "4": "",
- "5": "",
- },
- },
- "hyprland/window": {
- "format": "{}",
- "separate-outputs": true
- },
- "tray": {
- "icon-size": 21,
- "spacing": 4,
- "show-passive-items": true,
- "max-length": 6,
- "min-length": 6,
- },
- "clock": {
- "tooltip": false,
- "interval": 60,
- "format": "{:%d %b, %I:%M %p}",
- "max-length": 25,
- "on-click": "alacritty --class calendar -e calcure"},
- "cpu": {
- "interval":1,
- "format":"{icon0}{icon1}{icon2}{icon3}",
- "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
- "on-click": "alacritty --class system_monitor -e btop",
- "max-lenght": 25,
- "min-length":6,
- },
- "memory": {
- "format": "<span color=\"#458588\"> </span>{used}GiB",
- "interval": 1,
- "on-click": "alacritty --class system_monitor -e btop",
- "max-lenght": 25,
- "min-length":6,
- },
- "backlight": {
- // "device": "acpi_video1",
- "format": "{icon}{percent}%",
- "format-icons": [" ", " ", " ", " ", " ", " ", " ", " ", " "],
- "on-scroll-up":"brightnessctl set 30+",
- "on-scroll-down":"brightnessctl set 30-",
- "max-lenght": 25,
- "min-length":6,
- },
- "battery": {
- "states": {
- "full":100,
- "warning": 50,
- "critical": 20
- },
- "interval":60,
- "format": "{icon} {capacity}%",
- "format-icons": ["", "", "", "", ""]
- },
- "network": {
- "interface": "enp6s0",
- "format-wifi": " ",
- "format-disconnected": " 睊 ",
- "tooltip-format": "{ifname} via {gwaddr} ",
- "tooltip-format-wifi": "{essid} {signalStrength}%",
- "on-click": "alacritty --class network -e nmtui"
- },
- "pulseaudio": {
- "format": "<span color=\"#458588\"> </span>{volume}%",
- "format-muted": "<span color=\"#cc241d\"> </span>Muted",
- "scroll-step": 1,
- "on-click-right": "pavucontrol",
- "ignored-sinks": ["Easy Effects Sink"],
- "max-lenght": 25,
- "exec":"pactl --format=json list sinks | jq -cM --unbuffered \"map(select(.name == \\\"$(pactl get-default-sink)\\\"))[0].properties | [.\\\"media.name\\\",.\\\"alsa.name\\\",.\\\"node.nick\\\",.\\\"alsa.long_card_name\\\"] | map(select(length>0))[0] | {text:.}\"",
- "exec-if": "sleep 0.1", // Give enough time for `pactl get-default-sink` to update
- "on-click": "pactl --format=json list sinks short | jq -cM --unbuffered \"[.[].name] | .[((index(\\\"$(pactl get-default-sink)\\\")+1)%length)]\" | xargs pactl set-default-sink"
-}
-}
-
-