added second monitor and imported systray
This commit is contained in:
@@ -9,10 +9,8 @@ window {
|
||||
color: transparent;
|
||||
|
||||
* {
|
||||
// font-family: 'JetBrainsMono Nerd Font'; // Mono-like
|
||||
// font-family: 'MonaspiceRn Nerd Font'; // Verspielt
|
||||
font-family: 'DaddyTimeMono Nerd Font';
|
||||
font-size: 0.8rem;
|
||||
font-family: 'Inconsolata Go Nerd Font';
|
||||
font-size: 0.85rem;
|
||||
border-radius: 1.5rem 1rem;
|
||||
padding: 2px 6px;
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
(include "./widgets.yuck")
|
||||
|
||||
(defwindow top :monitor 1
|
||||
(defwindow dp-2 :monitor "DP-2"
|
||||
:geometry (geometry :x 0
|
||||
:y 0
|
||||
:width "100%"
|
||||
@@ -9,11 +9,24 @@
|
||||
:stacking "bg"
|
||||
:exclusive true
|
||||
:focusable "ondemand"
|
||||
:namespace "example"
|
||||
(bar0)
|
||||
:namespace "dp-2"
|
||||
(top)
|
||||
)
|
||||
|
||||
(defwidget bar0 []
|
||||
(defwindow dp-1 :monitor "DP-1"
|
||||
:geometry (geometry :x 0
|
||||
:y 0
|
||||
:width "100%"
|
||||
:height "20px"
|
||||
:anchor "top center")
|
||||
:stacking "bg"
|
||||
:exclusive true
|
||||
:focusable "ondemand"
|
||||
:namespace "dp-1"
|
||||
(top)
|
||||
)
|
||||
|
||||
(defwidget top []
|
||||
(centerbox :orientation "h"
|
||||
(left)
|
||||
(center)
|
||||
@@ -47,6 +60,7 @@
|
||||
:spacing 5
|
||||
:halign 'end'
|
||||
(datetime)
|
||||
(stray)
|
||||
)
|
||||
)
|
||||
|
||||
|
@@ -8,4 +8,4 @@ if pgrep -x "eww" > /dev/null; then pkill -x "eww"; fi
|
||||
|
||||
## the following only works when symlinked to /usr/bin/
|
||||
eww daemon
|
||||
eww open top
|
||||
eww open-many dp-1 dp-2
|
||||
|
@@ -1,3 +1,4 @@
|
||||
@import 'widgets/media';
|
||||
@import 'widgets/datetime.scss';
|
||||
@import 'widgets/systray';
|
||||
@import 'widgets/lorem-text';
|
||||
|
@@ -1,3 +1,4 @@
|
||||
(include "widgets/media.yuck")
|
||||
(include "widgets/datetime.yuck")
|
||||
(include "widgets/systray.yuck")
|
||||
(include "widgets/lorem-text.yuck")
|
||||
|
Reference in New Issue
Block a user