1
0
This commit is contained in:
2025-04-01 03:39:25 +02:00
parent d6d85f0490
commit 3be23e7c70
20 changed files with 833 additions and 1 deletions

105
.config/waybar/config.jsonc Normal file
View File

@ -0,0 +1,105 @@
{
"layer": "top",
"modules-left": ["hyprland/workspaces"],
"modules-center": ["hyprland/window"],
"modules-right": [
"tray",
"cpu",
"memory",
"clock",
"pulseaudio",
"hyprland/language",
"custom/power"
],
"hyprland/workspaces": {
"format": "{}",
"active-only": false,
"sort-by-number": true,
"on-click": "activate",
"all-outputs": false
},
"hyprland/window": {
"format": "{title}",
"max-length": 333,
"seperate-outputs": true
},
"hyprland/language": {
"format": " {}",
"format-en": "Merica",
"format-se": "Swedish"
},
"tray": {
"format": "{icon}",
"icon-size": 14,
"spacing": 5
},
"clock": {
"format": " {:%I:%M %a %d}",
"tooltip-format": "{calendar}",
"calendar": {
"mode": "month",
"mode-mon-col": 3,
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>{%W}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b>{}</b></span>"
}
},
"actions": {
"on-click-middle": "mode",
"on-click-right": "shift_up",
"on-click": "shift_down"
}
/*"format-alt": "<span foreground='#89dceb'> </span><span>{:%H:%M}</span>"*/
},
"cpu": {
"format": " {usage}%"
},
"memory": {
"format": " {}%",
"interval": 1
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-muted": "󰖁 {format_source}",
"format-source": " {volume}%",
"format-source-muted": "<span foreground='#ea9a97'></span>",
"format-icons": {
"headphone": "",
"phone": "",
"portable": "",
"default": ["", "", ""]
},
"on-click-left": "pavucontrol",
"input": true
},
"custom/power": {
"format": "",
"tooltip": false,
"menu": "on-click",
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
"menu-actions": {
"logout": "hyprctl dispatch exit",
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
}
}

View File

@ -0,0 +1,84 @@
{
"hyprland/workspaces": {
"format": "{}",
"active-only": false,
"sort-by-number": true,
"on-click": "activate",
"all-outputs": false
},
"hyprland/window": {
"format": "{title}",
"max-length": 333,
"seperate-outputs": true
},
"tray": {
"format": "<span foreground='#D3C6AA'>{icon}</span>",
"icon-size": 14,
"spacing": 5
},
"clock": {
"format": "<span foreground='#f6c177'> </span><span>{:%I:%M %a %d}</span>",
"tooltip-format": "{calendar}",
"calendar": {
"mode": "month",
"mode-mon-col": 3,
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>{%W}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b>{}</b></span>"
}
},
"actions": {
"on-click-middle": "mode",
"on-click-right": "shift_up",
"on-click": "shift_down"
}
/*"format-alt": "<span foreground='#89dceb'> </span><span>{:%H:%M}</span>"*/
},
"cpu": {
"format": "<span foreground='#eb6f92'></span> {usage}%"
},
"memory": {
"format": "<span foreground='#ebbcba'></span> {}%",
"interval": 1
},
"pulseaudio": {
"format": "<span foreground='#31748f'>{icon}</span> {volume}% {format_source}",
"format-bluetooth": "<span foreground='#c4a7e7'>{icon}</span> {volume}% {format_source}",
"format-bluetooth-muted": "<span foreground='#c4a7e7'>󰖁</span> {format_source}",
"format-muted": "<span foreground='#eb6f92'>󰖁</span> {format_source}",
"format-source": "<span foreground='#E67E80'></span> {volume}%",
"format-source-muted": "<span foreground='#F38BA8'></span>",
"format-icons": {
"headphone": "",
"phone": "",
"portable": "",
"default": ["", "", ""]
},
"on-click-left": "pavucontrol",
"input": true
},
"custom/power": {
"format": "⏻ ",
"tooltip": false,
"menu": "on-click",
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
"menu-actions": {
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
}
}

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="suspend">
<property name="label">Suspend</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="logout">
<property name="label">Logout</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="hibernate">
<property name="label">Hibernate</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="shutdown">
<property name="label">Shutdown</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
</child>
<child>
<object class="GtkMenuItem" id="reboot">
<property name="label">Reboot</property>
</object>
</child>
</object>
</interface>

