add modular bashrc
This commit is contained in:
parent
3391f67080
commit
04aba0d670
16 changed files with 49 additions and 21 deletions
|
@ -2,4 +2,4 @@
|
|||
|
||||
SCREEN_RESOLUTION="$(xdpyinfo | grep dimensions | cut -d' ' -f7)"
|
||||
BGCOLOR="000000"
|
||||
convert "/home/pim/Pictures/wallpapers/orphans.png" -gravity Center -background \#$BGCOLOR -resize "$SCREEN_RESOLUTION" RGB:- | i3lock --raw "$SCREEN_RESOLUTION":rgb -c $BGCOLOR -i /dev/stdin --nofork
|
||||
convert "/home/pim/Pictures/wallpapers/orphans.png" -gravity Center -background \#$BGCOLOR -resize "$SCREEN_RESOLUTION" RGB:- | i3lock --raw "$SCREEN_RESOLUTION":rgb -c $BGCOLOR -i /dev/stdin
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
- rofi
|
||||
- nitrogen
|
||||
- xss-lock
|
||||
- arandr
|
||||
- autorandr
|
||||
- name: Create i3 config directory
|
||||
file:
|
||||
path: ~/.config/i3
|
||||
|
@ -37,3 +39,11 @@
|
|||
copy:
|
||||
src: "{{ role_path }}/files/bg-saved.cfg"
|
||||
dest: ~/.config/nitrogen/bg-saved.cfg
|
||||
- name: Handle lid close
|
||||
become: true
|
||||
ini_file:
|
||||
path: /etc/systemd/logind.conf
|
||||
section: Login
|
||||
option: HandleLidSwitch
|
||||
value: suspend
|
||||
no_extra_spaces: true
|
||||
|
|
Reference in a new issue