add MacAir7,2 waybar and hyprland configs, I need to stop configuring these out anymore

This commit is contained in:
toniiz
2024-06-10 23:33:09 -07:00
parent 179c38c7fa
commit c4326a45a1
10 changed files with 336 additions and 148 deletions

View File

@@ -4,10 +4,13 @@
"position": "top",
"height": 28,
"reload_style_on_change": true,
"modules-left": [ "custom/spotify", "custom/cpu", "memory", "disk", "battery" ],
"height": 4,
"margin-top": 4,
"margin-left": 10,
"margin-right": 10,
"modules-left": [ "custom/spotify", "custom/cpu", "memory", "disk" ],
"modules-center": [ "hyprland/workspaces" ],
"modules-right": [ "network", "clock#time", "tray", "idle_inhibitor" ],
"modules-right": [ "battery", "clock#time", "tray", "idle_inhibitor" ],
"custom/spotify": {
"exec": "$HOME/.config/waybar/scripts/spotify.py --player spotify",
@@ -51,7 +54,7 @@
}
},
"network": {
/* "network": {
"interval": 1,
"format-wifi": "<span foreground='#d79921'>{icon} </span>{essid}<span foreground='#d79921'>  </span>{bandwidthUpBytes}<span foreground='#d79921'>  </span>{bandwidthDownBytes} ",
"format-disconnected": "",
@@ -66,7 +69,7 @@
"󰤨 "
]
},
*/
"clock#time": {
"interval": 1,
"format": "<span foreground='#d79921' size='10000'> </span>{:%I:%M %p} ",

View File

@@ -2,14 +2,17 @@
border: none;
font-family: JetBrainsMono Nerd Font;
font-weight: bold;
font-size: 11px;
font-size: 12px;
min-height: 0;
border-radius: 20;
padding-right: 4px;
padding-left: 4px;
}
tooltip {
background: #282828;
border: 0px solid;
border-radius: 0px;
border-radius: 18px;
}
window#waybar {
@@ -45,7 +48,7 @@ window#waybar {
#disk,
#clock,
#memory,
#network,
/*#network,*/
#workspaces,
#battery,
#idle_inhibitor,
@@ -59,6 +62,6 @@ window#waybar {
margin-left: 2px;
margin-top: 4px;
margin-bottom: 4px;
border-radius: 0px;
border-radius: 18px;
}

View File

@@ -0,0 +1,3 @@
## [shvedes's github](https://github.com/shvedes/dotfiles)
### 6/10/24 - Unable to make the `spotify.py` script to work, everything else works, except for `cpu-temp` as well

View File

@@ -0,0 +1,77 @@
{
"layer": "bottom",
"position": "top",
"height": 28,
"reload_style_on_change": true,
"height": 4,
"margin-top": 4,
"margin-left": 10,
"margin-right": 10,
"modules-left": [
"hyprland/workspaces",
"memory",
"disk"],
"modules-center": [
"clock"],
"modules-right": [
"battery",
"idle_inhibitor",
"tray" ],
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-charging": "\udb80\udc84 {capacity}%",
"format-plugged": "\udb81\udea5 {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": ["\udb80\udc7a", "\udb80\udc7b", "\udb80\udc7c", "\udb80\udc7d", "\udb80\udc7e", "\udb80\udc7f", "\udb80\udc80", "\udb80\udc81", "\udb80\udc82", "\udb80\udc79"]
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "󰆪 ",
"deactivated": "󰗥 "
}
},
"memory": {
"interval": 1,
"format": "<span foreground='#d79921'> </span>{used:0.1f}GiB"
},
"disk": {
"interval": 60,
"format": "<span foreground='#d79921'> </span>{used}",
"tooltip": false
},
"hyprland/workspaces": {
"format": "{icon}",
"on-click-release": "activate",
"sort-by-numbers": false,
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"format-icons": {
"1": "I",
"2": "II",
"3": "III",
"4": "IV",
"5": "V",
"6": "VI",
"7": "VII",
"8": "VIII",
"9": "IX",
"10": "X"
}
},
"tray": {
"icon-size": 14,
"spacing": 10,
"show-passive-items": true
}
}

View File

@@ -0,0 +1,64 @@
* {
border: none;
font-family: JetBrainsMono Nerd Font;
font-weight: bold;
font-size: 12px;
min-height: 0;
border-radius: 20;
padding-right: 4px;
padding-left: 4px;
}
tooltip {
background: #282828;
border: 0px solid;
border-radius: 18px;
}
window#waybar {
background: #282828;
color: #ebdbb2;
}
#workspaces button {
padding: 0 0.6em;
color: #a89984;
background: #504945;
border-radius: 0px;
margin-right: 4px;
margin-left: 4px;
margin-top: 2px;
margin-bottom: 2px;
}
#workspaces button.active {
color: #ebdbb2;
background: #665c54;
}
#workspaces button.urgent {
color: #1d2021;
background: #fb4934;
}
#workspaces button:hover {
background: #665c54;
}
#disk,
#clock,
#memory,
#workspaces,
#battery,
#idle_inhibitor,
#custom-cpu
#tray {
color: #d5c4a1;
background: #433e3c;
padding: 0 0.6em;
margin-right: 4px;
margin-left: 2px;
margin-top: 4px;
margin-bottom: 4px;
border-radius: 18px;
}