151
.config/waybar/style.css Normal file
View File

@ -0,0 +1,151 @@
@import "./themes/rose-pine-moon.css";
* {
min-height: 0;
margin: 0;
padding: 0;
border-radius: 7px;
font-family: "JetBrains Mono Nerd Font";
font-size: 10pt;
font-weight: 700;
padding-bottom: 0px;
}
tooltip {
background: @base;
border-radius: 7px;
border: 2px solid @overlay;
}
#window {
margin: 5px 5px 2px 5px;
padding-left: 10px;
padding-right: 7px;
border-radius: 3px;
border-bottom: 2px solid @overlay;
border-right: 2px solid @overlay;
border-color: @overlay;
background-color: @base;
color: @foam;
}
window#waybar.empty #window {
background-color: transparent;
border-bottom: none;
border-right: none;
}
window#waybar {
background-color: transparent;
color: @iris;
}
/* Workspaces */
@keyframes button_activate {
from {
opacity: 0.3;
}
to {
opacity: 1;
}
}
#workspaces {
margin: 5px 5px 2px 5px;
border-radius: 3px;
padding: 1px;
background-color: @base;
color: @text;
}
#workspaces button {
margin: 5px 2px 5px 2px;
border-radius: 3px;
padding-left: 9px;
padding-right: 9px;
background-color: @base;
color: @iris;
}
#workspaces button.active {
background-color: @rose;
color: @base;
/*color: @bg;*/
}
#workspaces button.urgent {
color: @love;
}
#workspaces button:hover {
border: solid transparent;
background-color: @highlightMed;
}
#tray {
margin: 5px 5px 2px 5px;
border-radius: 3px;
padding-left: 10px;
padding-right: 10px;
background-color: @base;
color: @foam;
}
#cpu,
#memory {
margin: 5px 5px 2px 5px;
padding-left: 10px;
padding-right: 10px;
border-radius: 3px;
background-color: @base;
color: @rose;
}
#pulseaudio {
margin-top: 5px;
margin-bottom: 2px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
background-color: @base;
color: @iris;
}
#pulseaudio {
margin-right: 0px;
margin-left: 5px;
padding-left: 10px;
padding-right: 7.5px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
#clock {
margin: 5px 5px 2px 5px;
padding-left: 10px;
padding-right: 10px;
border-radius: 3px;
background-color: @base;
color: @gold;
}
#custom-power {
margin: 5px 5px 2px 5px;
padding-left: 10px;
padding-right: 10px;
border-radius: 3px;
background-color: @base;
color: @text;
}
#language {
margin: 5px 5px 2px 5px;
padding-left: 10px;
padding-right: 10px;
border-radius: 3px;
background-color: @base;
color: @foam;
}

View File

@ -0,0 +1,23 @@
/*
* Variant: Rosé Pine Moon
* Maintainer: DankChoir
*/
@define-color base #232136;
@define-color surface #2a273f;
@define-color overlay #393552;
@define-color muted #6e6a86;
@define-color subtle #908caa;
@define-color text #e0def4;
@define-color love #eb6f92;
@define-color gold #f6c177;
@define-color rose #ea9a97;
@define-color pine #3e8fb0;
@define-color foam #9ccfd8;
@define-color iris #c4a7e7;
@define-color highlightLow #2a283e;
@define-color highlightMed #44415a;
@define-color highlightHigh #56526e;