udisks2
This commit is contained in:
10
home/programs/eww/default.nix
Normal file
10
home/programs/eww/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ eww ];
|
||||
|
||||
xdg.configFile."eww" = {
|
||||
recursive = true;
|
||||
source = ./eww;
|
||||
};
|
||||
}
|
||||
0
home/programs/eww/eww/eww.scss
Normal file
0
home/programs/eww/eww/eww.scss
Normal file
20
home/programs/eww/eww/eww.yuck
Normal file
20
home/programs/eww/eww/eww.yuck
Normal file
@@ -0,0 +1,20 @@
|
||||
(defwindow example
|
||||
:monitor 0
|
||||
:geometry (geometry :x "0%"
|
||||
:y "0px"
|
||||
:width "100%"
|
||||
:height "25px"
|
||||
:anchor "top center")
|
||||
:stacking "fg"
|
||||
:reserve (struts :distance "20px" :side "top")
|
||||
:windowtype "dock"
|
||||
:wm-ignore false
|
||||
(greeter :text "Say hello!"
|
||||
:name "Tim"))
|
||||
|
||||
(defwidget greeter [?text name]
|
||||
(box :orientation "horizontal"
|
||||
:halign "center"
|
||||
text
|
||||
(button :onclick "notify-send 'Hello' 'Hello, ${name}'"
|
||||
"Greet")))
|
||||
BIN
home/programs/eww/eww/wallpaper
Normal file
BIN
home/programs/eww/eww/wallpaper
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 MiB |
Reference in New Issue
Block a user