feat: eww
This commit is contained in:
parent
6d9d7a688c
commit
2074ff4ec5
21
config/eww/eww.scss
Normal file
21
config/eww/eww.scss
Normal file
@ -0,0 +1,21 @@
|
||||
* {
|
||||
all:unset;
|
||||
font-family: "IosevkaTermSlab Nerd Font", "monospace";
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.bar {
|
||||
background-color: black;
|
||||
color: #fafafa;
|
||||
}
|
||||
|
||||
.single-tag {
|
||||
font-family: "Noto Sans CJK JP Black", "Iwata SeichouG W05 B", "monospace";
|
||||
background-color: #431407;
|
||||
color: #fed7aa;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
55
config/eww/eww.yuck
Normal file
55
config/eww/eww.yuck
Normal file
@ -0,0 +1,55 @@
|
||||
(defwindow bar
|
||||
:monitor 0
|
||||
:exclusive true
|
||||
:class "bar"
|
||||
:windowtype "dock"
|
||||
:geometry (geometry :x "0%"
|
||||
:y "0%"
|
||||
:width "100%"
|
||||
:height "20px"
|
||||
:anchor "top center")
|
||||
(bar))
|
||||
|
||||
;
|
||||
; variables
|
||||
;
|
||||
|
||||
(defvar tags "[1,2,3,4,5]")
|
||||
(defvar tagSymbols `["一","二","三","四","五"]`)
|
||||
|
||||
|
||||
(defwidget bar []
|
||||
(centerbox
|
||||
:orientation "h"
|
||||
(left)
|
||||
"This is *the* bar"
|
||||
":D"))
|
||||
|
||||
;
|
||||
;
|
||||
; LEFT
|
||||
;
|
||||
;
|
||||
(defwidget left []
|
||||
(box
|
||||
:class "left-side"
|
||||
:orientation "h"
|
||||
:space-evenly false
|
||||
:halign "start"
|
||||
:spacing 3
|
||||
(tags)))
|
||||
|
||||
;
|
||||
; Widget that just prints all tags :D
|
||||
;
|
||||
(defwidget tags []
|
||||
(box
|
||||
:spacing 4
|
||||
(for idx in tags
|
||||
(tag :id idx
|
||||
:symbol `${tagSymbols[idx - 1]}`))))
|
||||
|
||||
(defwidget tag [id symbol]
|
||||
(box :class "single-tag"
|
||||
{symbol}))
|
||||
|
@ -193,3 +193,8 @@ rivertile -view-padding 6 -outer-padding 6 &
|
||||
# BAR
|
||||
#
|
||||
waybar &
|
||||
|
||||
#
|
||||
# wallpaper: TODO
|
||||
#
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
foot fuzzel river waybar tmux
|
||||
|
||||
# notifications
|
||||
# https://wiki.archlinux.org/title/Desktop_notifications
|
||||
libnotify mako
|
||||
|
||||
brightnessctl
|
||||
# Make sure you're in the video group:
|
||||
# sudo usermod -aG video $USER
|
Loading…
Reference in New Issue
Block a user