mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 13:45:29 -08:00
Compare commits
No commits in common. "0417c202a2a2219e4f551c342e2bdd2ba79ebbdd" and "2c7f3f5884d6bda42509e5a88af66768305b71ae" have entirely different histories.
0417c202a2
...
2c7f3f5884
4 changed files with 9 additions and 34 deletions
14
flake.lock
14
flake.lock
|
@ -29,11 +29,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699576438,
|
"lastModified": 1699504296,
|
||||||
"narHash": "sha256-R/rPuL5HlFMn00trx9X89Iu9hugu1pFuvwkZVSjOpAg=",
|
"narHash": "sha256-stW/LgyOvd9UwuWCJxdNrH3VVJsAQPBsZfMwqZJa1j8=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "55205935b4533c5d59bc942e3a28be3e245f08d6",
|
"rev": "09f272de15116ec688492206af13db59d2a4b9d3",
|
||||||
"revCount": 16,
|
"revCount": 9,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.nickiel.net/Nickiel/Ewwtilities.git"
|
"url": "https://git.nickiel.net/Nickiel/Ewwtilities.git"
|
||||||
},
|
},
|
||||||
|
@ -229,11 +229,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699548876,
|
"lastModified": 1699458350,
|
||||||
"narHash": "sha256-i2Zi1lzKKwDz9tDiZr5nX11irKuwFme0noXb0FF+MWE=",
|
"narHash": "sha256-AHoi7cM4SzQTpu4ZMzt+KDoxxka/qjGPvR+0lvaLgf0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c41b26e688ff139e009e756a9b88c2760dfa8350",
|
"rev": "da44563672fb0faca83dc56185472e56d1a21852",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -4,15 +4,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dash_clock {
|
.dash_clock {
|
||||||
// background-image: linear-gradient(45deg, #7d7d7d, #262626 30%, #262626 60%, #10384a);
|
background-image: linear-gradient(45deg, #7d7d7d, #262626 30%, #262626 60%, #10384a);
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dash_clock_bg {
|
|
||||||
border-radius: 16px;
|
|
||||||
background-color: #262626;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dash_clock_time {
|
.dash_clock_time {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,14 +18,6 @@
|
||||||
:onaccept "eww update show_elevation_prompt=false;eww close elevate_to_windows; echo \"{}\" | sudo -S grub-reboot 1 && systemctl reboot")
|
:onaccept "eww update show_elevation_prompt=false;eww close elevate_to_windows; echo \"{}\" | sudo -S grub-reboot 1 && systemctl reboot")
|
||||||
))))
|
))))
|
||||||
|
|
||||||
(defpoll clock_gradient :interval "5m"
|
|
||||||
{"gcal --resource-file=/home/nixolas/.config/eww/scripts/gcalinfo -H no | ewwtilities calendar-background"})
|
|
||||||
|
|
||||||
(defwidget dash_clock_bg []
|
|
||||||
(box :class "dash_clock_bg"
|
|
||||||
:style "background-image: ${clock_gradient}"
|
|
||||||
))
|
|
||||||
|
|
||||||
(defwidget dash_clock []
|
(defwidget dash_clock []
|
||||||
(box :class "dash_clock"
|
(box :class "dash_clock"
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
|
@ -85,17 +77,6 @@
|
||||||
(dash_clock)
|
(dash_clock)
|
||||||
)
|
)
|
||||||
|
|
||||||
(defwindow dash_clock_bg
|
|
||||||
:stacking "bg"
|
|
||||||
:focusable "false"
|
|
||||||
:monitor 0
|
|
||||||
:geometry (geometry :x 760
|
|
||||||
:y 200
|
|
||||||
:width 400
|
|
||||||
:height 150)
|
|
||||||
(dash_clock_bg)
|
|
||||||
)
|
|
||||||
|
|
||||||
(defwindow logout
|
(defwindow logout
|
||||||
:stacking "bg"
|
:stacking "bg"
|
||||||
:focusable "false"
|
:focusable "false"
|
||||||
|
|
|
@ -44,8 +44,7 @@ in
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"${pkgs.swww}/bin/swww init & sleep 0.5 & ${pkgs.swww}/bin/swww /home/nixolas/Downloads/RecountERD.png"
|
"${pkgs.swww}/bin/swww init & sleep 0.5 & ${pkgs.swww}/bin/swww /home/nixolas/Downloads/RecountERD.png"
|
||||||
"eww open bar;eww open logout;eww open restart;eww open shutdown;eww open reboot_windows"
|
"eww open bar;eww open logout;eww open restart;eww open shutdown;eww open reboot_windows;eww open dash_clock"
|
||||||
"eww open dash_clock_bg;eww open dash_clock" # the order here matters
|
|
||||||
];
|
];
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
|
|
Loading…
Reference in a new issue