From 23cd1ce2ee25600e5f3b946e580a36363f676f55 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Wed, 28 Dec 2022 15:56:56 +0100 Subject: [PATCH] add wldash + config --- config/sway/config.d/10-variables.conf | 2 +- config/wldash.yaml | 82 ++++++++++++++++++++++++++ x13-gen1-sway-desktop.yaml | 3 +- 3 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 config/wldash.yaml diff --git a/config/sway/config.d/10-variables.conf b/config/sway/config.d/10-variables.conf index afc9aff..6397e62 100644 --- a/config/sway/config.d/10-variables.conf +++ b/config/sway/config.d/10-variables.conf @@ -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 diff --git a/config/wldash.yaml b/config/wldash.yaml new file mode 100644 index 0000000..4667602 --- /dev/null +++ b/config/wldash.yaml @@ -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 diff --git a/x13-gen1-sway-desktop.yaml b/x13-gen1-sway-desktop.yaml index 4c37db3..7fa366c 100644 --- a/x13-gen1-sway-desktop.yaml +++ b/x13-gen1-sway-desktop.yaml @@ -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"]