add blueman

This commit is contained in:
Cyryl Płotnicki 2019-07-18 18:49:12 +01:00
parent 82247dd243
commit 21e6ea77f5
3 changed files with 5 additions and 10 deletions

12
lock.sh
View file

@ -5,12 +5,6 @@ export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')"
xidlehook \ xidlehook \
--not-when-fullscreen \ --not-when-fullscreen \
--not-when-audio \ --not-when-audio \
--timer normal 60 \ --timer normal 180 'xrandr --output "$PRIMARY_DISPLAY" --brightness .1' 'xrandr --output "$PRIMARY_DISPLAY" --brightness 1' \
'xrandr --output "$PRIMARY_DISPLAY" --brightness .1' \ --timer primary 10 'xrandr --output "$PRIMARY_DISPLAY" --brightness 1; physlock -d' \
'xrandr --output "$PRIMARY_DISPLAY" --brightness 1' \ --timer normal 600 'systemctl suspend'
--timer primary 10 \
'xrandr --output "$PRIMARY_DISPLAY" --brightness 1; physlock -d' \
'' \
--timer normal 600 \
'systemctl suspend' \
''

View file

@ -13,7 +13,7 @@ in
}; };
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
wirelesstools ranger xpdf apvlv unstable.xidlehook wirelesstools ranger xpdf apvlv unstable.xidlehook blueman
keepass fontconfig nodejs rustup gcc gdb keepass fontconfig nodejs rustup gcc gdb
binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy
openjdk11 gimp restic glxinfo discord openjdk11 gimp restic glxinfo discord

View file

@ -17,6 +17,7 @@ in
{ command = "exec autorandr -c"; always = true; notification = false; } { command = "exec autorandr -c"; always = true; notification = false; }
{ command = "exec i3-sensible-terminal"; always = false; notification = false; } { command = "exec i3-sensible-terminal"; always = false; notification = false; }
{ command = "exec $HOME/dev/dotfiles/lock.sh"; always = false; notification = false; } { command = "exec $HOME/dev/dotfiles/lock.sh"; always = false; notification = false; }
{ command = "exec blueman-applet"; always = false; notification = false; }
]; ];
window = { window = {
hideEdgeBorders = "horizontal"; hideEdgeBorders = "horizontal";