Working on hypr
This commit is contained in:
+111
-104
@@ -1,107 +1,114 @@
|
||||
{
|
||||
"margin-top" : 0,
|
||||
"margin-left": 0,
|
||||
"margin-right": 0,
|
||||
"height" : 10,
|
||||
"modules-left": [
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/workspaces",
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"battery",
|
||||
"clock",
|
||||
],
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"max-length": 35,
|
||||
"rewrite": {
|
||||
"": "Harsh"
|
||||
},
|
||||
"separate-outputs": true,
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"active": " ",
|
||||
},
|
||||
"sort-by-number": true,
|
||||
"persistent-workspaces": {
|
||||
"*": 10, // 10 workspaces by default on every monitor
|
||||
},
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%d/%m/%Y %H:%M}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{}",
|
||||
"interval": 1
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-full": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"pulseaudio#1": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
|
||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
},
|
||||
"pulseaudio#2": {
|
||||
"format": "{format_source}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-muted": "{format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
||||
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+",
|
||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
"name": "float",
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"height": 75,
|
||||
"exclusive": false,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"margin-right": 10,
|
||||
"margin-bottom": 0,
|
||||
"margin-top" : 0,
|
||||
"margin-left": 0,
|
||||
"margin-right": 0,
|
||||
"height" : 10,
|
||||
"modules-left": [
|
||||
],
|
||||
"modules-center": [
|
||||
],
|
||||
"modules-right": [
|
||||
"hyprland/workspaces",
|
||||
"tray",
|
||||
"battery",
|
||||
"clock",
|
||||
],
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"max-length": 35,
|
||||
"rewrite": {
|
||||
"": "Harsh"
|
||||
},
|
||||
"separate-outputs": true,
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true,
|
||||
"persistent-workspaces": {
|
||||
"DP-3": [11, 12, 13, 14, 15, 16, 17, 18, 19],
|
||||
"DP-2": [21, 22, 23, 24, 25, 26, 27, 28, 29]
|
||||
},
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%d/%m/%Y %H:%M}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{}",
|
||||
"interval": 1
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-full": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"pulseaudio#1": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
|
||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
},
|
||||
"pulseaudio#2": {
|
||||
"format": "{format_source}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-muted": "{format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
||||
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+",
|
||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 15,
|
||||
"spacing": 10
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 15,
|
||||
"spacing": 10
|
||||
}
|
||||
}
|
||||
|
||||
+16
-17
@@ -1,12 +1,17 @@
|
||||
@import "macchiato.css";
|
||||
|
||||
window {
|
||||
position: absolute;
|
||||
window#waybar.full {
|
||||
background: @bar-bg;
|
||||
}
|
||||
|
||||
window#waybar.float {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
@@ -31,7 +36,7 @@ button:hover {
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
padding: 2px 5px;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
@@ -42,12 +47,19 @@ button:hover {
|
||||
|
||||
#workspaces button.active {
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
background-color: @green;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#workspaces button.active:hover {
|
||||
background-color: @green;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: @lavender;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
@@ -101,24 +113,11 @@ button:hover {
|
||||
color: @teal;
|
||||
}
|
||||
|
||||
.modules-right,
|
||||
.modules-center {
|
||||
.modules-right {
|
||||
background-color: @base;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.modules-left {
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: @sapphire;
|
||||
|
||||
Reference in New Issue
Block a user