updated hyprland config to lua config and added swayosd config and
updated swaync styles
This commit is contained in:
1 parent
7e6a2cf0e8
commit
b64af49b54
30 files changed
+928
-301
No files matched your search
@@ -0,0 +1,32 @@
|
||||
[server]
|
||||
## style file for the OSD
|
||||
style = "~/dotfiles/swayosd/style.css"
|
||||
|
||||
## on which height to show the OSD
|
||||
top_margin = 0.083
|
||||
|
||||
## The maximum volume that can be reached in %
|
||||
# max_volume = 150
|
||||
|
||||
## The minimum brightness that can be reached in %
|
||||
min_brightness = 5
|
||||
|
||||
## show percentage on the right of the OSD
|
||||
show_percentage = true
|
||||
|
||||
## set format for the media player OSD
|
||||
# playerctl_format = "{artist} - {title}"
|
||||
## Available values:
|
||||
## artist, albumArtist, title, album, trackNumber, discNumber, autoRating
|
||||
|
||||
# If SwayOSD should automatically display the OSD when the keyboard backlight changes or not.
|
||||
# Note: Only displays the OSD if the hardware changed the keyboard brightness itself
|
||||
# (automatically or through a firmware-handled hotkey being pressed)
|
||||
keyboard_backlight = true
|
||||
|
||||
# OSD display duration in milliseconds (200-60000)
|
||||
# Possible values: 200 - 60000
|
||||
# Default value: 1000
|
||||
# Note: This is the server wide default which can be overridden by every individual client call.
|
||||
|
||||
[client]
|
||||
@@ -0,0 +1,48 @@
|
||||
window#osd {
|
||||
border-radius: 999px;
|
||||
border: none;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
|
||||
#container {
|
||||
margin: 16px;
|
||||
}
|
||||
|
||||
image,
|
||||
label {
|
||||
color: #{"@theme_fg_color"};
|
||||
}
|
||||
|
||||
progressbar:disabled,
|
||||
image:disabled {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
progressbar,
|
||||
segmentedprogress {
|
||||
min-height: 6px;
|
||||
border-radius: 999px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
trough,
|
||||
segment {
|
||||
min-height: inherit;
|
||||
border-radius: inherit;
|
||||
border: none;
|
||||
background: #{"alpha(@theme_fg_color, 0.5)"};
|
||||
}
|
||||
progress,
|
||||
segment.active {
|
||||
min-height: inherit;
|
||||
border-radius: inherit;
|
||||
border: none;
|
||||
background: #{"@theme_fg_color"};
|
||||
}
|
||||
|
||||
segment {
|
||||
margin-left: 8px;
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user