From 2de8b374f90ed48dd5918e09ed5dac0e64989f74 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sat, 10 May 2025 07:12:54 -0500 Subject: [PATCH 1/2] make it pertty --- .config/eww/eww.scss | 5 +++++ .config/hypr/hyprpaper.conf | 12 ++++++------ home/home.nix | 2 +- home/modules/hyprland.nix | 20 ++++++++++++-------- 4 files changed, 24 insertions(+), 15 deletions(-) diff --git a/.config/eww/eww.scss b/.config/eww/eww.scss index d99c5a7..30e0809 100644 --- a/.config/eww/eww.scss +++ b/.config/eww/eww.scss @@ -233,6 +233,11 @@ tooltip label { // margin: 0px 0px 0px 5px; } +button:hover { + background-color: rgba(00, 00, 00, 0.2); + border-radius: 16px; +} + .iconbat { color: $base0E; // margin: 2px 10px 0px 8px; diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index ae8dd02..8c44ca9 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -1,6 +1,6 @@ -preload = ~/pics/wallpapers/nixorange.jpeg -wallpaper = DP-2,~/pics/wallpapers/nixorange.jpeg -wallpaper = HDMI-A-1,~/pics/wallpapers/nixorange.jpeg -wallpaper = DP-3,~/pics/wallpapers/nixorange.jpeg -wallpaper = DP-1,~/pics/wallpapers/nixorange.jpeg -wallpaper = eDP-1,~/pics/wallpapers/nixorange.jpeg \ No newline at end of file +preload = ~/pics/wallpapers/tech.jpg +wallpaper = DP-2,~/pics/wallpapers/tech.jpg +wallpaper = HDMI-A-1,~/pics/wallpapers/tech.jpg +wallpaper = DP-3,~/pics/wallpapers/tech.jpg +wallpaper = DP-1,~/pics/wallpapers/tech.jpg +wallpaper = eDP-1,~/pics/wallpapers/tech.jpg \ No newline at end of file diff --git a/home/home.nix b/home/home.nix index 8be8c9a..73b5205 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1444,7 +1444,7 @@ in { enable = true; settings = { window = { - opacity = 1.0; + opacity = 0.9; dynamic_title = true; padding.x = 10; padding.y = 10; diff --git a/home/modules/hyprland.nix b/home/modules/hyprland.nix index 3cd70af..5906231 100644 --- a/home/modules/hyprland.nix +++ b/home/modules/hyprland.nix @@ -155,11 +155,12 @@ in blur = { enabled = true; - size = 10; # minimum 1; + size = 15; # minimum 1; passes = 3; # minimum 1, more passes = more resource intensive.; new_optimizations = true; ignore_opacity = false; special = false; + noise = 0.2; }; shadow = { @@ -170,7 +171,7 @@ in scale = 0.998; range = 20; }; - dim_inactive = false; + dim_inactive = true; dim_strength = 0.2; dim_special = 0; }; @@ -264,7 +265,9 @@ in "SUPER,B,exec,/home/chris/bin/fflof" "SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer" "SUPERCTRL,i,exec,alacritty --class btop -e btop" - ",Print,exec,screenshot" + "SUPERSHIFT,p,exec,${pkgs.hyprshot}/bin/hyprshot -m region" + "SUPERALT,p,exec,${pkgs.hyprshot}/bin/hyprshot -m window" + "SUPERCTRL,p,exec,${pkgs.hyprshot}/bin/hyprshot -m active" "SUPERSHIFT,mouse_down,exec,zoomin in" "SUPERSHIFT,mouse_up,exec,zoomin out" "SUPERALT,r,exec,zoomin in" @@ -288,10 +291,10 @@ in "SUPERCTRL,l,splitratio,+0.05" "SUPERCTRL,h,splitratio,-0.05" "SUPERSHIFT,c,centerwindow" - "ALTCTRL,l,moveintogroup,right" - "ALTCTRL,h,moveintogroup,left" - "ALTCTRL,k,moveintogroup,up" - "ALTCTRL,j,moveintogroup,down" + "SUPERSHIFT,Right,moveintogroup,right" + "SUPERSHIFT,Left,moveintogroup,left" + "SUPERSHIFT,Up,moveintogroup,up" + "SUPERSHIFT,Down,moveintogroup,down" "SUPERALT,g,togglegroup" "SUPER,1,workspace,1" @@ -369,6 +372,7 @@ in "eww open ${if laptop then "bar0" else "bar1"}" # "dunst" # "waybar" + "swww-daemon" "rbw-agent" "hyprctl dispatch --batch 'splitratio 1; splitration -0.35'" "dbus-update-activation-environment --systemd --all" @@ -379,8 +383,8 @@ in "kdeconnect-indicator" "wl-paste --watch cliphist store" "hyprctl setcursor phinger-cursors-light 24" - # "sleep 3 && swww img /home/chris/pics/wallpapers/nixorange.jpeg --resize crop -t grow --transition-bezier .14,0,.14,.99" "nm-tray" + "swww img /home/chris/pics/wallpapers/tech.jpg --resize crop -t grow --transition-bezier .14,0,.14,.99" # "emacs --daemon" ]; xwayland = { From 1a87a74cf51c26615915dd9c795a0f7741a9174f Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 20 May 2025 06:37:25 -0500 Subject: [PATCH 2/2] aesthetic tweaks --- home/home.nix | 8 +++---- home/modules/hyprland.nix | 49 +++++++++++++++++++++++++++------------ 2 files changed, 38 insertions(+), 19 deletions(-) diff --git a/home/home.nix b/home/home.nix index 73b5205..34bc359 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1313,7 +1313,7 @@ in { progress_bar_frame_width = 1; progress_bar_min_width = 150; progress_bar_max_width = 300; - transparency = 10; + transparency = 30; separator_height = 2; padding = 10; horizontal_padding = 8; @@ -1334,19 +1334,19 @@ in { dmenu = "${pkgs.rofi}/bin/rofi -dmenu -p dunst:"; }; urgency_low = { - background = "#282a36"; + background = "#282a36aa"; foreground = "#57c7ff"; timeout = 10; }; urgency_normal = { - background = "#282a36"; + background = "#282a36aa"; foreground = "#5af78e"; timeout = 10; }; urgency_critical = { - background = "#282a36"; + background = "#282a36aa"; foreground = "#ff5c57"; frame_color = "#ff0000"; timeout = 0; diff --git a/home/modules/hyprland.nix b/home/modules/hyprland.nix index 5906231..954fbc5 100644 --- a/home/modules/hyprland.nix +++ b/home/modules/hyprland.nix @@ -6,12 +6,15 @@ in { home.file.".config/hypr/hyprlock.conf" = { text = '' + auth { + fingerprint:enable = false + } background { monitor = - path = /home/chris/pics/wallpapers/nixorange.png # only png supported for now + path = /home/chris/pics/wallpapers/tech.jpg # only png supported for now blur_passes = 3 # 0 disables blurring - blur_size = 7 - noise = 0.0117 + blur_size = 12 + noise = 0.1 contrast = 0.8916 brightness = 0.8172 vibrancy = 0.1696 @@ -19,22 +22,22 @@ in } input-field { monitor = - size = 200, 50 - outline_thickness = 3 + size = 400, 50 + outline_thickness = 2 dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 - dots_center = false + dots_center = true dots_rounding = -1 # -1 default circle, -2 follow input-field rounding - outer_color = rgb(151515) - inner_color = rgb(200, 200, 200) - font_color = rgb(10, 10, 10) + outer_color = rgb(90, 247, 142) + inner_color = rgb(40, 42, 54) + font_color = rgb(90, 247, 142) fade_on_empty = true fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. placeholder_text = Input Password... # Text rendered in the input box when it's empty. hide_input = false rounding = -1 # -1 means complete rounding (circle/oval) - check_color = rgb(204, 136, 34) - fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + check_color = rgb(255, 159, 67) + fail_color = rgb(255, 92, 87) # if authentication failed, changes outer_color and fail message color fail_text = $FAIL ($ATTEMPTS) # can be set to empty fail_transition = 300 # transition time in ms between normal outer_color and fail_color capslock_color = -1 @@ -149,7 +152,7 @@ in decoration = { rounding = 18; # multisample_edges=true - active_opacity = 0.97; + active_opacity = 0.90; inactive_opacity = 0.70; fullscreen_opacity = 1.0; @@ -176,6 +179,18 @@ in dim_special = 0; }; + group = { + "col.border_active" = "rgba(282a3600) rgba(57c7ff00) rgba(5af78e00) 45deg"; + "col.border_inactive" = "rgba(282a3655) rgba(57c7ff55) rgba(5af78e55) 45deg"; + groupbar = { + rounding = 16; + gradients = true; + gradient_rounding = 12; + "col.active" = "rgba(282a36ff)"; + "col.inactive" = "rgba(282a3655)"; + }; + }; + bezier = "snapslide,0.07,0.66,0.04,1.02"; animations = { @@ -295,7 +310,7 @@ in "SUPERSHIFT,Left,moveintogroup,left" "SUPERSHIFT,Up,moveintogroup,up" "SUPERSHIFT,Down,moveintogroup,down" - "SUPERALT,g,togglegroup" + "SUPERSHIFT,g,togglegroup" "SUPER,1,workspace,1" "SUPER,2,workspace,2" @@ -330,7 +345,7 @@ in "SUPERALT,a,movetoworkspace,special:agenda" "SUPER,g,togglespecialworkspace,agenda" - "SUPERSHIFT,g,exec,waybar.sh" + # "SUPERSHIFT,g,exec,waybar.sh" "SUPERALT,n,exec,eww update rightside=true" "SUPERCTRL,f,exec,forms-fill.sh" ]; @@ -359,9 +374,13 @@ in # Blur waybar # blurls = "gtk-layer-shell"; layerrule = [ - # "blur, gtk-layer-shell" + "blur, notifications" + # "blur, panel" + "ignorezero, notifications" + "ignorezero, panel" "ignorezero, gtk-layer-shell" "animation snapslide, gtk-layer-shell" + "animation snapslide, panel" ]; # blurls=notifications