feat: added waybar & anyrun configs
This commit is contained in:
29
.config/waybar/bars/DP-1.json
Normal file
29
.config/waybar/bars/DP-1.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"reload_style_on_change": true,
|
||||
"include": [
|
||||
"~/.config/waybar/lib/components/workspaces.json",
|
||||
"~/.config/waybar/lib/components/tray.json",
|
||||
"~/.config/waybar/lib/components/notifications.json",
|
||||
"~/.config/waybar/lib/components/cpu.json",
|
||||
"~/.config/waybar/lib/components/gpu.json",
|
||||
"~/.config/waybar/lib/components/memory.json",
|
||||
"~/.config/waybar/lib/components/audio.json",
|
||||
"~/.config/waybar/lib/components/calendar.json",
|
||||
"~/.config/waybar/lib/components/clock.json"
|
||||
],
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"tray"
|
||||
],
|
||||
"modules-center": [
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/notification",
|
||||
"cpu",
|
||||
"custom/gpu",
|
||||
"memory",
|
||||
"pulseaudio",
|
||||
"clock#calendar",
|
||||
"clock"
|
||||
]
|
||||
}
|
||||
23
.config/waybar/bars/DP-2.json
Normal file
23
.config/waybar/bars/DP-2.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"reload_style_on_change": true,
|
||||
"include": [
|
||||
"~/.config/waybar/lib/components/workspaces.json",
|
||||
"~/.config/waybar/lib/components/tray.json",
|
||||
"~/.config/waybar/lib/components/language.json",
|
||||
"~/.config/waybar/lib/components/audio.json",
|
||||
"~/.config/waybar/lib/components/calendar.json",
|
||||
"~/.config/waybar/lib/components/clock.json"
|
||||
],
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"tray"
|
||||
],
|
||||
"modules-center": [
|
||||
],
|
||||
"modules-right": [
|
||||
"hyprland/language",
|
||||
"pulseaudio",
|
||||
"clock#calendar",
|
||||
"clock"
|
||||
]
|
||||
}
|
||||
24
.config/waybar/bars/DP-3.json
Normal file
24
.config/waybar/bars/DP-3.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"reload_style_on_change": true,
|
||||
"include": [
|
||||
"~/.config/waybar/lib/components/workspaces.json",
|
||||
"~/.config/waybar/lib/components/mpris.json",
|
||||
"~/.config/waybar/lib/components/notifications.json",
|
||||
"~/.config/waybar/lib/components/calendar.json",
|
||||
"~/.config/waybar/lib/components/clock.json"
|
||||
],
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"mpris"
|
||||
],
|
||||
"modules-center": [
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/notification",
|
||||
"clock#calendar",
|
||||
"clock"
|
||||
],
|
||||
"mpris": {
|
||||
"dynamic-len": 65
|
||||
}
|
||||
}
|
||||
23
.config/waybar/config
Normal file
23
.config/waybar/config
Normal file
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"output": ["DP-1"],
|
||||
"include": [
|
||||
"~/.config/waybar/lib/common.json",
|
||||
"~/.config/waybar/bars/DP-1.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"output": ["DP-2"],
|
||||
"include": [
|
||||
"~/.config/waybar/lib/common.json",
|
||||
"~/.config/waybar/bars/DP-2.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"output": ["DP-3"],
|
||||
"include": [
|
||||
"~/.config/waybar/lib/common.json",
|
||||
"~/.config/waybar/bars/DP-3.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
9
.config/waybar/lib/common.json
Normal file
9
.config/waybar/lib/common.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"spacing": 1,
|
||||
"exclusive": true,
|
||||
"gtk-layer-shell": true,
|
||||
"passthrough": false,
|
||||
"fixed-center": true
|
||||
}
|
||||
14
.config/waybar/lib/components/audio.json
Normal file
14
.config/waybar/lib/components/audio.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": " ",
|
||||
"format-icons": {
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
}
|
||||
}
|
||||
18
.config/waybar/lib/components/calendar.json
Normal file
18
.config/waybar/lib/components/calendar.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"clock#calendar": {
|
||||
"format": " {:L%d/%m}",
|
||||
"calendar": {
|
||||
"format": {
|
||||
"days": "<span weight='normal'>{}</span>",
|
||||
"months": "<span color='#cdd6f4'><b>{}</b></span>",
|
||||
"today": "<span color='#f38ba8' weight='700'><u>{}</u></span>",
|
||||
"weekdays": "<span color='#f5e0dc'><b>{}</b></span>",
|
||||
"weeks": "<span color='#a6e3a1'><b>W{}</b></span>"
|
||||
},
|
||||
"mode": "month",
|
||||
"mode-mon-col": 1,
|
||||
"on-scroll": 1
|
||||
},
|
||||
"tooltip-format": "<span color='#cdd6f4'><tt>{calendar}</tt></span>"
|
||||
}
|
||||
}
|
||||
6
.config/waybar/lib/components/clock.json
Normal file
6
.config/waybar/lib/components/clock.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"clock": {
|
||||
"tooltip": false,
|
||||
"format": " {:%H:%M}"
|
||||
}
|
||||
}
|
||||
8
.config/waybar/lib/components/cpu.json
Normal file
8
.config/waybar/lib/components/cpu.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"max-length": 10,
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
9
.config/waybar/lib/components/gpu.json
Normal file
9
.config/waybar/lib/components/gpu.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"custom/gpu": {
|
||||
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
|
||||
"format": " {}%",
|
||||
"return-type": "",
|
||||
"interval": 5,
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
8
.config/waybar/lib/components/language.json
Normal file
8
.config/waybar/lib/components/language.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"hyprland/language": {
|
||||
"format": " {}",
|
||||
"format-en": "QW",
|
||||
"format-fr": "AZ",
|
||||
"keyboard-name": "logitech-g512-rgb-mechanical-gaming-keyboard"
|
||||
}
|
||||
}
|
||||
7
.config/waybar/lib/components/memory.json
Normal file
7
.config/waybar/lib/components/memory.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {}%",
|
||||
"max-length": 10
|
||||
}
|
||||
}
|
||||
15
.config/waybar/lib/components/mpris.json
Normal file
15
.config/waybar/lib/components/mpris.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format-paused": "{player_icon} {dynamic}",
|
||||
"dynamic-order": ["title", "artist"],
|
||||
"player-icons": {
|
||||
"default": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"playing": "",
|
||||
"paused": ""
|
||||
},
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
15
.config/waybar/lib/components/notifications.json
Normal file
15
.config/waybar/lib/components/notifications.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"custom/notification": {
|
||||
"escape": true,
|
||||
"exec": "swaync-client -swb",
|
||||
"exec-if": "which swaync-client",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"none": "",
|
||||
"notification": ""
|
||||
},
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"return-type": "json",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
5
.config/waybar/lib/components/tray.json
Normal file
5
.config/waybar/lib/components/tray.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"tray": {
|
||||
"spacing": 10
|
||||
}
|
||||
}
|
||||
10
.config/waybar/lib/components/workspaces.json
Normal file
10
.config/waybar/lib/components/workspaces.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"hyprland/workspaces": {
|
||||
"show-special": true,
|
||||
"persistent-workspaces": {
|
||||
"1": [1],
|
||||
"2": [2],
|
||||
"3": [3]
|
||||
}
|
||||
}
|
||||
}
|
||||
40
.config/waybar/mocha.css
Normal file
40
.config/waybar/mocha.css
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
*
|
||||
* Catppuccin Mocha palette
|
||||
* Maintainer: rubyowo
|
||||
*
|
||||
*/
|
||||
|
||||
@define-color mantle #181825;
|
||||
@define-color crust #11111b;
|
||||
|
||||
@define-color text #cdd6f4;
|
||||
@define-color subtext0 #a6adc8;
|
||||
@define-color subtext1 #bac2de;
|
||||
|
||||
/* @define-color surface0 #313244; */
|
||||
@define-color surface0 rgba(38,38,43,0.9);
|
||||
@define-color surface1 #222226;
|
||||
@define-color surface2 #585b70;
|
||||
|
||||
@define-color overlay0 #6c7086;
|
||||
@define-color overlay1 #7f849c;
|
||||
@define-color overlay2 #9399b2;
|
||||
|
||||
@define-color white #f2f2f2;
|
||||
@define-color blue #89b4fa;
|
||||
@define-color lavender #b4befe;
|
||||
@define-color sapphire #74c7ec;
|
||||
/* @define-color sky #89dceb; */
|
||||
@define-color sky #007dff;
|
||||
@define-color teal #94e2d5;
|
||||
@define-color green #a6e3a1;
|
||||
@define-color yellow #f9e2af;
|
||||
@define-color peach #fab387;
|
||||
@define-color maroon #eba0ac;
|
||||
@define-color red #f38ba8;
|
||||
@define-color mauve #cba6f7;
|
||||
@define-color pink #f5c2e7;
|
||||
@define-color flamingo #f2cdcd;
|
||||
@define-color rosewater #f5e0dc;
|
||||
|
||||
83
.config/waybar/style.css
Normal file
83
.config/waybar/style.css
Normal file
@@ -0,0 +1,83 @@
|
||||
@import "mocha.css";
|
||||
|
||||
* {
|
||||
min-height: 0;
|
||||
min-width: 0;
|
||||
font-family: "FiraCode Nerd Font Propo";
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
background: transparent;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background-color: @surface0;
|
||||
box-shadow: 0 0 10px @surface1;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0.1rem 0.6rem;
|
||||
margin: 0.4rem 0.25rem 0rem 0.25rem;
|
||||
border-radius: 4px;
|
||||
color: @white;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: @sky;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: @sky;
|
||||
}
|
||||
|
||||
#mpris,
|
||||
#tray,
|
||||
#cpu,
|
||||
#custom-gpu,
|
||||
#custom-gpu-temp,
|
||||
#memory,
|
||||
#pulseaudio,
|
||||
#custom-notification,
|
||||
#clock,
|
||||
#mpris,
|
||||
#language,
|
||||
#tray {
|
||||
padding: 0.1rem 0.6rem;
|
||||
margin: 0.4rem 0.25rem 0rem 0.25rem;
|
||||
border-radius: 4px;
|
||||
border: 2px solid @surface1;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @rosewater;
|
||||
}
|
||||
|
||||
#clock.simpleclock {
|
||||
margin-right: 0.8rem;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#custom-gpu {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#pulseaudio,
|
||||
#mpris {
|
||||
color: @teal;
|
||||
}
|
||||
Reference in New Issue
Block a user