Skip to content

Commit

Permalink
some changes to the bar and hyprland
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-coe-renner committed Aug 21, 2024
1 parent 5d5e815 commit 1419bb2
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 20 deletions.
14 changes: 11 additions & 3 deletions dot_config/eww/eww.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
* {
font-family: Fira Code;
background-color: rgba(0,0,0,0);
font-family: Source Code Pro;
color: #93cb42;
}

.clock {
background-color: rgba(0,0,0,0);
font-size: 100px;
color: rgba(250,100,100,255);
}

.bar {
background-color: rgba(17,17,17);
font-size: 15;
font-weight: bold;
border-radius: 10px;
}
23 changes: 22 additions & 1 deletion dot_config/eww/eww.yuck
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
;; ------ CLOCK ------
(defpoll time :interval "10s"
`date +%H:%M`)

(defwidget clock []
time)

(defwindow clock
:monitor 0
:monitor 1
:geometry (geometry :x "2%"
:y "4%"
:anchor "top left")
Expand All @@ -14,3 +15,23 @@
:class "clock"
(clock))
)

;; ------- BAR --------
(defpoll datetime :interval "10s"
`date "+%a %H:%M %m-%d"`)

(defwidget cal []
datetime)

(defwindow bar
:monitor 1
:geometry (geometry :x "0%"
:y "10px"
:width "160px"
:height "30px"
:anchor "top center")
:stacking "fg"
:exclusive true
:focusable false
(cal)
)
4 changes: 2 additions & 2 deletions dot_config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ $browser = qutebrowser
# Or execute your favorite apps at launch like this:

exec-once = systemctl --user start emacs
exec-once = waybar & nm-applet & blueman-applet
exec-once = swaybg -i ~/wallpapers/away_in_silence_by_aenami.png
exec-once = eww daemon & eww open clock & eww open bar
exec-once = swaybg -i ~/wallpapers/anime-gun.jpg

#############################
### ENVIRONMENT VARIABLES ###
Expand Down
17 changes: 3 additions & 14 deletions dot_config/waybar/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,14 @@

{
"layer": "top",
"position": "top",
"position": "bottom",

"modules-left": [
"hyprland/workspaces",
"custom/right-arrow-dark"
],
"modules-center": [
"custom/left-arrow-dark",
"clock#1",
"clock#2",
"clock#3",
"custom/right-arrow-dark"
],
"modules-right": [
"custom/left-arrow-dark",
"pulseaudio",
"memory",
"battery",
"tray"
"battery",
"tray"
],

"tray": {
Expand Down

0 comments on commit 1419bb2

Please sign in to comment.