diff options
| author | coast <coasteen@proton.me> | 2026-08-21 04:43:52 +0330 |
|---|---|---|
| committer | coast <coasteen@proton.me> | 2026-08-21 04:43:52 +0330 |
| commit | 9b6b4958ffae56b24017f6c02627ab307c2f4c17 (patch) | |
| tree | 3806915871d52d527b4313ca043b02b34f2f8617 /home-configuration/managed | |
| parent | af2189a58739b535bcdf5afaf6c486cca448e234 (diff) | |
updates
Diffstat (limited to 'home-configuration/managed')
| -rw-r--r-- | home-configuration/managed/waybar/default.nix | 2 | ||||
| -rw-r--r-- | home-configuration/managed/waybar/style.nix | 22 | ||||
| -rw-r--r-- | home-configuration/managed/xserver/default.nix | 47 |
3 files changed, 30 insertions, 41 deletions
diff --git a/home-configuration/managed/waybar/default.nix b/home-configuration/managed/waybar/default.nix index e72c78b..cba2a19 100644 --- a/home-configuration/managed/waybar/default.nix +++ b/home-configuration/managed/waybar/default.nix @@ -4,7 +4,7 @@ programs.waybar.package = pkgs.waybar; programs.waybar.systemd.enable = false; programs.waybar.settings.mainBar.layer = "top"; - programs.waybar.settings.mainBar.position = "top"; + programs.waybar.settings.mainBar.position = "bottom"; programs.waybar.settings.mainBar.spacing = "0"; programs.waybar.settings.mainBar.height = 35; programs.waybar.settings.mainBar.border-radius = 25; diff --git a/home-configuration/managed/waybar/style.nix b/home-configuration/managed/waybar/style.nix index 83bff23..bd461e9 100644 --- a/home-configuration/managed/waybar/style.nix +++ b/home-configuration/managed/waybar/style.nix @@ -5,16 +5,13 @@ font-family: "Iosevka Nerd Font"; font-size: 14px; } - window#waybar { background-color: #000000; margin: 0; } - #workspaces { - margin: 8px 0 4px 8px; + margin: 6px 0 6px 8px; } - #workspaces button { color: #89b4fa; background: #16161a; @@ -25,7 +22,6 @@ font-weight: bold; transition: all 0.3s ease; } - #workspaces button.active { color: #09090F; margin-right: 6px; @@ -34,62 +30,56 @@ background-size: 200% 200%; animation: shift 6s ease infinite; } - @keyframes shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } - #window { color: #d3869b; - margin: 8px 8px 4px 8px; + margin: 6px 8px 6px 8px; border-radius: 12px; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); padding: 4px 12px; font-weight: bold; } - #cpu, #network, #wireplumber, #battery { color: #d3869b; background: #16161a; - margin: 8px 8px 4px 0; + margin: 6px 8px 6px 0; border-radius: 12px; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); padding: 4px 12px; font-weight: bold; } - #clock { background: linear-gradient(135deg, #cdd6f4, #f38ba8); background-size: 200% 200%; animation: shift 6s ease infinite; - margin: 8px 8px 4px 0; + margin: 6px 8px 6px 0; border-radius: 12px; padding: 4px 12px; color: #09090F; font-weight: bold; text-shadow: 0 0 5px rgba(0, 0, 0, 0.3); } - #taskbar { background: #16161a; color: #89b4fa; - margin: 8px 8px 4px 0; + margin: 6px 8px 6px 0; border-radius: 12px; min-width: 38px; padding: 3px; font-weight: bold; } - #custom-distro-icon { background: radial-gradient(circle, rgba(203,166,247,1) 0%, rgba(193,168,247,1) 12%, rgba(249,226,175,1) 19%, rgba(189,169,247,1) 20%, rgba(182,171,247,1) 24%, rgba(198,255,194,1) 36%, rgba(177,172,247,1) 37%, rgba(170,173,248,1) 48%, rgba(255,255,255,1) 52%, rgba(166,174,248,1) 52%, rgba(160,175,248,1) 59%, rgba(148,226,213,1) 66%, rgba(155,176,248,1) 67%, rgba(152,177,248,1) 68%, rgba(205,214,244,1) 77%, rgba(148,178,249,1) 78%, rgba(144,179,250,1) 82%, rgba(180,190,254,1) 83%, rgba(141,179,250,1) 90%, rgba(137,180,250,1) 100%); background-size: 400% 400%; color: #09090F; - margin: 8px 4px 4px 8px; + margin: 6px 4px 6px 8px; border-radius: 12px; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); padding: 0; diff --git a/home-configuration/managed/xserver/default.nix b/home-configuration/managed/xserver/default.nix index e5889de..79502d8 100644 --- a/home-configuration/managed/xserver/default.nix +++ b/home-configuration/managed/xserver/default.nix @@ -1,7 +1,5 @@ -{ pkgs, ... }: +{ ... }: { - xsession.windowManager.bspwm.enable = true; - xsession.windowManager.bspwm.package = pkgs.bspwm-unstable; xsession.windowManager.bspwm.settings = { border_width = 2; focused_border_color = "#383838"; @@ -18,36 +16,37 @@ bottom_padding = 0; }; xsession.windowManager.bspwm.extraConfig = '' - pidb() { - pgrep -x "$1" >/dev/null 2>&1 - } + pidb() { + pgrep -x "$1" >/dev/null 2>&1 + } - run() { - proc="$1" - cmd="$2" + run() { + proc="$1" + cmd="$2" - if ! pidb "$proc"; then - sh -c "$cmd" & - fi - } + if ! pidb "$proc"; then + sh -c "$cmd" & + fi + } - ### }}} + ### }}} - ### {{{ rerun/start processes + ### {{{ rerun/start processes - # piss - run "piss" "piss" + # piss + #run "piss" "piss" + sxhkd - # picom - run "picom" "picom --backend glx" + # picom + run "picom" "picom --backend glx" - # dunst - # run "dunst" "dunst" + # dunst + # run "dunst" "dunst" - # bspbar - # run "bspbar" "bspbar" + # bspbar + # run "bspbar" "bspbar" - xwallpaper --center "$HOME/Wallpapers/nature2art.png" + xwallpaper --center "$HOME/Wallpapers/nature2art.png" ''; } |
