From 6ea66752a8da9bcdaa4b77fc3e5e356620bfdbf5 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Wed, 17 Sep 2025 11:25:44 +0530 Subject: simplicity is nice --- hypr/hyprland.conf | 8 +-- nixos/apps.nix | 4 +- nixos/cachix/cuda-maintainers.nix | 0 nixos/cachix/nix-community.nix | 0 nixos/environment.nix | 4 +- nixos/home.nix | 3 +- nixos/nvim.nix | 2 +- waybar/config | 75 ++++++++++----------------- waybar/style.css | 106 +++----------------------------------- 9 files changed, 47 insertions(+), 155 deletions(-) mode change 100755 => 100644 nixos/cachix/cuda-maintainers.nix mode change 100755 => 100644 nixos/cachix/nix-community.nix diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index f6acf14..b106b07 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -47,8 +47,8 @@ env = XCURSOR_THEME,Adwaita # https://wiki.hyprland.org/Configuring/Variables/#general general { - gaps_in = 5 - gaps_out = 20 + gaps_in = 0 + gaps_out = 0 border_size = 2 @@ -62,11 +62,11 @@ general { # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { - rounding = 10 + rounding = 0 rounding_power = 2 active_opacity = 1.0 - inactive_opacity = 0.8 + inactive_opacity = 1.0 shadow { enabled = true diff --git a/nixos/apps.nix b/nixos/apps.nix index 1c1814b..8f98fd2 100644 --- a/nixos/apps.nix +++ b/nixos/apps.nix @@ -34,6 +34,6 @@ }; # for Localsend - networking.firewall.allowedTCPPorts = [ 53317 ]; - networking.firewall.allowedUDPPorts = [ 53317 ]; + networking.firewall.allowedTCPPorts = [ 53317 8081 ]; + networking.firewall.allowedUDPPorts = [ 53317 8081 ]; } diff --git a/nixos/cachix/cuda-maintainers.nix b/nixos/cachix/cuda-maintainers.nix old mode 100755 new mode 100644 diff --git a/nixos/cachix/nix-community.nix b/nixos/cachix/nix-community.nix old mode 100755 new mode 100644 diff --git a/nixos/environment.nix b/nixos/environment.nix index a0eb145..6627772 100644 --- a/nixos/environment.nix +++ b/nixos/environment.nix @@ -2,7 +2,7 @@ { environment.systemPackages = with pkgs; [ gcc - python311 + # python312 # already added with nvim.nix zoxide starship cmake @@ -12,6 +12,8 @@ pipes playerctl libnotify + (pkgs.python313.withPackages (ps: with ps; [ + ])) ]; fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono diff --git a/nixos/home.nix b/nixos/home.nix index 2f7fbf1..458b270 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -3,10 +3,11 @@ users.users.aargh = { isNormalUser = true; description = "Aargh"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "kvm" "adbusers" ]; packages = with pkgs; []; shell = pkgs.fish; }; + programs.adb.enable = true; programs.fish.enable = true; home-manager.users.aargh = { pkgs, ... }: { programs.firefox.enable = true; diff --git a/nixos/nvim.nix b/nixos/nvim.nix index 8eb0026..23ec64f 100644 --- a/nixos/nvim.nix +++ b/nixos/nvim.nix @@ -7,7 +7,7 @@ in { go gcc cargo - python311 + python312 nodejs_20 lua zig diff --git a/waybar/config b/waybar/config index 1e91d89..46cef16 100644 --- a/waybar/config +++ b/waybar/config @@ -4,20 +4,23 @@ "height": 36, "spacing": 0, "modules-left": [ - "clock", "hyprland/workspaces", - "tray", ], "modules-right": [ "network", + "custom/space", "battery", + "custom/space", "pulseaudio", + "custom/space", "custom/temperature", + "custom/space", "memory", + "custom/space", "cpu", - "custom/lock", - "custom/reboot", - "custom/power", + "custom/space", + "clock", + "custom/space", ], "hyprland/workspaces": { "disable-scroll": false, @@ -28,32 +31,17 @@ "*":[1,2,3,4,5,6,7,8,9] }, }, - "custom/lock": { - "format": "", - "on-click": "hyprlock", - "tooltip": true, - "tooltip-format": "Lock" - }, - "custom/reboot": { - "format": "", - "on-click": "systemctl reboot", - "tooltip": true, - "tooltip-format": "Reboot" - }, - "custom/power": { - "format": "", - "on-click": "systemctl poweroff", - "tooltip": true, - "tooltip-format": "Power" + "custom/space": { + "format": " ", }, "network": { - "format-wifi": " 󰤨 {essid} ", - "format-ethernet": "Wired ", - "tooltip-format": " 󰅧 {bandwidthUpBytes} 󰅢 {bandwidthDownBytes}", - "format-linked": " 󱘖 {ifname} (No IP) ", - "format-disconnected": "Disconnected ", + "format-wifi": "Signal(Wifi):{essid}", + "format-ethernet": "Signal(Ethernet)", + "format-linked": "Signal(Linked){ifname}", + "format-disconnected": "Signal:Offline", "interval": 1, "on-click": "foot -e nmtui", + "tooltip-format": "Sending: {bandwidthUpBytes} Receiving: {bandwidthDownBytes}", }, "battery": { "states": { @@ -65,15 +53,15 @@ "on-discharging-critical": "notify-send -u critical 'Very Low Battery' -i /home/aargh/.config/waybar/battery_low.png", "on-charging-100": "notify-send -u normal 'Battery Full!' -i /home/aargh/.config/waybar/battery_high.png" }, - "format": " {icon} {capacity}%", - "format-charging": "󱐋 {capacity}%", + "format": "Battery:{capacity}%", + "format-charging": "AC/DC:{capacity}%", "interval": 1, "format-icons": ["󰂎", "󰁼", "󰁿", "󰂁", "󰁹"], "tooltip": true }, "pulseaudio": { - "format": " {icon} {volume}%", - "format-muted": " 󰖁 0%", + "format": "Sound:{volume}%", + "format-muted": "Sound:off", "format-icons": { "headphone": "", "hands-free": "", @@ -89,29 +77,26 @@ }, "on-click-right": "pavucontrol -t 3", "on-click": "pactl -- set-sink-mute 0 toggle", - "tooltip": true, - "tooltip-format": "Volume: {volume}%" + "tooltip": false, }, "custom/temperature": { "exec": "sensors | awk '/^Package id 0:/ {print int($4) + 273}'", - "format": "{} K", + "format": "Heat:{}K", "interval": 5, - "tooltip": true, - "tooltip-format": "CPU Temperature: {} K" + "tooltip": false, }, "memory": { - "format": "{used:0.1f}G/{total:0.1f}G ", - "tooltip": true, - "tooltip-format": "Memory: {used:0.2f}G/{total:0.2f}G" + "format": "RAM({total}G):{used}G", + "tooltip": false, }, "cpu": { - "format": "{usage}% ", - "tooltip": true + "format": "CPU:{avg_frequency}Hz", + "tooltip": true, }, "clock": { "interval": 1, "timezone": "Asia/Kolkata", - "format": "{:%H:%M:%S} ", + "format": "Time:{:%H:%M:%S}", "calendar": { "mode" : "year", "mode-mon-col" : 3, @@ -127,11 +112,7 @@ } }, "tooltip": true, - "format-alt": "{:L%Y/%m/%d, %A} ", + "format-alt": "Time:{:L%Y/%m/%d, %A}", "tooltip-format": "{calendar}", }, - "tray": { - "icon-size": 17, - "spacing": 6 - }, } diff --git a/waybar/style.css b/waybar/style.css index a0dac2d..a9b80a6 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -6,112 +6,20 @@ } #waybar { - background-color: rgba(0, 0, 0, 0); - border: none; - box-shadow: none; -} - -#workspaces, -#window, -#tray { - background-color: #414559; - padding: 4px 6px; - margin-top: 6px; - margin-left: 6px; - margin-right: 6px; - border-radius: 10px; - border-width: 0px; -} - -#clock { - background-color: #414559; - margin-top: 6px; - margin-right: 6px; - padding: 4px 2px; - border-radius: 0 10px 10px 0; - border-width: 0px; -} - -#custom-power { - background-color: #414559; - margin-top: 6px; - margin-right: 0px; - padding: 4px 2px; - border-radius: 0px; - border-width: 0px; -} - -#network, -#custom-lock { - background-color: #414559; - margin-top: 6px; - margin-left: 6px; - padding: 4px 2px; - border-radius: 10px 0 0 10px; - border-width: 0px; -} - -#custom-reboot, -#bluetooth, -#battery, -#pulseaudio, -#custom-temperature, -#memory, -#cpu { - background-color: #414559; - margin-top: 6px; - padding: 4px 2px; - border-width: 0px; -} - -#cpu { - border-radius: 0 10px 10px 0; -} - -#custpm-temperature.critical, -#pulseaudio.muted { - color: #e78284; - padding-top: 0; -} - -#bluetooth:hover, -#network:hover, -#backlight:hover, -#battery:hover, -#pulseaudio:hover, -#custom-temperature:hover, -#memory:hover, -#cpu:hover, -#clock:hover, -#custom-lock:hover, -#custom-reboot:hover, -#custom-power:hover, -#window:hover { - background-color: #414559; + background-color: rgb(0, 0, 0); } #workspaces button:hover { - background-color: #949cbb; - padding: 2px 8px; - margin: 0 2px; - border-radius: 10px; + background-color: #303030; + margin: 0px; + border-radius: 0px; } #workspaces button.active { - background-color: #ca9ee6; + background-color: #28CD41; color: #ea999c; - padding: 2px 8px; - margin: 0 2px; - border-radius: 10px; -} - -#workspaces button { - background: transparent; - border: none; - color: #e5c890; - padding: 2px 8px; - margin: 0 2px; - font-weight: bold; + margin: 0; + border-radius: 0px; } #window { -- cgit v1.2.3