diff --git a/README.md b/README.md index e1f925b..0f2d0f5 100644 --- a/README.md +++ b/README.md @@ -4,32 +4,37 @@ This is my dotfiles repo. It's a work in progress, and I'm still learning how to # Images -![1](img/1.png) -![2](img/2.png) -![3](img/3.png) +![neofetch](https://image.nostr.build/c208c164ae04e4c58e01adb9fab584b163a565155865833851275f89c9270b7a.jpg) +![qutebrowser](https://image.nostr.build/8cc32d981e6be256bdc37a2571c31bb76d7c3335ce7c76fa6eca89a03019bfc9.jpg) +![spotify](https://image.nostr.build/76b18bcbcdf1d911a2dbdff7bfac6652044d45602a3dce9d9c53feb295d13245.jpg) +![wofi](https://image.nostr.build/90d69ffe6251c17e25b0fb44abadaeb0dfe6db8210d935fca14bf8b00be49fa6.jpg) # Apps -- WM: *Hyprland* - - hyprlock - - hyprpaper - - hypridle - - wlogout -- File manager: - - lf - - thunar -- Terminal: kitty -- Shell: zsh - - Prompt: starship - - Bat, eza, zoxide, fzf, ripgrep -- Editor: nixvim -- Browser: qutebrowser -- Music: spictify -- Bar: waybar -- Notifications: dunst -- Launcher: wofi -- DM: Tuigreet -- Secrets: sops-nix +| Category | Software | +|----------------|---------------| +| WM | Hyprland | +| | - hyprlock | +| | - hyprpaper | +| | - hypridle | +| | - wlogout | +| File manager | - lf | +| | - thunar | +| Terminal | kitty | +| Shell | zsh | +| | - starship | +| | - bat | +| | - eza | +| | - zoxide | +| | - fzf | +| Editor | nixvim | +| Browser | qutebrowser | +| Music | spicetify | +| Bar | waybar | +| Notifications | dunst | +| Launcher | wofi | +| DM | tuigreet | +| Secrets | sops-nix | # Themes & Colors @@ -93,5 +98,5 @@ sudo nixos-rebuild switch --flake ~/.config/nixos#nixy - [ ] Variable user & homeDir - [ ] Custom GTK based on the colorscheme - [ ] Obsidian.nvim on every markdown file -- [ ] Nextcloud services (Only on my personnal network) - [ ] Caffeine & Night-Shift replace notif +- [ ] Make hyprcursor working diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 05874b2..60a6c27 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -1,6 +1,6 @@ -{ pkgs, config, ... }: { +{ self, pkgs, config, ... }: { - imports = [ ./hyprlock.nix ./hypridle.nix ./hyprpaper.nix ]; + imports = [ ./hyprlock.nix ./hypridle.nix ./hyprpaper.nix ./hyprcursor.nix ]; home.packages = with pkgs; [ hyprshot @@ -29,11 +29,12 @@ settings = { "$mod" = "SUPER"; "$shiftMod" = "SUPER_SHIFT"; - "$menu" = "menu"; - "$powermenu" = "${pkgs.wlogout}/bin/wlogout"; - exec-once = - [ "${pkgs.hypridle}/bin/hypridle" "${pkgs.hyprpaper}/bin/hyprpaper" "${pkgs.bitwarden}/bin/bitwarden" ]; + exec-once = [ + "${pkgs.hypridle}/bin/hypridle" + "${pkgs.hyprpaper}/bin/hyprpaper" + "${pkgs.bitwarden}/bin/bitwarden" + ]; monitor = [ "eDP-2,highres,0x0,1" @@ -43,22 +44,25 @@ bind = [ "$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty" - "$mod, Q, killactive," "$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar" - "$mod, T, togglefloating," - "$mod, F, fullscreen" "$mod, B, exec, ${pkgs.qutebrowser}/bin/qutebrowser" "$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock" "$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock" - "$mod, SPACE, exec, $menu" - "$mod, X, exec, $powermenu" + "$mod, X, exec, ${pkgs.wlogout}/bin/wlogout" + "$mod, SPACE, exec, menu" + # Windows control + "$mod, Q, killactive," + "$mod, T, togglefloating," + "$mod, F, fullscreen" "$mod, left, movefocus, l" "$mod, right, movefocus, r" "$mod, up, movefocus, u" "$mod, down, movefocus, d" + # Screenshots "$mod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m window -o ~/Pictures/screenshots" ", PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m output -o ~/Pictures/screenshots" "$shiftMod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m region -o ~/Pictures/screenshots" + # Night Shift "$mod, F2, exec, night-shift-off" "$mod, F3, exec, night-shift-on" ] ++ (builtins.concatLists (builtins.genList (i: @@ -96,6 +100,8 @@ "QT_QPA_PLATFORM=wayland,xcb" "QT_WAYLAND_DISABLE_WINDOWDECORATION,1" "GTK_THEME,Flat-Remix-GTK-White-Darkest-Solid:dark" + "HYPRCURSOR_THEME,rose-pine-hyprcursor" + "HYPRCURSOR_SIZE,10" ]; general = { diff --git a/home/hyprland/hyprcursor.nix b/home/hyprland/hyprcursor.nix new file mode 100644 index 0000000..e687baa --- /dev/null +++ b/home/hyprland/hyprcursor.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: { + home.packages = with pkgs; [ hyprcursor ]; + + home.file.".local/share/icons/rose-pine-hyprcursor" = { + recursive = true; + source = ./rose-pine; + }; + +} diff --git a/home/hyprland/rose-pine/hyprcursors/X_cursor.hlc b/home/hyprland/rose-pine/hyprcursors/X_cursor.hlc new file mode 100644 index 0000000..ec792ef Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/X_cursor.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/all-scroll.hlc b/home/hyprland/rose-pine/hyprcursors/all-scroll.hlc new file mode 100644 index 0000000..2921306 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/all-scroll.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/bd_double_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/bd_double_arrow.hlc new file mode 100644 index 0000000..7bc973a Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/bd_double_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/bottom_left_corner.hlc b/home/hyprland/rose-pine/hyprcursors/bottom_left_corner.hlc new file mode 100644 index 0000000..bc9e4dd Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/bottom_left_corner.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/bottom_right_corner.hlc b/home/hyprland/rose-pine/hyprcursors/bottom_right_corner.hlc new file mode 100644 index 0000000..f329ec6 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/bottom_right_corner.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/bottom_side.hlc b/home/hyprland/rose-pine/hyprcursors/bottom_side.hlc new file mode 100644 index 0000000..d9380ca Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/bottom_side.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/center_ptr.hlc b/home/hyprland/rose-pine/hyprcursors/center_ptr.hlc new file mode 100644 index 0000000..9275d20 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/center_ptr.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/col-resize.hlc b/home/hyprland/rose-pine/hyprcursors/col-resize.hlc new file mode 100644 index 0000000..e8e128a Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/col-resize.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/color-picker.hlc b/home/hyprland/rose-pine/hyprcursors/color-picker.hlc new file mode 100644 index 0000000..8646556 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/color-picker.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/context-menu.hlc b/home/hyprland/rose-pine/hyprcursors/context-menu.hlc new file mode 100644 index 0000000..fdfb2ed Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/context-menu.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/copy.hlc b/home/hyprland/rose-pine/hyprcursors/copy.hlc new file mode 100644 index 0000000..d733784 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/copy.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/cross.hlc b/home/hyprland/rose-pine/hyprcursors/cross.hlc new file mode 100644 index 0000000..3a2fbe2 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/cross.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/crossed_circle.hlc b/home/hyprland/rose-pine/hyprcursors/crossed_circle.hlc new file mode 100644 index 0000000..ac80140 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/crossed_circle.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/dnd_no_drop.hlc b/home/hyprland/rose-pine/hyprcursors/dnd_no_drop.hlc new file mode 100644 index 0000000..5ebacb9 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/dnd_no_drop.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/dotbox.hlc b/home/hyprland/rose-pine/hyprcursors/dotbox.hlc new file mode 100644 index 0000000..d777f6a Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/dotbox.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/fd_double_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/fd_double_arrow.hlc new file mode 100644 index 0000000..edb6c6c Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/fd_double_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/hand1.hlc b/home/hyprland/rose-pine/hyprcursors/hand1.hlc new file mode 100644 index 0000000..e8f908a Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/hand1.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/hand2.hlc b/home/hyprland/rose-pine/hyprcursors/hand2.hlc new file mode 100644 index 0000000..bdc5a37 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/hand2.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/left_ptr.hlc b/home/hyprland/rose-pine/hyprcursors/left_ptr.hlc new file mode 100644 index 0000000..a0228a3 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/left_ptr.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/left_side.hlc b/home/hyprland/rose-pine/hyprcursors/left_side.hlc new file mode 100644 index 0000000..19e55cd Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/left_side.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/link.hlc b/home/hyprland/rose-pine/hyprcursors/link.hlc new file mode 100644 index 0000000..65ec812 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/link.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/move.hlc b/home/hyprland/rose-pine/hyprcursors/move.hlc new file mode 100644 index 0000000..ad901ad Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/move.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/pencil.hlc b/home/hyprland/rose-pine/hyprcursors/pencil.hlc new file mode 100644 index 0000000..5073b9c Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/pencil.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/pirate.hlc b/home/hyprland/rose-pine/hyprcursors/pirate.hlc new file mode 100644 index 0000000..651c743 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/pirate.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/plus.hlc b/home/hyprland/rose-pine/hyprcursors/plus.hlc new file mode 100644 index 0000000..207ab68 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/plus.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/question_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/question_arrow.hlc new file mode 100644 index 0000000..c893628 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/question_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/right_ptr.hlc b/home/hyprland/rose-pine/hyprcursors/right_ptr.hlc new file mode 100644 index 0000000..25b1eb3 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/right_ptr.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/right_side.hlc b/home/hyprland/rose-pine/hyprcursors/right_side.hlc new file mode 100644 index 0000000..a3a6cec Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/right_side.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/row-resize.hlc b/home/hyprland/rose-pine/hyprcursors/row-resize.hlc new file mode 100644 index 0000000..3c77b38 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/row-resize.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/sb_down_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/sb_down_arrow.hlc new file mode 100644 index 0000000..ac606e9 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/sb_down_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/sb_h_double_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/sb_h_double_arrow.hlc new file mode 100644 index 0000000..51f4c5f Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/sb_h_double_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/sb_left_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/sb_left_arrow.hlc new file mode 100644 index 0000000..ccd5a9c Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/sb_left_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/sb_right_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/sb_right_arrow.hlc new file mode 100644 index 0000000..d1230ce Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/sb_right_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/sb_up_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/sb_up_arrow.hlc new file mode 100644 index 0000000..55b2015 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/sb_up_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/sb_v_double_arrow.hlc b/home/hyprland/rose-pine/hyprcursors/sb_v_double_arrow.hlc new file mode 100644 index 0000000..c787e62 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/sb_v_double_arrow.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/top_left_corner.hlc b/home/hyprland/rose-pine/hyprcursors/top_left_corner.hlc new file mode 100644 index 0000000..0ec2da9 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/top_left_corner.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/top_right_corner.hlc b/home/hyprland/rose-pine/hyprcursors/top_right_corner.hlc new file mode 100644 index 0000000..716cb54 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/top_right_corner.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/top_side.hlc b/home/hyprland/rose-pine/hyprcursors/top_side.hlc new file mode 100644 index 0000000..7eeecc4 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/top_side.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/vertical-text.hlc b/home/hyprland/rose-pine/hyprcursors/vertical-text.hlc new file mode 100644 index 0000000..006c994 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/vertical-text.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/wayland-cursor.hlc b/home/hyprland/rose-pine/hyprcursors/wayland-cursor.hlc new file mode 100644 index 0000000..a775ac4 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/wayland-cursor.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/xterm.hlc b/home/hyprland/rose-pine/hyprcursors/xterm.hlc new file mode 100644 index 0000000..b4cd02d Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/xterm.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/zoom-in.hlc b/home/hyprland/rose-pine/hyprcursors/zoom-in.hlc new file mode 100644 index 0000000..24cda79 Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/zoom-in.hlc differ diff --git a/home/hyprland/rose-pine/hyprcursors/zoom-out.hlc b/home/hyprland/rose-pine/hyprcursors/zoom-out.hlc new file mode 100644 index 0000000..b8aefad Binary files /dev/null and b/home/hyprland/rose-pine/hyprcursors/zoom-out.hlc differ diff --git a/home/hyprland/rose-pine/manifest.hl b/home/hyprland/rose-pine/manifest.hl new file mode 100644 index 0000000..33e11e8 --- /dev/null +++ b/home/hyprland/rose-pine/manifest.hl @@ -0,0 +1,4 @@ +name = rose-pine-hyprcursor +description = BreezeX remixed with Rose Pine remixed to Hyprcursor format +version = 0.2 +cursors_directory = hyprcursors diff --git a/home/misc/default.nix b/home/misc/default.nix index bf4e44f..19068a2 100644 --- a/home/misc/default.nix +++ b/home/misc/default.nix @@ -1,6 +1 @@ -{ - imports = [ - ./cava/default.nix - ./nextcloud.nix # REMOVE - ]; -} +{ imports = [ ./cava/default.nix ]; } diff --git a/home/misc/nextcloud.nix b/home/misc/nextcloud.nix deleted file mode 100644 index 4c47b18..0000000 --- a/home/misc/nextcloud.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ pkgs, ... }: { - systemd.user.services.watch-nextcloud = { - Unit = { Description = "Start Nextcloud if I'm on one of my network"; }; - Install = { WantedBy = [ "default.target" ]; }; - Service = { - ExecStart = "${pkgs.writeShellScript "watch-nextcloud" '' - while 1;do - ssid=$(nmcli -t -f name connection show --active | head -n1) - if [[ $ssid == "inthecloud" || $ssid == "Wired connection 2" ]]; then - status=$(systemctl --user status nextcloud-client) - service_status=$(echo "$status" | awk '/Active:/ {print $2}') - if [[ $service_status == "inactive" ]]; then - systemctl --user start nextcloud-client - fi - else - status=$(systemctl --user status nextcloud-client) - service_status=$(echo "$status" | awk '/Active:/ {print $2}') - if [[ $service_status == "active" ]]; then - systemctl --user stop nextcloud-client - fi - fi - sleep 120 - done - ''}"; - }; - }; -} diff --git a/home/shell/zsh.nix b/home/shell/zsh.nix index 7af165f..4f54ea6 100644 --- a/home/shell/zsh.nix +++ b/home/shell/zsh.nix @@ -4,8 +4,8 @@ programs.zsh = { enable = true; - enableAutosuggestions = true; enableCompletion = true; + autosuggestion.enable = true; syntaxHighlighting.enable = true; historySubstringSearch.enable = true; diff --git a/home/sops/default.nix b/home/sops/default.nix index 40686bc..8350e82 100644 --- a/home/sops/default.nix +++ b/home/sops/default.nix @@ -9,7 +9,8 @@ systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ]; - home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] '' - /run/current-system/sw/bin/systemctl start --user sops-nix - ''; + # Make home-manager crash on boot, dafuk ? + # home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] '' + # /run/current-system/sw/bin/systemctl start --user sops-nix + # ''; } diff --git a/img/1.png b/img/1.png deleted file mode 100644 index 161319a..0000000 Binary files a/img/1.png and /dev/null differ diff --git a/img/2.png b/img/2.png deleted file mode 100644 index 9ebe425..0000000 Binary files a/img/2.png and /dev/null differ diff --git a/img/3.png b/img/3.png deleted file mode 100644 index f83a1fe..0000000 Binary files a/img/3.png and /dev/null differ diff --git a/nixos/configuration.nix b/nixos/configuration.nix index a6a76ea..fa206ea 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -108,5 +108,7 @@ }; }; + services.dbus.enable = true; + system.stateVersion = "23.11"; }