diff --git a/homes/aurora/default.nix b/homes/aurora/default.nix index b560f1a..19e1877 100644 --- a/homes/aurora/default.nix +++ b/homes/aurora/default.nix @@ -41,6 +41,8 @@ ]; home.sessionVariables = { + EDITOR = "avix"; + # xdg session variables XDG_CACHE_HOME = "$HOME/.cache"; XDG_CONFIG_HOME = "$HOME/.config"; diff --git a/homes/modules/wm/hyprland/hyprland.nix b/homes/modules/wm/hyprland/hyprland.nix index dce34e8..96b5312 100644 --- a/homes/modules/wm/hyprland/hyprland.nix +++ b/homes/modules/wm/hyprland/hyprland.nix @@ -290,8 +290,6 @@ ]; env = [ - "EDITOR,auravim" - "XCURSOR_THEME,Bunny (Icy) and Strawberries" "XCURSOR_SIZE,24" "HYPRCURSOR_THEME,Bunny (Icy) and Strawberries" diff --git a/homes/modules/wm/mango/mango/config.conf b/homes/modules/wm/mango/mango/config.conf index 8c9e7ad..dc8c6c4 100644 --- a/homes/modules/wm/mango/mango/config.conf +++ b/homes/modules/wm/mango/mango/config.conf @@ -28,6 +28,8 @@ exec-once = wl-clip-persist --clipboard regular exec-once = playerctld daemon +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots + ################################################################################ ##### Themeing ///////////////////////////////////////////////////////////////// ################################################################################ @@ -42,8 +44,18 @@ border_radius = 8 focused_opacity = 1.0 unfocused_opacity = 1.0 -cursor_size = 24 -cursor_theme = "Bunny (Icy) and Strawberries" +blur = 1 +blur_layer = 1 +blur_optimized = 1 +blur_params_radius = 6 +blur_params_num_passes = 2 +blur_params_noise = 0.02 +blur_params_brightness = 0.9 +blur_params_contrast = 0.9 +blur_params_saturation = 1.2 + +cursor_size=24 +cursor_theme=Bunny (Icy) and Strawberries ################################################################################ ##### Input //////////////////////////////////////////////////////////////////// @@ -70,17 +82,51 @@ bind = SUPER, d, spawn_shell, pkill -x rofi || rofi -show drun -show-icons bind = SUPER, v, spawn_shell, pkill -x rofi || cliphist list | rofi -dmenu | cliphist decode | wl-copy bind = ALT, TAB, spawn_shell, pkill -x rofi || rofi -modi window -show window -show-icons -# manage windows / session +# manage session bind = SUPER+ALT, c, killclient +bind = SUPER+SHIFT, r, reload_config +bind = SUPER+ALT, delete, quit + +# screenshots +# grim - | wl-copy +bind = SUPER, s, spawn_shell, grim -g \"\$(slurp -d)\" - | wl-copy +bind = SUPER+ALT, s, spawn_shell, grim -g \"\$(slurp -o)\" - | wl-copy +bind = SUPER+CTRL, s, spawn_shell, grim - | wl-copy + +# task manager +bind = SUPER+CTRL, escape, spawn, task-manager.sh +bind = SUPER+CTRL, grave, spawn, task-manager.sh + +# color picker +bind = SUPER, n, spawn, hyprpicker -v +# lock screen +bind = SUPER+ALT, y, spawn, hyprlock + +# media keybinds +bind = NONE, XF86AudioMute, spawn, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bind = NONE, XF86AudioPlay, spawn, playerctl play-pause +bind = NONE, XF86AudioNext, spawn, playerctl next +bind = NONE, XF86AudioPrev, spawn, playerctl previous + +# needs to be `bind` for some reason, doesn't work otherwise +# if all of them are `bind` and not `binds`, it also doesn't work +# weird bug!! qwq +binds = Shift_R, XF86AudioPlay, spawn_shell, playerctl shuffle toggle +binds = Shift_R, XF86AudioNext, spawn, playerctl loop track + +bind = NONE, XF86AudioRaiseVolume, spawn, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+ +bind = NONE, XF86AudioLowerVolume, spawn, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%- + +binds = Shift_R, XF86AudioRaiseVolume, spawn, playerctl volume 0.05+ +binds = Shift_R, XF86AudioLowerVolume, spawn, playerctl volume 0.05- + +# window states bind = SUPER, f, togglefullscreen bind = SUPER+ALT, f, togglefakefullscreen bind = SUPER, x, togglefloating -# screenshots -# grim - | wl-copy -bind = SUPER, s, spawn, grim -g \"\$(slurp -d)\" - | wl-copy -bind = SUPER+ALT, s, spawn, grim -g \"\$(slurp -o)\" - | wl-copy -bind = SUPER+CTRL, s, spawn, grim - | wl-copy +# layouts +bind = SUPER, u, switch_layout ################################################################################ ##### Miscellaneous //////////////////////////////////////////////////////////// @@ -100,4 +146,4 @@ axis_scroll_factor = 1.0 ################################################################################ # colors generated from palette generator -source = ./colors.conf +source=./colors.conf diff --git a/homes/modules/wm/mango/mango/windowrules.conf b/homes/modules/wm/mango/mango/windowrules.conf index 40bd58b..f38ede2 100644 --- a/homes/modules/wm/mango/mango/windowrules.conf +++ b/homes/modules/wm/mango/mango/windowrules.conf @@ -1,3 +1,3 @@ # ---------------------------------------------------------------------------- # # foot - blur -windowrule = appid:^(foot)$, focused_opacity:0.95, unfocused_opacity:0.95 +windowrule=focused_opacity:0.95,unfocused_opacity:0.95,appid:^(foot)$