This commit is contained in:
2023-10-22 06:12:10 +02:00
commit 314ff2f75d
69 changed files with 6951 additions and 0 deletions

37
.config/waybar/colors.css Executable file
View File

@@ -0,0 +1,37 @@
/*
*
* Catppuccin Frappe palette
* Maintainer: rubyowo
*
*/
@define-color base #303446;
@define-color mantle #292c3c;
@define-color crust #232634;
@define-color text #c6d0f5;
@define-color subtext0 #a5adce;
@define-color subtext1 #b5bfe2;
@define-color surface0 #414559;
@define-color surface1 #51576d;
@define-color surface2 #626880;
@define-color overlay0 #737994;
@define-color overlay1 #838ba7;
@define-color overlay2 #949cbb;
@define-color blue #8caaee;
@define-color lavender #babbf1;
@define-color sapphire #85c1dc;
@define-color sky #99d1db;
@define-color teal #81c8be;
@define-color green #a6d189;
@define-color yellow #e5c890;
@define-color peach #ef9f76;
@define-color maroon #ea999c;
@define-color red #e78284;
@define-color mauve #ca9ee6;
@define-color pink #f4b8e4;
@define-color flamingo #eebebe;
@define-color rosewater #f2d5cf;

152
.config/waybar/config Executable file
View File

@@ -0,0 +1,152 @@
{
"layer": "top",
"position": "top",
"height": 40,
"modules-left": [
"hyprland/workspaces",
"hyprland/window",
],
"modules-center": [
"clock",
],
"modules-right": [
"tray",
"custom/playerctl",
"cpu",
"memory",
"network",
"pulseaudio",
"battery",
"custom/power",
],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"on-click": "activate",
"format": "{icon}",
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10"
}
},
"hyprland/window": {
"format": "{}"
},
"clock": {
"format": "{: %H:%M %p  %h %d %Y}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"on-click": "merkuro-calendar"
},
"tray": {
"icon-size": 15,
"spacing": 10
},
"custom/playerctl": {
"format": "{icon}",
"return-type": "json",
"max-length": 64,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click-middle": "playerctl play-pause",
"on-click": "playerctl previous",
"on-click-right": "playerctl next",
"format-icons": {
"Playing": "<span foreground='#E5B9C6'>󰒮 󰐌 󰒭</span>",
"Paused": "<span foreground='#928374'>󰒮 󰏥 󰒭</span>"
},
},
"cpu": {
"interval": 10,
"format": "{usage}% ",
"format-alt": "{avg_frequency} GHz ",
"on-double-click": "gnome-system-monitor"
},
"memory": {
"interval": 30,
"format": "{used:0.1f}G ",
"format-alt": "{used:0.1f}G/{total:0.1f}G ",
"tooltip-format": "{}%",
"on-double-click": "gnome-system-monitor"
},
"network": {
"interval": 10,
"format-wifi": "{essid} ",
"format-ethernet": "{bandwidthUpBytes}⇡ {bandwidthDownBytes}⇣{essid} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "󰖪 Disconnected",
"tooltip-format-wifi": "Signal Strenght: {signalStrength}% | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}",
},
"pulseaudio": {
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}%{icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": "\udb81\udf5f {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
""
]
},
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
"on-click-middle": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"on-double-click": "pavucontrol"
},
"custom/power": {
"format": "󰐥",
"on-click": "wlogout"
},
//Laptop
"backlight":{
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": ["","",""],
"on-scroll-up": "brightnessctl set 1%+",
"on-scroll-down": "brightnessctl set 1%-",
"min-length": 6
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": [" ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
},
"custom/wl-gammarelay-temperature": {
"format": " {}",
"exec": "wl-gammarelay-rs watch {t}",
"on-scroll-up": "~/.config/hypr/scripts/brightness.sh temperature-up 100",
"on-scroll-down": "~/.config/hypr/scripts/brightness.sh temperature-down 100"
},
"custom/wl-gammarelay-brightness": {
"format": " {}",
"exec": "wl-gammarelay-rs watch {bp}",
"on-scroll-up": "~/.config/hypr/scripts/brightness.sh brightness-up 0.05",
"on-scroll-down": "~/.config/hypr/scripts/brightness.sh brightness-down 0.05"
}
}

45
.config/waybar/style.css Executable file
View File

@@ -0,0 +1,45 @@
@import "colors.css";
* {
border: none;
border-radius: 5px;
font-family: monospace;
font-weight: bold;
font-size: 14px;
min-height: 0px;
color: @text;
}
#waybar {
background: @surface0;
}
#clock, #battery, #pulseaudio, #network, #tray, #cpu, #memory, #backlight, #workspaces, #window, #custom-playerctl, #custom-language, #custom-spotify, #custom-updates, #custom-caffeine, #custom-wl-gammarelay-brightness, #custom-wl-gammarelay-temperature, #custom-menu, #custom-power {
background: @surface1;
margin: 7px 0px 7px 5px;
padding: 0px 10px;
}
#custom-power {
font-weight: normal;
font-size: 18px;
margin-right: 5px;
}
#workspaces button {
padding: 2px;
margin: 3px;
}
#workspaces button.active {
background: @overlay0;
}
#workspaces button:hover {
background: @overlay2;
}
tooltip {
background: @surface0;
border: solid 2px @surface1;
}