Compare commits

..

3 commits

Author SHA1 Message Date
e920f9c206
add frequently used programs 2024-09-02 19:08:10 +02:00
47ba1e5796
fix broken/deprecated things 2024-09-02 19:07:58 +02:00
6aab08ec9b
do more bar things 2024-09-02 19:07:19 +02:00
12 changed files with 81 additions and 48 deletions

View file

@ -90,6 +90,10 @@ with builtins; {
libjxl libjxl
s10e-jrnl s10e-jrnl
ungoogled-chromium
scc
speedtest-rs
]; ];
}; };

View file

@ -1,17 +1,12 @@
{ {
"nodes": { "nodes": {
"crane": { "crane": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": { "locked": {
"lastModified": 1724537630, "lastModified": 1725125250,
"narHash": "sha256-gpqINM71zp3kw5XYwUXa84ZtPnCmLLnByuFoYesT1bY=", "narHash": "sha256-CB20rDD5eHikF6mMTTJdwPP1qvyoiyyw1RDUzwIaIF8=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "3e08f4b1fc9aaede5dd511d8f5f4ef27501e49b0", "rev": "96fd12c7100e9e05fa1a0a5bd108525600ce282f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -28,11 +23,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1724567349, "lastModified": 1725258763,
"narHash": "sha256-w2G1EJlGvgRSC1OAm2147mCzlt6ZOWIiqX/TSJUgrGE=", "narHash": "sha256-7s5RfYlTljWnKGkK4hOMJCJ0sNQoLYjMxezX3Vijy/0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "71fe264f6e208831aa0e7e54ad557a283c375014", "rev": "0774f58cf1025bbb713971deecc7f07c856be6ed",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -104,11 +99,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1724401716, "lastModified": 1724856988,
"narHash": "sha256-LXTYUVhv6Kz9Iy9DxXSI0J+2/hunUj2fj0Kvw2eDarQ=", "narHash": "sha256-JBLe2CxAhG+J8+x8qmbzkGHNYmGcSiuY2QO4Zhb72lI=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "620dfceb849d6b68d41d4f7678bb4675009fef4d", "rev": "1b5295a3f3d7cccd96eed5bfd394807a4dae87fc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -124,11 +119,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1724435763, "lastModified": 1725180166,
"narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=", "narHash": "sha256-fzssXuGR/mCeGbzM1ExaTqDz7QDGta3WA4jJsZyRruo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be", "rev": "471e3eb0a114265bcd62d11d58ba8d3421ee68eb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -205,11 +200,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1724224976, "lastModified": 1725103162,
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=", "narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62", "rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -235,11 +230,11 @@
}, },
"nixpkgs-unstable-small": { "nixpkgs-unstable-small": {
"locked": { "locked": {
"lastModified": 1724558323, "lastModified": 1725274606,
"narHash": "sha256-uPXidysk1BXSayGzpxDW8JUgGvLWS+L1CTlBV3xcQB4=", "narHash": "sha256-xXINAjCR8eTmp3AxZTk/PIH9nNoFNN0OM7MUw6eB7oQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ba0c72cea47a45556ccd5bc566433bd1242a0f93", "rev": "66a352a3f27a2eb2f27e42a13c6fe245d3be2b98",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -265,11 +260,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1724480527, "lastModified": 1725191098,
"narHash": "sha256-C+roFDGk6Bn/C58NGpyt7cneLCetdRMUfFTkm3O4zWM=", "narHash": "sha256-YH0kH5CSOnAuPUB1BUzUqvnKiv5SgDhfMNjrkki9Ahk=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "74a6427861eb8d1e3b7c6090b2c2890ff4c53e0e", "rev": "779d9eee2ea403da447278a7007c9627c8878856",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -27,9 +27,6 @@
}; };
crane = { crane = {
url = "github:ipetkov/crane"; url = "github:ipetkov/crane";
inputs = {
nixpkgs.follows = "nixpkgs";
};
}; };
fenix = { fenix = {
url = "github:nix-community/fenix"; url = "github:nix-community/fenix";
@ -55,7 +52,7 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
pkgs-stable = nixpkgs-stable.legacyPackages.${system}; pkgs-stable = nixpkgs-stable.legacyPackages.${system};
pkgs-unstable-small = nixpkgs-unstable-small.legacyPackages.${system}; pkgs-unstable-small = nixpkgs-unstable-small.legacyPackages.${system};
crane-lib = crane.lib.${system}; crane-lib = crane.mkLib nixpkgs.legacyPackages.${system};
rs-toolchain = with fenix.packages.${system}; rs-toolchain = with fenix.packages.${system};
combine [ combine [
complete.toolchain complete.toolchain

View file

@ -42,7 +42,7 @@
systemd.services."ModemManager".wantedBy = ["multi-user.target"]; systemd.services."ModemManager".wantedBy = ["multi-user.target"];
environment.variables = { environment.variables = {
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkDefault "va_gl"); VDPAU_DRIVER = lib.mkIf config.hardware.graphics.enable (lib.mkDefault "va_gl");
S10E_JRNL_FILE_LOC = "/home/jade/Docs/jrnl.md"; S10E_JRNL_FILE_LOC = "/home/jade/Docs/jrnl.md";
}; };

View file

@ -0,0 +1,41 @@
(defwindow bottomBar
:monitor 0
:stacking "fg"
:wm-ignore true
:exclusive true
:geometry (geometry
:width "100%"
:height "32px"
:anchor "bottom center")
(bottomBar))
(defwidget bottomBar []
(overlay
:class "bottomBar"
(centerbox
(box
:halign "start"
(label :text "left")
)
(box
:halign "center"
(label :text "mid")
)
(box
:halign "end"
(label :text "right")
)
)
(box
:class "lesbianFlag"
:height 1
( flagEl :flipped true :color "#D52D00")
( flagEl :flipped true :color "#EF7627")
( flagEl :flipped true :color "#FF9A56")
( flagEl :flipped true :color "#FFFFFF")
( flagEl :flipped true :color "#D162A4")
( flagEl :flipped true :color "#B55690")
( flagEl :flipped true :color "#A30262")
)
)
)

View file

@ -1,4 +1,4 @@
.topbar { .topBar {
margin-bottom: 2px; margin-bottom: 2px;
} }

View file

@ -1 +1,2 @@
(include "topBar/topBar.yuck") (include "topBar/topBar.yuck")
(include "bottomBar/bottomBar.yuck")

View file

@ -0,0 +1,3 @@
def main [] {
mut workspaces = waymsg -rt get_workspaces | from json | select name focused urgent;
}

View file

@ -5,7 +5,6 @@
(defwindow topBar (defwindow topBar
:monitor 0 :monitor 0
:stacking "fg" :stacking "fg"
:windowtype "normal"
:wm-ignore true :wm-ignore true
:exclusive true :exclusive true
:geometry (geometry :geometry (geometry
@ -46,11 +45,11 @@
(box (box
:class "transFlag" :class "transFlag"
:height 1 :height 1
( flagEl :color "#5BCEFA") ( flagEl :flipped false :color "#5BCEFA")
( flagEl :color "#F5A9B8") ( flagEl :flipped false :color "#F5A9B8")
( flagEl :color "#FFFFFF") ( flagEl :flipped false :color "#FFFFFF")
( flagEl :color "#F5A9B8") ( flagEl :flipped false :color "#F5A9B8")
( flagEl :color "#5BCEFA") ( flagEl :flipped false :color "#5BCEFA")
) )
) )
) )

View file

@ -1,6 +1,6 @@
(defwidget flagEl [color] (defwidget flagEl [color ?flipped]
(box (box
:style "border-bottom: 3px solid ${color}" :style "border-${flipped ? "top" : "bottom"}: 3px solid ${color}"
:halign "fill" :halign "fill"
) )
) )

View file

@ -13,6 +13,7 @@
# sway = { # sway = {
# default = ["wlr"]; # default = ["wlr"];
# }; # };
config.common.default = "*";
}; };
services.swayidle = { services.swayidle = {

View file

@ -30,14 +30,6 @@ in
./x.nix ./x.nix
]; ];
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
programs.seahorse.enable = true; programs.seahorse.enable = true;
security.pam.services.jade.enableGnomeKeyring = true; security.pam.services.jade.enableGnomeKeyring = true;