diff --git a/bin/start_swayidle.sh b/bin/start_swayidle.sh index 4ec9660..abc4806 100755 --- a/bin/start_swayidle.sh +++ b/bin/start_swayidle.sh @@ -11,7 +11,7 @@ SUS_CMD="$HOME/.config/sway/bin/sway_suspend" # 120 min suspend pkill -x swayidle swayidle -w \ - timeout 1500 "$TERM_CMD bash -c 'dunstify -r 123 -u critical display\ will\ turn\ off\ soon'" \ + timeout 1500 "$TERM_CMD bash -c 'dunstify -r 125 -t 300 display\ will\ turn\ off\ soon'" \ resume "$LOCK_CMD on" \ timeout 1800 "$LOCK_CMD off" \ timeout 2700 "$LOCK_CMD lockonly" \ diff --git a/bin/sway_search b/bin/sway_search index 5bf3aac..252a451 100755 --- a/bin/sway_search +++ b/bin/sway_search @@ -1,4 +1,4 @@ #!/bin/bash -xdg-open "$(rg --no-messages --max-depth 4 --sortr modified --files $HOME | \ +xdg-open "$(rg --no-messages --max-depth 4 --sortr modified --files $HOME $HOME/Cloud/* | \ sort -h | wofi --dmenu --insensitive --prompt 'recent files')" diff --git a/bin/waybar_mediaplayer.py b/bin/waybar_mediaplayer.py index 6a1f61c..91b03fe 100755 --- a/bin/waybar_mediaplayer.py +++ b/bin/waybar_mediaplayer.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# dependencies +# apt install gir1.2-playerctl-2.0 import argparse import logging import sys @@ -11,6 +13,7 @@ from gi.repository import Playerctl, GLib logger = logging.getLogger(__name__) + def write_output(text, player): logger.info('Writing output')