From 1c44584ce80c3b808f2f856588d6679afe0d3dc8 Mon Sep 17 00:00:00 2001 From: willifan Date: Tue, 14 May 2024 17:08:54 +0200 Subject: [PATCH] add wofi --- users/willifan/applications.nix | 1 - users/willifan/default.nix | 2 -- users/willifan/graphical/hyprland/default.nix | 3 +++ .../{ => graphical/hyprland}/pipewire.nix | 0 .../{ => graphical/hyprland}/polkit.nix | 0 users/willifan/graphical/hyprland/wofi.nix | 19 +++++++++++++++++++ users/willifan/syncthing.nix | 10 +++++----- 7 files changed, 27 insertions(+), 8 deletions(-) rename users/willifan/{ => graphical/hyprland}/pipewire.nix (100%) rename users/willifan/{ => graphical/hyprland}/polkit.nix (100%) create mode 100644 users/willifan/graphical/hyprland/wofi.nix diff --git a/users/willifan/applications.nix b/users/willifan/applications.nix index 129e410..77ef58b 100644 --- a/users/willifan/applications.nix +++ b/users/willifan/applications.nix @@ -33,7 +33,6 @@ kitty dolphin hyfetch - wofi enpass firefox thunderbird diff --git a/users/willifan/default.nix b/users/willifan/default.nix index ac3bbb1..65b3a03 100644 --- a/users/willifan/default.nix +++ b/users/willifan/default.nix @@ -8,8 +8,6 @@ ./envvar.nix ./git.nix ./locales.nix - ./pipewire.nix - ./polkit.nix #./ssh.nix ./syncthing.nix ./udev.nix diff --git a/users/willifan/graphical/hyprland/default.nix b/users/willifan/graphical/hyprland/default.nix index 77613af..28404e9 100644 --- a/users/willifan/graphical/hyprland/default.nix +++ b/users/willifan/graphical/hyprland/default.nix @@ -8,6 +8,9 @@ ./hyprlock.nix ./hyprpaper.nix #./kanshi.nix + ./pipewire.nix + ./polkit.nix + ./wofi.nix ]; diff --git a/users/willifan/pipewire.nix b/users/willifan/graphical/hyprland/pipewire.nix similarity index 100% rename from users/willifan/pipewire.nix rename to users/willifan/graphical/hyprland/pipewire.nix diff --git a/users/willifan/polkit.nix b/users/willifan/graphical/hyprland/polkit.nix similarity index 100% rename from users/willifan/polkit.nix rename to users/willifan/graphical/hyprland/polkit.nix diff --git a/users/willifan/graphical/hyprland/wofi.nix b/users/willifan/graphical/hyprland/wofi.nix new file mode 100644 index 0000000..4cff64d --- /dev/null +++ b/users/willifan/graphical/hyprland/wofi.nix @@ -0,0 +1,19 @@ +{ pkgs, home-manager, ... }: +{ + home-manager.users.willifan = { + programs.wofi = { + enable = true; + settings = { + normal_window = false; + allow_images = true; + halign = "fill"; + + }; + style = '' + window { + border-radius: 10px; + } + ''; + }; + }; +} \ No newline at end of file diff --git a/users/willifan/syncthing.nix b/users/willifan/syncthing.nix index 9789051..427161a 100644 --- a/users/willifan/syncthing.nix +++ b/users/willifan/syncthing.nix @@ -18,27 +18,27 @@ folders = { "Documents" = { id = "jtl6g-qjmwo"; - path = "/home/willifan/temp/Documents"; + path = "/mnt/data/Documents"; devices = [ "Anton" ]; }; "Pictures" = { id = "po4qj-q9t0t"; - path = "/home/willifan/temp/Pictures"; + path = "/mnt/data/Pictures"; devices = [ "Anton" ]; }; "Videos" = { id = "4wqf5-xasng"; - path = "/home/willifan/temp/Videos"; + path = "/mnt/data/Videos"; devices = [ "Anton" ]; }; "Notes" = { id = "oc61n-iewgj"; - path = "/home/willifan/temp/Notes"; + path = "/mnt/data/Notes"; devices = [ "Anton" ]; }; "Music" = { id = "xxh8a-3y2tq"; - path = "/home/willifan/temp/Music"; + path = "/mnt/data/Music"; devices = [ "Anton" ]; }; };