Compare commits
2 Commits
b08b77e1dd
...
dd9652950c
Author | SHA1 | Date | |
---|---|---|---|
dd9652950c | |||
1a23986004 |
@ -14,8 +14,8 @@ env = XCURSOR_SIZE,24
|
|||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
|
|
||||||
general {
|
general {
|
||||||
gaps_in = 16
|
gaps_in = 8
|
||||||
gaps_out = 16
|
gaps_out = 0,16,16,16
|
||||||
|
|
||||||
border_size = 4
|
border_size = 4
|
||||||
|
|
||||||
@ -137,7 +137,7 @@ input {
|
|||||||
kb_options =
|
kb_options =
|
||||||
kb_rules =
|
kb_rules =
|
||||||
|
|
||||||
follow_mouse = 1
|
follow_mouse = 2
|
||||||
|
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
@define-color base #212121;
|
@define-color base #212121;
|
||||||
@define-color base-gradient #424242;
|
|
||||||
@define-color text #fafafa;
|
@define-color text #fafafa;
|
||||||
@define-color text-dark #a0a0a0;
|
@define-color text-dark #a0a0a0;
|
||||||
@define-color green #00C853;
|
@define-color green #00C853;
|
||||||
@define-color green-gradient #00E676;
|
|
||||||
@define-color red #B71C1C;
|
@define-color red #B71C1C;
|
||||||
@define-color red-gradient #D32F2F;
|
|
||||||
@define-color blue #0091EA;
|
@define-color blue #0091EA;
|
||||||
@define-color blue-gradient #00B0FF;
|
|
||||||
@define-color purple #651FFF;
|
@define-color purple #651FFF;
|
||||||
@define-color purple-gradient #7C4DFF;
|
|
||||||
|
@ -11,19 +11,7 @@
|
|||||||
"modules-right": ["tray", "pulseaudio#input", "pulseaudio#output", "bluetooth", "network"],
|
"modules-right": ["tray", "pulseaudio#input", "pulseaudio#output", "bluetooth", "network"],
|
||||||
// See https://github.com/Alexays/Waybar/wiki/Module:-Hyprland
|
// See https://github.com/Alexays/Waybar/wiki/Module:-Hyprland
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"format": "{icon}",
|
"format": "{name}",
|
||||||
"format-icons": {
|
|
||||||
"1": "一",
|
|
||||||
"2": "二",
|
|
||||||
"3": "三",
|
|
||||||
"4": "四",
|
|
||||||
"5": "五",
|
|
||||||
"6": "六",
|
|
||||||
"7": "七",
|
|
||||||
"8": "八",
|
|
||||||
"9": "九",
|
|
||||||
"10": "十"
|
|
||||||
},
|
|
||||||
"on-scroll-up": "hyprctl dispatch workspace +1",
|
"on-scroll-up": "hyprctl dispatch workspace +1",
|
||||||
"on-scroll-down": "hyprctl dispatch workspace -1",
|
"on-scroll-down": "hyprctl dispatch workspace -1",
|
||||||
"persistent-workspaces": {
|
"persistent-workspaces": {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "Inter SemiBold", "FantasqueSansM Nerd Font";
|
font-family: "Inter SemiBold", "FantasqueSansM Nerd Font";
|
||||||
font-size: 1rem;
|
font-size: 1.0rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
@ -16,19 +16,19 @@ window#waybar {
|
|||||||
|
|
||||||
#waybar .module {
|
#waybar .module {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
|
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
padding-top: 2px;
|
|
||||||
padding-bottom: 2px;
|
|
||||||
|
|
||||||
border-radius: 24px;
|
border-radius: 16px;
|
||||||
|
|
||||||
background: linear-gradient(0deg, @base 0%, @base-gradient 100%);
|
background: linear-gradient(0deg, @base 0%, shade(@base, 2.3) 100%);
|
||||||
color: @text;
|
color: @text;
|
||||||
|
box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 3px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#waybar .modules-left > *:first-child > * {
|
#waybar .modules-left > *:first-child > * {
|
||||||
@ -39,14 +39,20 @@ window#waybar {
|
|||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces.module {
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
border-radius: 16px;
|
|
||||||
color: @text;
|
color: @text;
|
||||||
border-radius: 20px;
|
border-radius: 16px;
|
||||||
|
min-width: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
color: black;
|
||||||
|
background: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.empty {
|
#workspaces button.empty {
|
||||||
@ -67,19 +73,19 @@ window#waybar {
|
|||||||
|
|
||||||
#bluetooth.on,
|
#bluetooth.on,
|
||||||
#bluetooth.connected {
|
#bluetooth.connected {
|
||||||
background: linear-gradient(0deg, @blue 0%, @blue-gradient 100%);
|
background: linear-gradient(0deg, @blue 0%, shade(@blue, 1.3) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#bluetooth.off,
|
#bluetooth.off,
|
||||||
#bluetooth.disabled,
|
#bluetooth.disabled,
|
||||||
#bluetooth.no-controller {
|
#bluetooth.no-controller {
|
||||||
background: linear-gradient(0deg, @red 0%, @red-gradient 100%);
|
background: linear-gradient(0deg, @red 0%, shade(@red, 1.2) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.ethernet,
|
#network.ethernet,
|
||||||
#network.wifi{
|
#network.wifi{
|
||||||
background: linear-gradient(0deg, @green 0%, @green-gradient 100%);
|
background: linear-gradient(0deg, @green 0%, shade(@green, 1.2) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.disconnected,
|
#network.disconnected,
|
||||||
@ -87,21 +93,21 @@ window#waybar {
|
|||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
padding-right: 22px;
|
padding-right: 22px;
|
||||||
|
|
||||||
background: linear-gradient(0deg, @red 0%, @red-gradient 100%);
|
background: linear-gradient(0deg, @red 0%, shade(@red, 1.2) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.input {
|
#pulseaudio.input {
|
||||||
background: linear-gradient(0deg, @purple 0%, @purple-gradient 100%);
|
background: linear-gradient(0deg, @purple 0%, shade(@purple, 1.2) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.input.source-muted {
|
#pulseaudio.input.source-muted {
|
||||||
background: linear-gradient(0deg, @red 0%, @red-gradient 100%);
|
background: linear-gradient(0deg, @red 0%, shade(@red, 1.2) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.output {
|
#pulseaudio.output {
|
||||||
background: linear-gradient(0deg, @purple 0%, @purple-gradient 100%);
|
background: linear-gradient(0deg, @purple 0%, shade(@purple, 1.2) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.output.muted {
|
#pulseaudio.output.muted {
|
||||||
background: linear-gradient(0deg, @red 0%, @red-gradient 100%);
|
background: linear-gradient(0deg, @red 0%, shade(@red, 1.2) 100%);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user