add wldash + config

This commit is contained in:
Vladan Popovic 2022-12-28 15:56:56 +01:00
parent 1ca878a6ec
commit 23cd1ce2ee
3 changed files with 85 additions and 2 deletions

View File

@ -12,4 +12,4 @@ set $term alacritty
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
# set $menu wofi -c $HOME/.config/wofi/config -s $HOME/.config/wofi/style.css | xargs swaymsg exec --
set $menu ~/src/wldash/target/release/wldash
set $menu wldash

82
config/wldash.yaml Normal file
View File

@ -0,0 +1,82 @@
---
outputMode: active
scale: 0.6
background:
red: 0.0
green: 0.0
blue: 0.0
opacity: 0.8999999761581421
widget:
margin:
margins:
- 20
- 20
- 20
- 20
widget:
verticalLayout:
- horizontalLayout:
- margin:
margins:
- 0
- 88
- 0
- 32
widget:
verticalLayout:
- date:
font: ~
font_size: 64.0
- clock:
font: ~
font_size: 256.0
- verticalLayout:
- margin:
margins:
- 0
- 0
- 0
- 8
widget:
battery:
font: ~
font_size: 24.0
length: 0
- margin:
margins:
- 0
- 0
- 0
- 8
widget:
backlight:
device: intel_backlight
font: ~
font_size: 24.0
length: 0
- margin:
margins:
- 0
- 0
- 0
- 8
widget:
pulseAudio:
font: ~
font_size: 24.0
length: 0
- calendar:
font_primary: ~
font_secondary: ~
font_size: 16.0
sections: 3
- launcher:
font: ~
font_size: 32.0
length: 0
app_opener: ""
term_opener: ""
url_opener: ""
fonts:
sans: sans
mono: mono

View File

@ -190,7 +190,7 @@ packages:
- wayland-devel
- wdisplays
- wl-clipboard
- wofi
- wldash
- xdg-desktop-portal-wlr
# virtualization
- libguestfs-tools
@ -369,3 +369,4 @@ add-files:
- ["config/waybar/config", "/etc/xdg/waybar/config"]
- ["config/waybar/style.css", "/etc/xdg/waybar/style.css"]
- ["config/waybar/keyboard-layout.py", "/etc/xdg/waybar/keyboard-layout.py"]
- ["config/wldash.yaml", "/usr/share/wldash/config.yaml"]