diff --git a/henrovnix_ok/assets/conf/desktop/hypr/hypridle.conf b/henrovnix_ok/assets/conf/desktop/hypr/hypridle.conf deleted file mode 100644 index fa196fd52..000000000 --- a/henrovnix_ok/assets/conf/desktop/hypr/hypridle.conf +++ /dev/null @@ -1,16 +0,0 @@ -general { - lock_cmd = hyprlock - after_sleep_cmd = hyprctl dispatch dpms on - ignore_dbus_inhibit = false -} - -listener { - timeout = 600 - on-timeout = hyprlock -} - -listener { - timeout = 900 - on-timeout = hyprctl dispatch dpms off - on-resume = hyprctl dispatch dpms on -} diff --git a/henrovnix_ok/assets/conf/desktop/hypr/hyprlock.conf b/henrovnix_ok/assets/conf/desktop/hypr/hyprlock.conf deleted file mode 100644 index c7fdcd37b..000000000 --- a/henrovnix_ok/assets/conf/desktop/hypr/hyprlock.conf +++ /dev/null @@ -1,32 +0,0 @@ -# ~/.config/hypr/hyprlock.conf - -general { - grace = 2 - ignore_empty_input = true -} - -background { - path = ~/.config/hypr/lock.png - blur_passes = 2 - blur_size = 6 -} - -input-field { - size = 320, 60 - outline_thickness = 2 - dots_size = 0.25 - dots_spacing = 0.20 - fade_on_empty = true - placeholder_text = "Password" - position = 0, -120 - halign = center - valign = center -} - -label { - text = $TIME - font_size = 72 - position = 0, 120 - halign = center - valign = center -} diff --git a/henrovnix_ok/assets/conf/desktop/hypr/hyprshell/config.ron b/henrovnix_ok/assets/conf/desktop/hypr/hyprshell/config.ron deleted file mode 100644 index 9928604e0..000000000 --- a/henrovnix_ok/assets/conf/desktop/hypr/hyprshell/config.ron +++ /dev/null @@ -1,71 +0,0 @@ -// Edit with `hyprshell config edit` <-- GUI app, resize! -( - version: 3, - windows: ( - scale: 8.5, - items_per_row: 5 , - overview: ( - launcher: ( - default_terminal: None, - launch_modifier: "ctrl", - width: 800, - max_items: 5, - show_when_empty: true, - plugins: ( - applications: ( - run_cache_weeks: 8, - show_execs: true, - show_actions_submenu: true, - ), - terminal: None, - shell: None, - websearch: None, - calc: (), - path: (), - actions: ( - actions: [ - lock_screen, - hibernate, - logout, - reboot, - shutdown, - suspend, - custom( - names: [ - "Kill", - "Stop", - ], - details: "Kill or stop a process by name", - command: "pkill \"{}\" && notify-send hyprshell \"stopped {}\"", - icon: "remove", - ), - custom( - names: [ - "Reload Hyprshell", - ], - details: "Reload Hyprshell", - command: "sleep 1; hyprshell socat \'\"Restart\"\'", - icon: "system-restart", - ), - ], - ), - ), - ), - key: "Super_L", - modifier: "super", - filter_by: [], - hide_filtered: false, - exclude_special_workspaces: "", - ), - switch: ( - modifier: "alt", - key: "Tab", - filter_by: [ - current_monitor, - ], - switch_workspaces: false, - exclude_special_workspaces: "", - ), - switch_2: None, - ), -) diff --git a/henrovnix_ok/assets/conf/desktop/hypr/hyprshell/styles.css b/henrovnix_ok/assets/conf/desktop/hypr/hyprshell/styles.css deleted file mode 100644 index ac37156a3..000000000 --- a/henrovnix_ok/assets/conf/desktop/hypr/hyprshell/styles.css +++ /dev/null @@ -1,8 +0,0 @@ -window { - background: rgba(20, 20, 20, 0.92); - border-radius: 18px; -} - -* { - background-color: unset; -} diff --git a/henrovnix_ok/assets/conf/desktop/hypr/scripts/lid-lock.sh b/henrovnix_ok/assets/conf/desktop/hypr/scripts/lid-lock.sh deleted file mode 100644 index 55e0e92ef..000000000 --- a/henrovnix_ok/assets/conf/desktop/hypr/scripts/lid-lock.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -INTERNAL="eDP1" - -has_external() { - # Any monitor name that is not INTERNAL counts as external - hyprctl monitors -j | grep -q '"name"' && ! hyprctl monitors -j | grep -q "\"name\":\"$INTERNAL\"\"" -} - -has_external_robust() { - # robust without jq: count monitor names; if there's >1 OR there's a name not INTERNAL - local names - names="$(hyprctl monitors -j | sed -n 's/.*"name":"\([^"]*\)".*/\1/p')" - # if any name != INTERNAL then external - echo "$names" | grep -vx "$INTERNAL" >/dev/null 2>&1 -} - -if has_external_robust; then - # Clamshell: disable laptop panel, no lock - hyprctl keyword monitor "${INTERNAL},disable" -else - # Laptop only: suspend - systemctl suspend -fi diff --git a/henrovnix_ok/assets/conf/desktop/hypr/scripts/lid-restore.sh b/henrovnix_ok/assets/conf/desktop/hypr/scripts/lid-restore.sh deleted file mode 100644 index 5767d35c1..000000000 --- a/henrovnix_ok/assets/conf/desktop/hypr/scripts/lid-restore.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -INTERNAL="eDP1" - -# Restore panel using preferred mode, auto position, scale 1 -hyprctl keyword monitor "${INTERNAL},preferred,auto,1" diff --git a/henrovnix_ok/assets/conf/desktop/hypr/scripts/powermenu.sh b/henrovnix_ok/assets/conf/desktop/hypr/scripts/powermenu.sh deleted file mode 100644 index 97e931661..000000000 --- a/henrovnix_ok/assets/conf/desktop/hypr/scripts/powermenu.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -OPTIONS=" Lock - Logout (Hyprland) - Suspend - Hibernate - Reboot - Shutdown - Cancel" - -CHOICE=$(printf "%s" "$OPTIONS" | walker --dmenu ) - -case "$CHOICE" in - "Lock") - loginctl lock-session - ;; - "Logout (Hyprland)") - hyprctl dispatch exit - ;; - "Suspend") - loginctl lock-session && systemctl suspend - ;; - "Hibernate") - loginctl lock-session && systemctl hibernate - ;; - "Reboot") - systemctl reboot - ;; - "Shutdown") - systemctl poweroff - ;; - *) - exit 0 - ;; -esac diff --git a/henrovnix_ok/assets/conf/desktop/hypr/scripts/toggle-layout-scrolling-dwindle.sh b/henrovnix_ok/assets/conf/desktop/hypr/scripts/toggle-layout-scrolling-dwindle.sh deleted file mode 100644 index 493787c2c..000000000 --- a/henrovnix_ok/assets/conf/desktop/hypr/scripts/toggle-layout-scrolling-dwindle.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -cur="$(hyprctl getoption general:layout 2>/dev/null | awk '/str:/ {print $2; exit}')" -if [[ "$cur" == "scrolling" ]]; then - new="dwindle" -else - new="scrolling" -fi -hyprctl keyword general:layout "$new" >/dev/null -msg="Hyprland layout: $new" -echo "$msg" -# Show a notification if possible -if command -v notify-send >/dev/null 2>&1; then - notify-send -a Hyprland "Layout switched" "$msg" -fi diff --git a/henrovnix_ok/assets/copy_stuff/.config/hypr/hyprland.conf b/henrovnix_ok/assets/copy_stuff/.config/hypr/hyprland.conf index 6859742d5..521bc936a 100644 --- a/henrovnix_ok/assets/copy_stuff/.config/hypr/hyprland.conf +++ b/henrovnix_ok/assets/copy_stuff/.config/hypr/hyprland.conf @@ -1,11 +1,11 @@ source = conf/variables.conf -source = conf/behaviour.conf -source = conf/layout.conf +# source = conf/behaviour.conf +# source = conf/layout.conf source = conf/animations.conf source = conf/layer-rules.conf -source = conf/window-rules.conf +# source = conf/window-rules.conf source = conf/monitor-rules.conf -source = conf/workspace-rules.conf +# source = conf/workspace-rules.conf source = conf/bindings.conf source = conf/exec-once.conf diff --git a/henrovnix_ok/assets/scripts/end_script.sh b/henrovnix_ok/assets/scripts/end_script.sh index c2ec0db62..73b085d91 100755 --- a/henrovnix_ok/assets/scripts/end_script.sh +++ b/henrovnix_ok/assets/scripts/end_script.sh @@ -13,3 +13,5 @@ fi TIMESTAMP_FILE="$HOME/timestamp.txt" date +"%Y-%m-%d %H:%M:%S" > "$TIMESTAMP_FILE" + +pkill waybar && waybar &