diff --git a/common/eww/config/eww.yuck b/common/eww/config/eww.yuck index be74b1d..8adf41d 100644 --- a/common/eww/config/eww.yuck +++ b/common/eww/config/eww.yuck @@ -5,19 +5,21 @@ (include "./widgets/resources/eww.yuck") (defwindow top-bar - :monitor 0 - :geometry (geometry :x "0%" - :y "10px" - :width "98.8%" - :height "30px" - :anchor "top center") - :stacking "fg" - :exclusive true + :monitor 0 + :geometry (geometry :x "0%" + :y "10px" + :width "98.8%" + :height "30px" + :anchor "top center") + :stacking "fg" + :exclusive true (centerbox :class "bar" (left) (center) - (right))) + (right) + ) +) (defwidget left [] (box diff --git a/common/eww/config/widgets/resources/eww.yuck b/common/eww/config/widgets/resources/eww.yuck index b647f2a..306588f 100644 --- a/common/eww/config/widgets/resources/eww.yuck +++ b/common/eww/config/widgets/resources/eww.yuck @@ -4,22 +4,22 @@ (defvar GB 1024000000) (defvar MB 1024000) - + ; DATE + TIME (defpoll time :interval "5s" - :initial "" - `date +%H:%M`) + :initial "" +`date +%H:%M`) (defpoll date :interval "60s" - :initial "" - `date "+%A | %m-%d-%+4Y"`) + :initial "" +`date "+%A | %m-%d-%+4Y"`) (defwidget datetime [] (eventbox :tooltip date (label :class "text time" - :text time) + :text time) )) ; CPU @@ -61,7 +61,7 @@ :tooltip hostname (label :text status-icon - :class "network_icon"))) + :class "network_icon"))) ; BLUETOOTH (defwidget bluetooth [] @@ -70,7 +70,7 @@ :onclick "blueman-manager &" (label :text "" - :class "bluetooth_icon"))) + :class "bluetooth_icon"))) ; VOLUME @@ -87,6 +87,6 @@ :spacing "3" (label :class "volume_text" - :text "${volume_percent <= 33 ? "" : volume_percent <= 66 ? "" : ""} ${volume_percent}%") - ))) + :text "${volume_percent <= 33 ? "" : volume_percent <= 66 ? "" : ""} ${volume_percent}%") + ))) ; TODO add mic widget \ No newline at end of file diff --git a/common/eww/default.nix b/common/eww/default.nix index 65ec07e..1cf6995 100644 --- a/common/eww/default.nix +++ b/common/eww/default.nix @@ -2,7 +2,6 @@ { programs.eww = { enable = true; - package = pkgs.eww-wayland; configDir = ./config; }; } \ No newline at end of file diff --git a/common/vscode.nix b/common/vscode.nix index 3de8349..7f9ed5a 100755 --- a/common/vscode.nix +++ b/common/vscode.nix @@ -26,6 +26,24 @@ version = "0.0.3"; sha256 = "sha256-DITgLedaO0Ifrttu+ZXkiaVA7Ua5RXc4jXQHPYLqrcM="; } + { + name = "simple-alignment"; + publisher = "earshinov"; + version = "1.0.1"; + sha256 = "sha256-Lqg5wVGj6VulEJHVv7CS6aci7Ze2KEqXMu10vlrYYao="; + } + { + name = "todo-tree"; + publisher = "Gruntfuggly"; + version = "0.0.226"; + sha256 = "sha256-Fj9cw+VJ2jkTGUclB1TLvURhzQsaryFQs/+f2RZOLHs="; + } + { + name = "lean4"; + publisher = "leanprover"; + version = "0.0.133"; + sha256 = "sha256-tjBTOkh4UeEmOo/ZbadpeyW07QiPcUO4aI2NWdtTxrE="; + } ]; userSettings = { "agdaMode.connection.agdaLanguageServer" = false; @@ -73,6 +91,20 @@ "editor.autoClosingOvertype" = "never"; "editor.autoClosingBrackets" = "never"; "editor.accessibilitySupport" = "off"; + + # for latex + "todo-tree.regex.regex" = "((//|#|