From 9a02595549bb9ef08a3ca2e30983a078aeb3c685 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Wed, 15 Oct 2025 17:57:50 +0530 Subject: finished basic docs --- README.md | 108 ++++++++++++++++++++++++++++++++++++++++++++ assets/waybar.png | Bin 0 -> 13385 bytes install.sh | 6 +++ nixos/configuration.nix | 2 +- nixos/languages/default.nix | 14 ++++++ nixos/languages/index.nix | 14 ------ nixos/nix-channel.txt | 3 ++ 7 files changed, 132 insertions(+), 15 deletions(-) create mode 100644 assets/waybar.png create mode 100644 install.sh create mode 100644 nixos/languages/default.nix delete mode 100644 nixos/languages/index.nix create mode 100644 nixos/nix-channel.txt diff --git a/README.md b/README.md index e4fcd20..2d9bf98 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,111 @@ But make sure you download all the dependencies that are used in nixos/desktop-e Check ./sync.sh to find where each directory is sourced from ## Docs + +### Features +- hyprland as desktop environment +- foot as terminal +- waybar for top bar +- hyprsunset for nightlight +- hyprlock for lock screen +- nvim using NvChad +- tmux +- yazi for file exploring +- wofi for app menu + +### Hyprland +Low battery warning notifications +- 30% (Low) +- 15% (Critical) +Change these values in waybar/config\["battery"\]\["states"\] & hypr/battery-notif.sh
+
+Wallpapers changes every 10 mintues and picks from ~/Pictures/Screenshots + +### Waybar +![waybar](./assets/waybar.png) + +Configure in waybar/config
+Styling in waybar/style.css
+ + +|Label|Description| +|-|-| +|Radio|Network info, clicking it will open NetworkManager| +|Electrons|Battery %, When charging the % will be wrapped in "AC/DC()", e.g. AC/DC(50)| +|Waves|Volume, clicking it will mute| +|Photons|Brightness %| +|Photons Bracket|Red shift (Night light), 6000 is normal, lower value is redder, higher value is bluer| +|Radiation|CPU Temperature in Kelvin| +|Latch|RAM Usage| +|Data Bus|CPU Speed| +|Spin|Time| + +### Keyboard shortcuts +Configure in hypr/hyprland/keybinds.conf + +I am left handed so my mouse is in left handed mode
+IF YOU ARE NOT LEFT HANDED, change this in hypr/hyprland/input.conf\["input"\]\["left_handed"\] +|Keybind|Description| +|-|-| +|Win + T|**Spawn Terminal** (foot)| +|Win + Q|Kill active window| +|Win + Shift + L|Sign out| +|Win + L|Lock| +|Win + E|Spawn File Explorer (yazi)| +|Win + F|Make active window floating| +|Win + R|**Spawn App Menu** (wofi)| +|Win + P|Pseudo ??? (I don't know what this is used for)| +|Win + J|Toggle window split| +|Ctrl + Shift + Escape|Spawn Task Manager (btop)| +|Win + arrow keys|Move focus of window| +|Win + [1-9]|Switch workspace| +|Win + S|Switch to Special workspace| +|Win + Shift + S|Move current window to Special workspace| +|Win + Ctrl + S|Move current window from Special workspace to current workspace| +|Win + Left click|Resize window| +|Win + Right click|Move window| +|PrintSrc|Take a fullscreen screenshot and save it in ~/Pictures/Screenshots| +|Shift + PrintSrc|Take a partial screen screenshot and save it in ~/Pictures/Screenshots| +|Win + PrintSrc|Take a partial screen screenshot and copy it to clipboard| +|Win + =|Zoom in/out| +|Win + \[|Increase red shift (night light)| +|Win + \]|Decrease red shift| +|OMEN Key (For an HP OMEN Laptop)|Run OLLAMA| + +### Fonts +Jetbrains Mono Nerd Font + +### Programming Language setup +Configure in nixos/languages +- Zig +- Elixir & Erlang +- C +- Go +- Javascript & Typescript +- Lua +- Python +- Rust + +### Programming Tools +Configure in nixos/environment.nix +- clang-tools +- android-tools +- Vim & Nvim +- git & git-lfs +- nmap +- lazygit +- fzf + +### Applications +Configure in nixos/apps.nix +- Vscode +- Discord +- Bitwarden +- Localsend +- Obsidian +- Pycharm Professional +- CLion +- Wine +- Libreoffice +- Rolphin +- Firefox diff --git a/assets/waybar.png b/assets/waybar.png new file mode 100644 index 0000000..b9fe46d Binary files /dev/null and b/assets/waybar.png differ diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..b06ec51 --- /dev/null +++ b/install.sh @@ -0,0 +1,6 @@ +sudo cp -r hypr foot nvim tmux waybar wofi yazi home-manager starship.toml ~/.config/hypr +sudo cp -r nixos /etc +sudo cp -r Wallpapers ~/Pictures + +sudo nixos-rebuild switch +home-manager switch diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 4dd764c..6b91ea9 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -10,7 +10,7 @@ ./desktop-environment.nix ./environment.nix ./nvim.nix - ./languages/index.nix + ./languages ./apps.nix ./tmux.nix diff --git a/nixos/languages/default.nix b/nixos/languages/default.nix new file mode 100644 index 0000000..a8601bc --- /dev/null +++ b/nixos/languages/default.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: +{ + imports = + [ + ./beam.nix + ./c.nix + ./go.nix + ./javascript.nix + ./lua.nix + ./python.nix + ./rust.nix + ./zig.nix + ]; +} diff --git a/nixos/languages/index.nix b/nixos/languages/index.nix deleted file mode 100644 index a8601bc..0000000 --- a/nixos/languages/index.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config, pkgs, ... }: -{ - imports = - [ - ./beam.nix - ./c.nix - ./go.nix - ./javascript.nix - ./lua.nix - ./python.nix - ./rust.nix - ./zig.nix - ]; -} diff --git a/nixos/nix-channel.txt b/nixos/nix-channel.txt new file mode 100644 index 0000000..133e61f --- /dev/null +++ b/nixos/nix-channel.txt @@ -0,0 +1,3 @@ +home-manager https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz +nix-ld https://github.com/Mic92/nix-ld/archive/main.tar.gz +nixos-unstable https://nixos.org/channels/nixos-unstable -- cgit v1.2.3