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