feat: eww

This commit is contained in:
Fernando Araoz 2025-01-16 20:32:21 -05:00
parent 6d9d7a688c
commit 2074ff4ec5
4 changed files with 85 additions and 0 deletions

21
config/eww/eww.scss Normal file
View 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
View 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}))

View File

@ -193,3 +193,8 @@ rivertile -view-padding 6 -outer-padding 6 &
# BAR # BAR
# #
waybar & waybar &
#
# wallpaper: TODO
#

View File

@ -1,5 +1,9 @@
foot fuzzel river waybar tmux foot fuzzel river waybar tmux
# notifications
# https://wiki.archlinux.org/title/Desktop_notifications
libnotify mako
brightnessctl brightnessctl
# Make sure you're in the video group: # Make sure you're in the video group:
# sudo usermod -aG video $USER # sudo usermod -aG video $USER