sway: minor updates
This commit is contained in:
parent
052ed0a192
commit
a55965ddcd
3 changed files with 5 additions and 2 deletions
|
@ -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" \
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue