This commit is contained in:
Hadi 2024-06-28 00:58:12 +02:00
parent 84f87f9833
commit cf6ea202e1
5 changed files with 16 additions and 15 deletions

View File

@ -10,27 +10,26 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
- [ ] macOS theme
- [~] Tofi (Wofi, but terminal based)
- [ ] Add Vim Keybindings to KEYBINDINGS.md
- [ ] Keybindings with Icons
- [+] Keybindings with Icons
- [ ] Qutebrowser
- [~] Bitwarden integration (I need this.)
- [ ] Waybar
- [+] Waybar
- [ ] Caffeine status on click
- [ ] Night-shift status on click
- [ ] Hyprland
- [ ] Implement Hyprcursor (see home/system/hyprland/hyprcursor.nix: Not working, small cursor on some apps, big one on others)
- [-] Implement Hyprcursor (see home/system/hyprland/hyprcursor.nix: Not working, small cursor on some apps, big one on others)
- [ ] Animations based on app name
- [ ] Wofi: popin
- [ ] Wlogout: fade in
- [ ] Fix screenshots
- [ ] Nixvim
- [ ] Markdown snippets
- [ ] Markdown fold
- [~] Markdown better table (maybe lsp?)
- [ ] Autosave when zen-mode is open
- [+] Markdown snippets
- [+] Markdown fold
- [+] Autosave when zen-mode is open
- [ ] Backup system for some folders ($home/dev, $home/pictures, ...)
- [ ] Exclude file pattern (nodes modules, ...)

View File

@ -47,11 +47,11 @@
monitor = [
"eDP-2,highres,0x0,1"
# "DP-9,highrr,2560x0,1"
# ",prefered,auto,1"
",prefered,auto,1"
#"desc:,2560x1440@240.0,0x0,1.0"
#"desc:,2560x1440@60.0,645x4362,1.0"
"desc:AOC U34G2G1 0x00000E06,3440x1440@59.97,2560x0,1.0"
",disable"
# "desc:AOC U34G2G1 0x00000E06,3440x1440@59.97,2560x0,1.0"
# ",disable"
];
bind = [
@ -115,8 +115,10 @@
"QT_AUTO_SCREEN_SCALE_FACTOR,1"
"QT_QPA_PLATFORM=wayland,xcb"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"ELECTRON_OZONE_PLATFORM_HINT,auto"
"GTK_THEME,FlatColor:dark"
"GTK2_RC_FILES,/home/hadi/.local/share/themes/FlatColor/gtk-2.0/gtkrc"
#"WLR_DRM_DEVICES,$HOME/.config/hypr/card"
# "HYPRCURSOR_THEME,macOS"
# "HYPRCURSOR_SIZE,16"
# "XCURSOR_SIZE,16"
@ -147,6 +149,7 @@
gestures = { workspace_swipe = true; };
misc = {
vfr = true;
disable_hyprland_logo = true;
disable_splash_rendering = true;
disable_autoreload = true;

View File

@ -3,7 +3,7 @@
./hardware-configuration.nix
../modules/fonts.nix
../modules/nvidia.nix
../modules/prime.nix
# ../modules/prime.nix
../modules/tuigreet.nix
../modules/usb.nix
./variables.nix

View File

@ -9,10 +9,9 @@ in {
lib.optionals (lib.elem "nvidia" config.services.xserver.videoDrivers) [
"nvidia-drm.modeset=1"
"nvidia_drm.fbdev=1"
"nvidia.NVreg_PreserveVideoMemoryAllocations=1"
];
environment.variables = {
VK_DRIVER_FILES =
/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json;
GBM_BACKEND = "nvidia-drm";
WLR_NO_HARDWARE_CURSORS = "1";
LIBVA_DRIVER_NAME = "nvidia"; # hardware acceleration

View File

@ -7,8 +7,8 @@ let
src = pkgs.fetchFromGitHub {
owner = "anotherhadi";
repo = "portfolio";
rev = "48effd644da4d89921a4c1a3f5f6f5b6bd09eb6d";
hash = "sha256-cFoq957oKS2MbKm94sUwAbS6GZ+IYWslZmvqyvK25m0=";
rev = "5d54a2d204cdbf0f702173c1bf1279bca25eb736";
hash = "sha256-8vDm9YwZKpMujILZjXtRERUIxvDqddSxS/gdJfZdUdY=";
};
npmDepsHash = "sha256-KMILWgZ6GNKoe/+RZS1tVDTd3SxXl6YtOuCb5kSFeis=";