diff --git a/debian/changelog b/debian/changelog index f8222ed..843a52c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +tileos-settings-qtile (2.0.0~tileos) unstable; urgency=medium + + * Initial release for Sauropod + + -- Aleksey Samoilov Sun, 08 Jun 2025 14:35:52 +0400 + tileos-settings-qtile (1.1.5~tileos) unstable; urgency=medium * Updates from Sway edition diff --git a/etc/skel/.config/bluetuith/bluetuith.conf b/etc/skel/.config/bluetuith/bluetuith.conf new file mode 100644 index 0000000..e335eea --- /dev/null +++ b/etc/skel/.config/bluetuith/bluetuith.conf @@ -0,0 +1,15 @@ +{ + adapter: "" + gsm-apn: "" + gsm-number: "" + keybindings: {} + receive-dir: "" + theme: { + AdapterPowered: "powderblue", + AdapterNotPowered: "lightcoral", + AdapterPairable: "thistle", + AdapterScanning: "mistyrose", + DevicePropertyDiscovered: "mistyrose", + DevicePropertyConnected: "powderblue" + } +} diff --git a/etc/skel/.config/calcurse/conf b/etc/skel/.config/calcurse/conf new file mode 100644 index 0000000..907f603 --- /dev/null +++ b/etc/skel/.config/calcurse/conf @@ -0,0 +1,32 @@ +appearance.calendarview=monthly +appearance.compactpanels=no +appearance.defaultpanel=calendar +appearance.layout=1 +appearance.headerline=yes +appearance.eventseparator=yes +appearance.dayseparator=yes +appearance.emptyline=yes +appearance.emptyday=-- +appearance.notifybar=yes +appearance.sidebarwidth=27 +appearance.theme=blue on default +appearance.todoview=hide-completed +appearance.headingpos=right-justified +daemon.enable=yes +daemon.log=no +format.inputdate=1 +format.notifydate=%a %F +format.notifytime=%T +format.outputdate=%D +format.dayheading=%B %e, %Y +general.autogc=no +general.autosave=yes +general.confirmdelete=yes +general.confirmquit=no +general.firstdayofweek=monday +general.multipledays=yes +general.periodicsave=0 +general.systemevents=yes +notification.command=printf '\a' +notification.notifyall=flagged-only +notification.warning=300 diff --git a/etc/skel/.config/dunst/dunstrc b/etc/skel/.config/dunst/dunstrc index 452f72b..729b877 100644 --- a/etc/skel/.config/dunst/dunstrc +++ b/etc/skel/.config/dunst/dunstrc @@ -17,7 +17,7 @@ # # If this option is set to mouse or keyboard, the monitor option # will be ignored. - follow = none + follow = mouse ### Geometry ### @@ -329,7 +329,7 @@ [urgency_critical] background = "#24273A" foreground = "#CAD3F5" - frame_color = "#F5A97F" + frame_color = "#ED6C13" timeout = 0 # Icon for notifications with critical urgency, uncomment to enable #default_icon = /path/to/icon diff --git a/etc/skel/.config/nwg-wrapper/help.sh b/etc/skel/.config/nwg-wrapper/help.sh new file mode 100755 index 0000000..c7a7f90 --- /dev/null +++ b/etc/skel/.config/nwg-wrapper/help.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/share/sway/scripts/sbdp.py $HOME/.config/sway/config | jq --raw-output 'sort_by(.category) | .[] | .action + ": " + .keybinding + ""' diff --git a/etc/skel/.config/nwg-wrapper/style.css b/etc/skel/.config/nwg-wrapper/style.css new file mode 100644 index 0000000..5b0309c --- /dev/null +++ b/etc/skel/.config/nwg-wrapper/style.css @@ -0,0 +1,13 @@ +window { + background-color: @theme_bg_color; + font-size: medium; + color: #cad3f5; +} + +#box-inner { + border-radius: 0px; + border-style: solid; + border-width: 2px; + border-color: #8aadf4; + padding: 10px; +} diff --git a/etc/skel/.config/swappy/config b/etc/skel/.config/swappy/config new file mode 100644 index 0000000..80c4940 --- /dev/null +++ b/etc/skel/.config/swappy/config @@ -0,0 +1,4 @@ +[Default] +save_dir=${XDG_PICTURES_DIR:-$HOME/Pictures} +show_panel=true +early_exit=true diff --git a/etc/skel/.config/swayidle/config b/etc/skel/.config/swayidle/config index 7a061c6..b15b7d1 100644 --- a/etc/skel/.config/swayidle/config +++ b/etc/skel/.config/swayidle/config @@ -1,6 +1,8 @@ -timeout 240 'light -G > /tmp/brightness && light -S 10' resume 'light -S $([ -f /tmp/brightness ] && cat /tmp/brightness || echo 100%)' -timeout 300 ~/.config/swaylock/lock.sh -timeout 600 'wlopm --off \*' resume 'wlopm --on \*' +timeout 240 'brightnessctl -s && brightnessctl set 10' resume 'brightnessctl -r' +timeout 300 '/usr/share/qtile/scripts/lock.sh' +timeout 600 '/usr/share/qtile/scripts/kbd-backlight.sh off && timeout 600 'wlopm --off \*' resume '/usr/share/qtile/scripts/kbd-backlight.sh on && 'wlopm --on \*' +timeout 900 '[ "$(acpi -b | grep Discharging)" != "" ] && systemctl suspend' +timeout 3600 '[ "$(acpi -b | grep Discharging)" = "" ] && systemctl suspend' before-sleep 'playerctl pause' -before-sleep ~/.config/swaylock/lock.sh -lock ~/.config/swaylock/lock.sh +before-sleep '/usr/share/qtile/scripts/lock.sh && sleep 2' +after-resume '/usr/share/qtile/scripts/kbd-backlight.sh on && 'wlopm --on \*' && brightnessctl -r' diff --git a/etc/skel/.config/swaylock/config b/etc/skel/.config/swaylock/config index 1dfd380..65aca8f 100644 --- a/etc/skel/.config/swaylock/config +++ b/etc/skel/.config/swaylock/config @@ -15,4 +15,4 @@ ring-color=c6a0f6 ring-ver-color=7dc4e4 ring-wrong-color=ee99a0 ring-clear-color=8aadf4 -ring-caps-lock-color=f5a97f +ring-caps-lock-color=ed6c13 diff --git a/usr/share/qtile/scripts/kbd-backlight.sh b/usr/share/qtile/scripts/kbd-backlight.sh new file mode 100755 index 0000000..14cbab7 --- /dev/null +++ b/usr/share/qtile/scripts/kbd-backlight.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env sh +set -x + +case $1'' in +'on') + brightnessctl -r -d "*kbd_backlight" + ;; +'off') + brightnessctl -s -d "*kbd_backlight" && brightnessctl -d "*kbd_backlight" set 0 + ;; +esac diff --git a/usr/share/qtile/scripts/lock.sh b/usr/share/qtile/scripts/lock.sh index 170253f..ec9eeba 100755 --- a/usr/share/qtile/scripts/lock.sh +++ b/usr/share/qtile/scripts/lock.sh @@ -1,10 +1,15 @@ #!/bin/bash -USER_SCRIPT="$HOME/.config/swaylock/lock.sh" -GLOB_SCRIPT="/usr/share/sway/scripts/swaylock.sh" +# Swaylock run's with additional features, e.g. adding screenshot to background +SWAYLOCK_USER_SCRIPT="$HOME/.config/swaylock/lock.sh" +SWAYLOCK_GLOB_SCRIPT="/usr/share/qtile/scripts/swaylock.sh" -if [[ -x "$USER_SCRIPT" ]]; then - "$USER_SCRIPT" -else - "$GLOB_SCRIPT" +if [ -x "$(command -v gtklock)" ]; then + gtklock --daemonize --follow-focus --idle-hide --start-hidden +elif [ -x "$(command -v swaylock)" ]; then + if [[ -x "$SWAYLOCK_USER_SCRIPT" ]]; then + "$SWAYLOCK_USER_SCRIPT" + else + "$SWAYLOCK_GLOB_SCRIPT" + fi fi