waybar config move
This commit is contained in:
@@ -5,7 +5,7 @@ $Mod = SUPER
|
||||
# $launcher = rofi -show drun
|
||||
$launcher = bemenu-run
|
||||
$record = wf-recorder -c libx264 -g "$(slurp)" -f ~/screenshots/mov-$(date +"%Y-%m-%d--%H-%M-%S.mp4")
|
||||
$bar = waybar -c ~/.config/waybar/hypr-config
|
||||
$bar = waybar
|
||||
$wallpaper = swaybg -m fill -i ~/.cache/wallpaper.jpeg
|
||||
$term = kitty
|
||||
|
||||
|
||||
+52
-12
@@ -1,16 +1,55 @@
|
||||
{
|
||||
"layer": "bottom",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": [],
|
||||
"modules-center": ["sway/workspaces", "sway/mode"],
|
||||
"modules-right": ["clock", "idle_inhibitor", "tray"],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"spacing": 0,
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["custom/recording", "cpu", "disk", "disk#sda", "idle_inhibitor", "tray", "custom/transmission", "network"],
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}",
|
||||
"all-outputs": false,
|
||||
"format": "{name}"
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
"custom/recording": {
|
||||
"format": "●",
|
||||
"exec": "pgrep wf-recorder",
|
||||
"format-icons": ["", "O"],
|
||||
"exec-if": "pgrep wf-recorder",
|
||||
"interval": 1
|
||||
},
|
||||
"network": {
|
||||
"interface": "moz0",
|
||||
"format": "🕵️",
|
||||
"format-disconnected": ""
|
||||
},
|
||||
"custom/gpu": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon2/device/gpu_busy_percent",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||
"interval": 1
|
||||
},
|
||||
"custom/transmission": {
|
||||
"exec": "/home/mark/.scripts/transmission",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["", ""],
|
||||
"interval": 5
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||
},
|
||||
"disk": {
|
||||
"path": "/",
|
||||
"format": "{free}",
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"disk#sda": {
|
||||
"path": "/home/mark/Files",
|
||||
"format": "{free}",
|
||||
"interval": 5,
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
@@ -21,10 +60,11 @@
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 24,
|
||||
"spacing": 16
|
||||
"icon-size": 26,
|
||||
"spacing": 8
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%m-%d %H:%M}",
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%d %m}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"modules-left": [],
|
||||
"modules-center": ["sway/workspaces", "sway/mode"],
|
||||
"modules-right": ["clock", "idle_inhibitor", "tray"],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"format": "{name}"
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"deactivated": "💤",
|
||||
"activated": "🦉",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 24,
|
||||
"spacing": 16
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%m-%d %H:%M}",
|
||||
}
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"spacing": 0,
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["custom/recording", "custom/gpu", "cpu", "disk", "disk#sda", "idle_inhibitor", "tray", "network"],
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}",
|
||||
"all-outputs": false,
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true
|
||||
},
|
||||
"custom/recording": {
|
||||
"format": "●",
|
||||
"exec": "pgrep wf-recorder",
|
||||
"format-icons": ["", "O"],
|
||||
"exec-if": "pgrep wf-recorder",
|
||||
"interval": 1
|
||||
},
|
||||
"network": {
|
||||
"interface": "moz0",
|
||||
"format": "🕵️",
|
||||
"format-disconnected": ""
|
||||
},
|
||||
"custom/gpu": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon2/device/gpu_busy_percent",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||
"interval": 1
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||
},
|
||||
"disk": {
|
||||
"path": "/",
|
||||
"format": "{free}",
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"disk#sda": {
|
||||
"path": "/home/mark/Files",
|
||||
"format": "{free}",
|
||||
"interval": 5,
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"deactivated": "💤",
|
||||
"activated": "🦉",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 26,
|
||||
"spacing": 8
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%d %m}"
|
||||
}
|
||||
}
|
||||
@@ -49,6 +49,7 @@ window {
|
||||
#disk,
|
||||
#idle_inhibitor,
|
||||
#custom-gpu,
|
||||
#custom-transmission,
|
||||
#custom-recording,
|
||||
#network,
|
||||
#wireplumber
|
||||
@@ -60,6 +61,9 @@ window {
|
||||
#custom-recording {
|
||||
color: red;
|
||||
}
|
||||
#custom-transmission {
|
||||
color:#FEE;
|
||||
}
|
||||
|
||||
#clock {
|
||||
background-color: alpha(@background, 0.8);
|
||||
|
||||
Reference in New Issue
Block a user