소스 검색

changes in mainentance mode

master
부모
커밋
c1d154886d
3개의 변경된 파일7개의 추가작업 그리고 5개의 파일을 삭제
  1. +2
    -1
      tasks/main.yml
  2. +1
    -0
      templates/mainentance-xsession.sh.j2
  3. +4
    -4
      templates/mainentance.xbindkeys.j2

+ 2
- 1
tasks/main.yml 파일 보기

@@ -21,9 +21,10 @@
- x11-xserver-utils - x11-xserver-utils
- lightdm - lightdm
- lightdm-gtk-greeter - lightdm-gtk-greeter
- onboard
- yad - yad
- xbindkeys - xbindkeys
- onboard
- feh
notify: restart lightdm notify: restart lightdm


- include: mainentance.yml - include: mainentance.yml


+ 1
- 0
templates/mainentance-xsession.sh.j2 파일 보기

@@ -2,5 +2,6 @@
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
xset -dpms xset -dpms
xset s off xset s off
feh --bg-scale "{{display_manager_background_image_path}}"
xbindkeys -f /usr/local/share/mainentance/xbindkeys & xbindkeys -f /usr/local/share/mainentance/xbindkeys &
exec yad --no-buttons --no-escape --image-on-top --center --borders 50 --image="{{display_manager_mainentance_icon}}" --text="{{display_manager_mainentance_text}}" exec yad --no-buttons --no-escape --image-on-top --center --borders 50 --image="{{display_manager_mainentance_icon}}" --text="{{display_manager_mainentance_text}}"

+ 4
- 4
templates/mainentance.xbindkeys.j2 파일 보기

@@ -1,6 +1,6 @@
"dm-tool switch-to-greeter"
Mod4 + Escape
# "dm-tool switch-to-greeter"
# Mod4 + Escape
"systemctl reboot" "systemctl reboot"
Mod4 + r
Control + r
"systemctl poweroff" "systemctl poweroff"
Mod4 + p
Control + p

불러오는 중...
취소
저장