Added and tested script to prepare henrovnix_ok for publishing
This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything definitive, edit the source files in:
|
||||
# ~/YOUR_USERnix/assets/conf
|
||||
# Temporarily(!) testing can by editing this file, edit the file and reloading hyprshell
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/YOUR_USERnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/YOUR_USERnix && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# NOTE:
|
||||
# Make sure the lines starting with: cd ~/YOUR_USERnix
|
||||
# are written as ONE single line.
|
||||
###############################################
|
||||
|
||||
############################
|
||||
# Variables
|
||||
############################
|
||||
|
||||
# Colors (Hyprland "col" values commonly use rgba(aarrggbb)-style hex)
|
||||
# See Hyprland variable / type docs for color formats & bools. :contentReference[oaicite:2]{index=2}
|
||||
$base = rgba(1e1e2eff)
|
||||
$inactive = rgba(595959aa)
|
||||
$blue = rgba(33ccffee)
|
||||
$green = rgba(00ff99ee)
|
||||
|
||||
# Recommended for correct environment in systemd user session / portals. :contentReference[oaicite:4]{index=4}
|
||||
exec-once = dbus-update-activation-environment --systemd --all
|
||||
exec-once = uwsm app -- waybar
|
||||
|
||||
# put these at top-level (recommended), not inside general { }:
|
||||
layerrule = blur on, ignore_alpha 1, match:namespace waybar
|
||||
layerrule = xray 1, match:namespace waybar
|
||||
layerrule = blur on, ignore_alpha 1, match:namespace walker
|
||||
layerrule = xray 1, match:namespace walker
|
||||
layerrule = blur on, ignore_alpha 1, match:namespace swaync-control-center
|
||||
layerrule = blur on, ignore_alpha 1, match:namespace swaync-notification-window
|
||||
|
||||
input {
|
||||
follow_mouse = 1
|
||||
kb_layout = us
|
||||
kb_options = ctrl:nocaps
|
||||
sensitivity = -0.5
|
||||
accel_profile = adaptive
|
||||
scroll_factor = 0.5
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
scroll_factor = 0.5
|
||||
}
|
||||
}
|
||||
cursor {
|
||||
no_hardware_cursors = true
|
||||
}
|
||||
general {
|
||||
gaps_in = 2
|
||||
gaps_out = 4
|
||||
border_size = 2
|
||||
# Gradient syntax: color color angle (e.g. 45deg). :contentReference[oaicite:5]{index=5}
|
||||
col.active_border = $blue $green 45deg
|
||||
col.inactive_border = $inactive
|
||||
layout = scrolling
|
||||
resize_on_border = true
|
||||
extend_border_grab_area = 20 # Makes it easier to "grab" the edge
|
||||
}
|
||||
decoration {
|
||||
rounding = 5
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 8
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
}
|
||||
}
|
||||
animations {
|
||||
enabled = yes
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
dwindle {
|
||||
pseudotile = yes
|
||||
preserve_split = yes
|
||||
}
|
||||
misc {
|
||||
disable_hyprland_logo = false
|
||||
focus_on_activate = true
|
||||
}
|
||||
# Start required session helpers
|
||||
exec-once = hypridle
|
||||
exec-once = hyprpolkitagent
|
||||
# Lid close: lock only if no external monitor is connected
|
||||
bindl = , switch:on:Lid Switch, exec, ~/.config/hypr/scripts/lid-lock.sh
|
||||
# Lid open: turn DPMS back on (does not unlock)
|
||||
bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on
|
||||
|
||||
exec-once = systemd-run --user --scope --unit=elephant elephant
|
||||
exec-once = ~/.config/hypr/scripts/hyprscrolling-listener.sh
|
||||
Reference in New Issue
Block a user