add accmeboot config and change a few things to adapt to my enviroment and liking, clean up M1Pro Hyprland config and follow MacAitT2 tree structure to keep stuff easier to follow and configure
This commit is contained in:
@@ -2,4 +2,6 @@
|
||||
|
||||
## 4/27/24 - Custom Arch icon did not worked, it is invisible until the cursor is on top of it
|
||||
|
||||
## 4/27/24 - I was able to fixed the icon issue, I needed to read abit more about CSS, it works fine now. It open `wofi` with icons enabled
|
||||
|
||||
This config also uses catppucino theme for waybar
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["custom/launcher", "wlr/taskbar", "hyprland/workspaces"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
"modules-right": ["clock", "custom/cpu", "custom/gpu", "tray", "backlight", "pulseaudio", "battery"],
|
||||
/*"modules-center": ["hyprland/window"],*/
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["custom/cpu", "custom/gpu", "tray", "backlight", "pulseaudio", "battery"],
|
||||
"margin": "0",
|
||||
|
||||
"hyprland/window": {
|
||||
/*"hyprland/window": {
|
||||
"format-empty": "nothing is running",
|
||||
"separate-outputs": true,
|
||||
"icon": true,
|
||||
"icon-size": 11
|
||||
},
|
||||
},*/
|
||||
|
||||
"pulseaudio": {
|
||||
"tooltip": false,
|
||||
@@ -63,7 +64,7 @@
|
||||
},
|
||||
|
||||
"custom/launcher":{
|
||||
"format": " ",
|
||||
"format": " ",
|
||||
"on-click": "hyprctl dispatch exec '[floating] wofi --show drun -normal-window'"
|
||||
},
|
||||
|
||||
|
||||
@@ -1,98 +1,119 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["custom/launcher", "wlr/taskbar", "hyprland/workspaces"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
"modules-right": ["clock", "custom/cpu", "custom/gpu", "tray", "backlight", "pulseaudio", "battery"],
|
||||
"margin": "0",
|
||||
@import "./themes/catppuccin/mocha.css";
|
||||
|
||||
"hyprland/window": {
|
||||
"format-empty": "nothing is running",
|
||||
"separate-outputs": true,
|
||||
"icon": true,
|
||||
"icon-size": 11
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"tooltip": false,
|
||||
"scroll-step": 5,
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": " {volume}%",
|
||||
"on-click":"pavucontrol",
|
||||
"format-icons": {
|
||||
"default": [" ", " ", " "]
|
||||
}
|
||||
},
|
||||
|
||||
"custom/cpu": {
|
||||
"format": "\udb83\udee0 {}℃",
|
||||
"interval": 5,
|
||||
"exec": "bash ~/.config/waybar/scripts/cpu-temp.sh",
|
||||
"on-click": "kitty -e bash -c 'htop; read'"
|
||||
},
|
||||
|
||||
"custom/gpu": {
|
||||
"format": "\udb82\udcae {}℃",
|
||||
"interval": 5,
|
||||
"exec": "bash ~/.config/waybar/scripts/gpu-temp.sh",
|
||||
"on-click": "kitty -e bash -c 'nvtop; read'"
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"tooltip": false,
|
||||
"format": " {}%",
|
||||
"interval":1,
|
||||
"on-scroll-up": "brightnessctl s +5",
|
||||
"on-scroll-down": "brightnessctl s 5-"
|
||||
},
|
||||
"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"]
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%A %B %d %Y %R}",
|
||||
"on-click": "firefox --new-window https://www.google.com/calendar"
|
||||
},
|
||||
|
||||
"custom/launcher":{
|
||||
"format": " ",
|
||||
"on-click": "hyprctl dispatch exec '[floating] wofi --show drun -normal-window'"
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"persistent-workspaces": {
|
||||
"eDP-1": [ 1, 2, 3, 4, 5 ],
|
||||
"DP-2": [ 6, 7, 8, 9, 10 ]
|
||||
}
|
||||
},
|
||||
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 11,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
},
|
||||
"ignore-list": ["rofi"],
|
||||
"rewrite": {
|
||||
"Firefox Web Browser": "Firefox",
|
||||
"Foot Server": "Terminal"
|
||||
}
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 11,
|
||||
"spacing": 4
|
||||
}
|
||||
* {
|
||||
font-size: 11px;
|
||||
font-family: IosevkaTermSlab Nerd Font;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: @mantle;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
window#waybar.empty #window {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.modules-left {
|
||||
background: @surface0;
|
||||
border-top-right-radius: 14px;
|
||||
border-bottom-right-radius: 14px;
|
||||
padding: 0px 12px 0px 4px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
background: @surface0;
|
||||
border-top-left-radius: 14px;
|
||||
border-bottom-left-radius: 14px;
|
||||
padding: 0px 4px 0px 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#window {
|
||||
color: @text;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#custom-launcher:hover {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px;
|
||||
border-radius: 0px;
|
||||
margin: 0px;
|
||||
color: @text;
|
||||
font-weight: bold;
|
||||
border-top: 2px solid transparent;
|
||||
border-bottom: 2px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @mauve;
|
||||
border-bottom: 2px solid @mauve;
|
||||
}
|
||||
|
||||
#taskbar {
|
||||
background: @surface0;
|
||||
padding: 0px 4px 1px;
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
border-radius: 0px;
|
||||
transition: all 0.3s;
|
||||
padding: 1px 2px 0px 4px;
|
||||
margin: 0px;
|
||||
opacity: 0.3;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: transparent;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: @surface3;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#custom-pacman {
|
||||
color: @red;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#tray,
|
||||
#backlight,
|
||||
#pulseaudio,
|
||||
#battery,
|
||||
#custom-cpu,
|
||||
#custom-gpu {
|
||||
margin: 0px 4px;
|
||||
}
|
||||
#custom-cpu {
|
||||
color: @lavender;
|
||||
}
|
||||
#custom-gpu {
|
||||
color: @blue;
|
||||
}
|
||||
#backlight,
|
||||
#pulseaudio,
|
||||
#battery {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user