1
Fork 0

Add lazygit, remove unused stuff

Removes:
- eww
- khal
This commit is contained in:
prescientmoon 2024-02-25 05:31:20 +01:00
parent 064b38740b
commit a789b7ca25
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
6 changed files with 2 additions and 147 deletions

View file

@ -1,25 +0,0 @@
# TODO: sync theme with global theme
{ pkgs, ... }:
let calendarsHome = "productivity/calendars";
in
{
home.packages = with pkgs; [ khal ];
xdg.configFile."khal/config".text = ''
[calendars]
[[calendars]]
path = ~/${calendarsHome}/*
type = discover
color = dark magenta
[locale]
timeformat = %H:%M
dateformat = %d/%m/%Y
[view]
theme = light
'';
satellite.persistence.at.data.apps.khal.directories = [
calendarsHome
];
}

View file

@ -1,21 +0,0 @@
{ config, ... }:
let
base16-eww = config.lib.stylix.colors {
template = builtins.readFile ./template.yuck;
};
widgets = config.satellite.dev.path "home/features/desktop/eww/widgets";
in
{
programs.eww-hyprland = {
enable = true;
autoReload = true;
extraConfig = ''
; Color scheme
(include "${base16-eww}")
; My widgets
(include "${widgets}/bar.yuck")
'';
};
}

View file

@ -1,16 +0,0 @@
(defvar base00 "{{base00-hex}}")
(defvar base01 "{{base01-hex}}")
(defvar base02 "{{base02-hex}}")
(defvar base03 "{{base03-hex}}")
(defvar base04 "{{base04-hex}}")
(defvar base05 "{{base05-hex}}")
(defvar base06 "{{base06-hex}}")
(defvar base07 "{{base07-hex}}")
(defvar base08 "{{base08-hex}}")
(defvar base09 "{{base09-hex}}")
(defvar base0A "{{base0A-hex}}")
(defvar base0B "{{base0B-hex}}")
(defvar base0C "{{base0C-hex}}")
(defvar base0D "{{base0D-hex}}")
(defvar base0E "{{base0E-hex}}")
(defvar base0F "{{base0F-hex}}")

View file

@ -1,84 +0,0 @@
(defwindow bar
:monitor 0
:stacking "fg"
:focusable false
:exclusive true
:geometry (geometry
:width "80px"
:height "96%"
:x "20px"
:anchor "center left")
(bar-layout))
(defwidget bar-layout []
(centerbox
:orientation "v"
:style "background:transparent"
(bar-start)
(bar-center)
(bar-end)))
(defwidget bar-start []
(box
:orientation "v"
:valign "start"
(workspaces)))
(defwidget bar-center []
(box
:orientation "v"
:valign "fill"
:space-evenly false
:style "background:blue"
(time)
(date)))
(defwidget bar-end []
(box
:orientation "v"
:valign "end"
:style "background:red"
:height 400
:spacing 20
(volume)
(battery)
(cpu-usage)))
(defwidget workspaces []
(box
:class "workspaces"
:orientation "v"
:space-evenly true
:spacing 10
(button 1)
(button 2)
(button 3)
(button 4)
(button 5)
(button 6)))
(defwidget date []
(label :text "today"))
(defwidget time []
(label :text "time"))
(defwidget volume []
(circular-progress
:orientation "v"
:value 60
:thickness 5))
(defwidget battery []
(circular-progress
:orientation "v"
:value 60
:thickness 5))
(defwidget cpu-usage []
(circular-progress
:orientation "v"
:value 60
:thickness 5))

View file

@ -1 +0,0 @@
/nix/store/jfni99vrwsgh0i4i2kjiv953aa0gqp2m-home-manager-files/.config/eww/eww.yuck

View file

@ -52,6 +52,8 @@
# }}} # }}}
]; ];
programs.lazygit.enable = true;
home.sessionVariables.QT_SCREEN_SCALE_FACTORS = 1.4; # Bigger text in qt apps home.sessionVariables.QT_SCREEN_SCALE_FACTORS = 1.4; # Bigger text in qt apps
satellite = { satellite = {