This commit is contained in:
parent
54055d0f9e
commit
f5034dca81
8 changed files with 35 additions and 26 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
.time {
|
.time {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin: 0.5rem 1.2rem 0.5rem 1rem;
|
margin: 0.5rem 1rem 0.5rem 1rem;
|
||||||
padding-left: 0.4rem;
|
padding-left: 0.4rem;
|
||||||
padding-right: 0.4rem;
|
padding-right: 0.4rem;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
|
|
||||||
(defwindow bar
|
(defwindow bar
|
||||||
:monitor 2
|
:monitor 1
|
||||||
:windowtype "dock"
|
:windowtype "dock"
|
||||||
:geometry (geometry
|
:geometry (geometry
|
||||||
:x "0%"
|
:x "0%"
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
@import "./mixins.scss";
|
@import "./mixins.scss";
|
||||||
@import "./colors.scss";
|
@import "./colors.scss";
|
||||||
|
|
||||||
|
.menu-widget {
|
||||||
|
font-size: 20px;
|
||||||
|
margin: 0.5rem 1.2rem 0.5rem 1.5rem;
|
||||||
|
padding-right: 0.3rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: $background;
|
||||||
|
}
|
||||||
|
|
||||||
.menubox {
|
.menubox {
|
||||||
border: 3px solid $background-highlight;
|
border: 3px solid $background-highlight;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
@ -32,14 +40,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-widget {
|
|
||||||
font-size: 20px;
|
|
||||||
margin: 0.5rem 1.2rem 0.5rem 0.9rem;
|
|
||||||
padding-right: 0.3rem;
|
|
||||||
border-radius: 8px;
|
|
||||||
background-color: $background;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cpu {
|
.cpu {
|
||||||
@include sysinfo();
|
@include sysinfo();
|
||||||
color: $red;
|
color: $red;
|
||||||
|
|
|
@ -56,18 +56,26 @@
|
||||||
border: 3px solid $background-highlight;
|
border: 3px solid $background-highlight;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hover-play:hover {
|
.hover-play {
|
||||||
|
transition: all 200ms ease;
|
||||||
|
border-radius: 5px;
|
||||||
|
&:hover {
|
||||||
background-color: $green;
|
background-color: $green;
|
||||||
transition: all 100ms ease-in;
|
transition: all 200ms ease;
|
||||||
color: $background-highlight;
|
color: $background-highlight;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hover-pause:hover {
|
.hover-pause {
|
||||||
|
transition: all 200ms ease;
|
||||||
|
border-radius: 5px;
|
||||||
|
&:hover {
|
||||||
background-color: $red;
|
background-color: $red;
|
||||||
transition: all 200ms ease-in;
|
transition: all 200ms ease;
|
||||||
color: $background-highlight;
|
color: $background-highlight;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.close-button {
|
.close-button {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
(deflisten musicArtist :initial "-" "playerctl --follow metadata --format '{{ artist }}'")
|
(deflisten musicArtist :initial "-" "playerctl --follow metadata --format '{{ artist }}'")
|
||||||
(deflisten musicTitle :initial "-" "playerctl --follow metadata --format '{{title}}'")
|
(deflisten musicTitle :initial "-" "playerctl --follow metadata --format '{{title}}'")
|
||||||
(deflisten musicCover "sh ~/.config/eww/scripts/get-music-cover.sh ~/.config/eww/cache_directory")
|
(deflisten musicCover "sh /home/notoh/snowflake/home/programs/eww/config/scripts/get-music-cover.sh /tmp/eww/cache_directory")
|
||||||
|
|
||||||
|
|
||||||
(defpoll time :interval "60s"
|
(defpoll time :interval "60s"
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(defwindow menu-window
|
(defwindow menu-window
|
||||||
:monitor 2
|
:monitor 1
|
||||||
:windowtype "dock"
|
:windowtype "dock"
|
||||||
:geometry (geometry
|
:geometry (geometry
|
||||||
:x "0.9%"
|
:x "0.9%"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
(bar-art)))
|
(bar-art)))
|
||||||
|
|
||||||
(defwindow music-widget
|
(defwindow music-widget
|
||||||
:monitor 2
|
:monitor 1
|
||||||
:windowtype "dock"
|
:windowtype "dock"
|
||||||
:namespace "music-widget"
|
:namespace "music-widget"
|
||||||
:geometry (geometry
|
:geometry (geometry
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.eww = {
|
programs.eww = {
|
||||||
enable = false;
|
enable = true;
|
||||||
package = pkgs.eww-wayland;
|
package = pkgs.eww;
|
||||||
|
configDir = ./config;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue