Regenerated
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
# Keyboard and mouse settings
|
||||
input {
|
||||
numlock_by_default = true
|
||||
touchpad {
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
tap-to-click = true
|
||||
drag_lock = true
|
||||
|
||||
@@ -154,5 +154,5 @@ bind = , XF86Calculator, exec, gnome-calculator
|
||||
#########################
|
||||
# System stuff
|
||||
#########################
|
||||
# bind = $mainMod, U, exec, kitty --class update-term -e bash -lc "~/.config/system/scripts/update.sh; exec bash"
|
||||
# bind = $mainMod, U, exec, kitty --class update-term -e bash -lc "~/.config/shared/scripts/update.sh; exec bash"
|
||||
bind = $mainMod, U, exec, qs -c updater
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
#
|
||||
# Launch a power menu
|
||||
#
|
||||
# Requires fzf and systemd (loginctl, systemctl)
|
||||
#
|
||||
# Author: Jesse Mirabel <sejjymvm@gmail.com>
|
||||
# Date: August 19, 2025
|
||||
# License: MIT
|
||||
|
||||
main() {
|
||||
local list=(
|
||||
" Lock"
|
||||
" Shutdown"
|
||||
" Reboot"
|
||||
" Logout"
|
||||
" Hibernate"
|
||||
" Suspend"
|
||||
)
|
||||
|
||||
local options=(
|
||||
"--border=sharp"
|
||||
"--border-label= Power Menu "
|
||||
"--cycle"
|
||||
"--ghost=Search"
|
||||
"--height=~100%"
|
||||
"--highlight-line"
|
||||
"--info=inline-right"
|
||||
"--pointer="
|
||||
"--reverse"
|
||||
)
|
||||
|
||||
local selected
|
||||
selected=$(printf "%s\n" "${list[@]}" | fzf "${options[@]}")
|
||||
|
||||
case $selected in
|
||||
Lock) loginctl lock-session ;;
|
||||
Shutdown) systemctl poweroff ;;
|
||||
Reboot) systemctl reboot ;;
|
||||
Logout) loginctl terminate-session "$XDG_SESSION_ID" ;;
|
||||
Hibernate) systemctl hibernate ;;
|
||||
Suspend) systemctl suspend ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
main
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
|
||||
STATUS_FILE="/tmp/nixos-updater-status"
|
||||
|
||||
echo "0|Starting" > "$STATUS_FILE"
|
||||
|
||||
update_step() {
|
||||
echo "$1|$2" > "$STATUS_FILE"
|
||||
}
|
||||
|
||||
update_step 10 "Fixing ownership"
|
||||
sudo chown -R "$USER":"wheel" "$REPO"
|
||||
|
||||
update_step 30 "Updating flake"
|
||||
nix flake update
|
||||
|
||||
update_step 60 "Rebuilding system"
|
||||
sudo nixos-rebuild switch --flake ".#$HOSTNAME"
|
||||
|
||||
update_step 90 "Updating Flatpaks"
|
||||
flatpak update -y
|
||||
|
||||
update_step 100 "Done"
|
||||
+3
@@ -10,6 +10,9 @@ COUNT=$(libinput list-devices 2>/dev/null \
|
||||
|
||||
if [ "$COUNT" -ge 2 ]; then
|
||||
numlockx on
|
||||
echo $COUNT : On
|
||||
else
|
||||
numlockx off
|
||||
fi
|
||||
echo $COUNT
|
||||
echo libinput list-devices
|
||||
@@ -1,5 +1,5 @@
|
||||
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
|
||||
@import url("/home/henrov/.config/shared/colors.css");
|
||||
@import url("/home/henrov/.config/shared/css/colors.css");
|
||||
|
||||
* {
|
||||
all: unset;
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
# Tel toetsenborden met volledige toetsset (geen media-only apparaten)
|
||||
COUNT=$(libinput list-devices 2>/dev/null \
|
||||
| grep -A5 "Keyboard" \
|
||||
| grep -c "kbd")
|
||||
|
||||
# Of via xinput / /proc alternatief:
|
||||
# COUNT=$(cat /proc/bus/input/devices | grep -B5 'KEY=.*[a-f0-9]\{10\}' | grep -c 'Name=')
|
||||
|
||||
if [ "$COUNT" -ge 2 ]; then
|
||||
numlockx on
|
||||
else
|
||||
numlockx off
|
||||
fi
|
||||
@@ -1,48 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
#
|
||||
# Launch a power menu
|
||||
#
|
||||
# Requires fzf and systemd (loginctl, systemctl)
|
||||
#
|
||||
# Author: Jesse Mirabel <sejjymvm@gmail.com>
|
||||
# Date: August 19, 2025
|
||||
# License: MIT
|
||||
|
||||
main() {
|
||||
local list=(
|
||||
" Lock"
|
||||
" Shutdown"
|
||||
" Reboot"
|
||||
" Logout"
|
||||
" Hibernate"
|
||||
" Suspend"
|
||||
)
|
||||
|
||||
local options=(
|
||||
"--border=sharp"
|
||||
"--border-label= Power Menu "
|
||||
"--cycle"
|
||||
"--ghost=Search"
|
||||
"--height=~100%"
|
||||
"--highlight-line"
|
||||
"--info=inline-right"
|
||||
"--pointer="
|
||||
"--reverse"
|
||||
)
|
||||
|
||||
local selected
|
||||
selected=$(printf "%s\n" "${list[@]}" | fzf "${options[@]}")
|
||||
|
||||
case $selected in
|
||||
Lock) loginctl lock-session ;;
|
||||
Shutdown) systemctl poweroff ;;
|
||||
Reboot) systemctl reboot ;;
|
||||
Logout) loginctl terminate-session "$XDG_SESSION_ID" ;;
|
||||
Hibernate) systemctl hibernate ;;
|
||||
Suspend) systemctl suspend ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
main
|
||||
@@ -1,5 +1,5 @@
|
||||
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
|
||||
@import url("file:///home/henrov/.config/shared/colors.css");
|
||||
@import url("file:///home/henrov/.config/shared/css/colors.css");
|
||||
|
||||
/* --- Global --- */
|
||||
* {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
|
||||
@import "~/.config/shared/colors.css";
|
||||
@import "~/.config/shared/css/colors.css";
|
||||
|
||||
* {
|
||||
background-color: transparent;
|
||||
|
||||
Reference in New Issue
Block a user