aboutsummaryrefslogtreecommitdiff
path: root/.config/swayrbar/scripts/idle-status
blob: 9420e64ae39193636c80acb8863508349178834d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env sh
pid_file="/tmp/wayland-idle-inhibitor-$(id --user).pid"
pid=$(cat "${pid_file}")
if [ -n "${pid}" ] && kill -0 "${pid}"
then
       echo -n " "
else
       echo -n " "
fi
onfigs and keybindsLuca Matei Pintilie3-15/+113 2022-09-10Neovim wrap cursor at the end of lineLuca Matei Pintilie1-0/+2 2022-09-08New neovim configLuca Matei Pintilie8-362/+355 2022-09-08Add i3Luca Matei Pintilie3-0/+293 2022-08-14Add more configs for wezterm, swappy, electron and git, as well as a better ↵Luca Matei Pintilie8-34/+206 neovim config 2022-07-01Sway changes and disable annoying neovim pluginLuca Matei Pintilie3-4/+8 Removed the keyboard layout from waybar as it was incorect on single layout keyboards And use slurp for screenshots for editting 2022-06-21Thinkpad gentoo settings addedLuca Matei Pintilie1-2/+5 2022-06-21Update sway configAnInternetTroll1-0/+6 2022-06-05Minor updatesAnInternetTroll5-10/+35 2022-05-21Add dracula themed xresources to .configAnInternetTroll2-1/+55 2022-05-21Add bspwm and configure sway a bit moreAnInternetTroll7-11/+665 2022-05-18Remove action button from the wofi commandAnInternetTroll1-1/+1 2022-05-18Use footAnInternetTroll2-0/+189 2022-05-18Remove foot draculaAnInternetTroll2-4/+1