Up
This commit is contained in:
parent
bb869d6897
commit
381b3228dc
53
README.md
53
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
|
# Images
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|

|
||||||
|
|
||||||
# Apps
|
# Apps
|
||||||
|
|
||||||
- WM: *Hyprland*
|
| Category | Software |
|
||||||
- hyprlock
|
|----------------|---------------|
|
||||||
- hyprpaper
|
| WM | Hyprland |
|
||||||
- hypridle
|
| | - hyprlock |
|
||||||
- wlogout
|
| | - hyprpaper |
|
||||||
- File manager:
|
| | - hypridle |
|
||||||
- lf
|
| | - wlogout |
|
||||||
- thunar
|
| File manager | - lf |
|
||||||
- Terminal: kitty
|
| | - thunar |
|
||||||
- Shell: zsh
|
| Terminal | kitty |
|
||||||
- Prompt: starship
|
| Shell | zsh |
|
||||||
- Bat, eza, zoxide, fzf, ripgrep
|
| | - starship |
|
||||||
- Editor: nixvim
|
| | - bat |
|
||||||
- Browser: qutebrowser
|
| | - eza |
|
||||||
- Music: spictify
|
| | - zoxide |
|
||||||
- Bar: waybar
|
| | - fzf |
|
||||||
- Notifications: dunst
|
| Editor | nixvim |
|
||||||
- Launcher: wofi
|
| Browser | qutebrowser |
|
||||||
- DM: Tuigreet
|
| Music | spicetify |
|
||||||
- Secrets: sops-nix
|
| Bar | waybar |
|
||||||
|
| Notifications | dunst |
|
||||||
|
| Launcher | wofi |
|
||||||
|
| DM | tuigreet |
|
||||||
|
| Secrets | sops-nix |
|
||||||
|
|
||||||
# Themes & Colors
|
# Themes & Colors
|
||||||
|
|
||||||
@ -93,5 +98,5 @@ sudo nixos-rebuild switch --flake ~/.config/nixos#nixy
|
|||||||
- [ ] Variable user & homeDir
|
- [ ] Variable user & homeDir
|
||||||
- [ ] Custom GTK based on the colorscheme
|
- [ ] Custom GTK based on the colorscheme
|
||||||
- [ ] Obsidian.nvim on every markdown file
|
- [ ] Obsidian.nvim on every markdown file
|
||||||
- [ ] Nextcloud services (Only on my personnal network)
|
|
||||||
- [ ] Caffeine & Night-Shift replace notif
|
- [ ] Caffeine & Night-Shift replace notif
|
||||||
|
- [ ] Make hyprcursor working
|
||||||
|
@ -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; [
|
home.packages = with pkgs; [
|
||||||
hyprshot
|
hyprshot
|
||||||
@ -29,11 +29,12 @@
|
|||||||
settings = {
|
settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$shiftMod" = "SUPER_SHIFT";
|
"$shiftMod" = "SUPER_SHIFT";
|
||||||
"$menu" = "menu";
|
|
||||||
"$powermenu" = "${pkgs.wlogout}/bin/wlogout";
|
|
||||||
|
|
||||||
exec-once =
|
exec-once = [
|
||||||
[ "${pkgs.hypridle}/bin/hypridle" "${pkgs.hyprpaper}/bin/hyprpaper" "${pkgs.bitwarden}/bin/bitwarden" ];
|
"${pkgs.hypridle}/bin/hypridle"
|
||||||
|
"${pkgs.hyprpaper}/bin/hyprpaper"
|
||||||
|
"${pkgs.bitwarden}/bin/bitwarden"
|
||||||
|
];
|
||||||
|
|
||||||
monitor = [
|
monitor = [
|
||||||
"eDP-2,highres,0x0,1"
|
"eDP-2,highres,0x0,1"
|
||||||
@ -43,22 +44,25 @@
|
|||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
||||||
"$mod, Q, killactive,"
|
|
||||||
"$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar"
|
"$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar"
|
||||||
"$mod, T, togglefloating,"
|
|
||||||
"$mod, F, fullscreen"
|
|
||||||
"$mod, B, exec, ${pkgs.qutebrowser}/bin/qutebrowser"
|
"$mod, B, exec, ${pkgs.qutebrowser}/bin/qutebrowser"
|
||||||
"$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock"
|
"$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock"
|
||||||
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||||
"$mod, SPACE, exec, $menu"
|
"$mod, X, exec, ${pkgs.wlogout}/bin/wlogout"
|
||||||
"$mod, X, exec, $powermenu"
|
"$mod, SPACE, exec, menu"
|
||||||
|
# Windows control
|
||||||
|
"$mod, Q, killactive,"
|
||||||
|
"$mod, T, togglefloating,"
|
||||||
|
"$mod, F, fullscreen"
|
||||||
"$mod, left, movefocus, l"
|
"$mod, left, movefocus, l"
|
||||||
"$mod, right, movefocus, r"
|
"$mod, right, movefocus, r"
|
||||||
"$mod, up, movefocus, u"
|
"$mod, up, movefocus, u"
|
||||||
"$mod, down, movefocus, d"
|
"$mod, down, movefocus, d"
|
||||||
|
# Screenshots
|
||||||
"$mod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m window -o ~/Pictures/screenshots"
|
"$mod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m window -o ~/Pictures/screenshots"
|
||||||
", PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m output -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"
|
"$shiftMod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m region -o ~/Pictures/screenshots"
|
||||||
|
# Night Shift
|
||||||
"$mod, F2, exec, night-shift-off"
|
"$mod, F2, exec, night-shift-off"
|
||||||
"$mod, F3, exec, night-shift-on"
|
"$mod, F3, exec, night-shift-on"
|
||||||
] ++ (builtins.concatLists (builtins.genList (i:
|
] ++ (builtins.concatLists (builtins.genList (i:
|
||||||
@ -96,6 +100,8 @@
|
|||||||
"QT_QPA_PLATFORM=wayland,xcb"
|
"QT_QPA_PLATFORM=wayland,xcb"
|
||||||
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||||
"GTK_THEME,Flat-Remix-GTK-White-Darkest-Solid:dark"
|
"GTK_THEME,Flat-Remix-GTK-White-Darkest-Solid:dark"
|
||||||
|
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
|
||||||
|
"HYPRCURSOR_SIZE,10"
|
||||||
];
|
];
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
|
9
home/hyprland/hyprcursor.nix
Normal file
9
home/hyprland/hyprcursor.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{ config, pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [ hyprcursor ];
|
||||||
|
|
||||||
|
home.file.".local/share/icons/rose-pine-hyprcursor" = {
|
||||||
|
recursive = true;
|
||||||
|
source = ./rose-pine;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
BIN
home/hyprland/rose-pine/hyprcursors/X_cursor.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/X_cursor.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/all-scroll.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/all-scroll.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/bd_double_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/bd_double_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/bottom_left_corner.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/bottom_left_corner.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/bottom_right_corner.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/bottom_right_corner.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/bottom_side.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/bottom_side.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/center_ptr.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/center_ptr.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/col-resize.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/col-resize.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/color-picker.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/color-picker.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/context-menu.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/context-menu.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/copy.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/copy.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/cross.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/cross.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/crossed_circle.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/crossed_circle.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/dnd_no_drop.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/dnd_no_drop.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/dotbox.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/dotbox.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/fd_double_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/fd_double_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/hand1.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/hand1.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/hand2.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/hand2.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/left_ptr.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/left_ptr.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/left_side.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/left_side.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/link.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/link.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/move.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/move.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/pencil.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/pencil.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/pirate.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/pirate.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/plus.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/plus.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/question_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/question_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/right_ptr.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/right_ptr.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/right_side.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/right_side.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/row-resize.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/row-resize.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/sb_down_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/sb_down_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/sb_h_double_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/sb_h_double_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/sb_left_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/sb_left_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/sb_right_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/sb_right_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/sb_up_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/sb_up_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/sb_v_double_arrow.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/sb_v_double_arrow.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/top_left_corner.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/top_left_corner.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/top_right_corner.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/top_right_corner.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/top_side.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/top_side.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/vertical-text.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/vertical-text.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/wayland-cursor.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/wayland-cursor.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/xterm.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/xterm.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/zoom-in.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/zoom-in.hlc
Normal file
Binary file not shown.
BIN
home/hyprland/rose-pine/hyprcursors/zoom-out.hlc
Normal file
BIN
home/hyprland/rose-pine/hyprcursors/zoom-out.hlc
Normal file
Binary file not shown.
4
home/hyprland/rose-pine/manifest.hl
Normal file
4
home/hyprland/rose-pine/manifest.hl
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name = rose-pine-hyprcursor
|
||||||
|
description = BreezeX remixed with Rose Pine remixed to Hyprcursor format
|
||||||
|
version = 0.2
|
||||||
|
cursors_directory = hyprcursors
|
@ -1,6 +1 @@
|
|||||||
{
|
{ imports = [ ./cava/default.nix ]; }
|
||||||
imports = [
|
|
||||||
./cava/default.nix
|
|
||||||
./nextcloud.nix # REMOVE
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
@ -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
|
|
||||||
''}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAutosuggestions = true;
|
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
autosuggestion.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
historySubstringSearch.enable = true;
|
historySubstringSearch.enable = true;
|
||||||
|
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
|
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
|
||||||
|
|
||||||
home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] ''
|
# Make home-manager crash on boot, dafuk ?
|
||||||
/run/current-system/sw/bin/systemctl start --user sops-nix
|
# home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
'';
|
# /run/current-system/sw/bin/systemctl start --user sops-nix
|
||||||
|
# '';
|
||||||
}
|
}
|
||||||
|
@ -108,5 +108,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.dbus.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user