This website works better with JavaScript.
首頁
探索
說明
註冊
登入
ka
/
ansible-role-display_manager
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
mainentance xbindkeys
master
Markus Katharina Brechtel
7 年之前
父節點
6ca1fd433c
當前提交
1c0c8e8065
共有
3 個文件被更改
,包括
13 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
tasks/mainentance.yml
+1
-0
templates/mainentance-xsession.sh.j2
+6
-0
templates/mainentance.xbindkeys.j2
+ 6
- 0
tasks/mainentance.yml
查看文件
@@ -26,3 +26,9 @@
dest: /usr/local/share/mainentance/xsession
mode: u=rwx,g=rx,o=rx
notify: restart lightdm
- name: mainentance xbindkeys
template:
src: mainentance.xbindkeys.j2
dest: /usr/local/share/mainentance/xbindkeys
notify: restart lightdm
+ 1
- 0
templates/mainentance-xsession.sh.j2
查看文件
@@ -2,4 +2,5 @@
{{ ansible_managed | comment }}
xset -dpms
xset s off
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}}"
+ 6
- 0
templates/mainentance.xbindkeys.j2
查看文件
@@ -0,0 +1,6 @@
"dm-tool switch-to-greeter"
Mod4 + Escape
"systemctl reboot"
Mod4 + r
"systemctl poweroff"
Mod4 + p
Write
Preview
Loading…
取消
儲存