This website works better with JavaScript.
首頁
探索
說明
註冊
登入
ka
/
ansible-role-home
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
vnc server config
timer
Markus Katharina Brechtel
3 年之前
父節點
457366832b
當前提交
77e7a62186
共有
3 個文件被更改
,包括
11 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
files/bin/on-space-shortcut
+6
-0
tasks/vnc.yaml
+4
-0
templates/vnc/vnc.conf.j2
+ 1
- 1
files/bin/on-space-shortcut
查看文件
@@ -4,5 +4,5 @@ set ws (i3-msg -t get_workspaces | jq --raw-output '.[]|select(.focused == true)
set script ~/.workspaces/$ws.space
if type -q $script
$script
systemctl --user restart workspace-app@$ws.service
end
+ 6
- 0
tasks/vnc.yaml
查看文件
@@ -6,6 +6,12 @@
state: directory
mode: 0700
- name: vnc server config
template:
src: vnc/vnc.conf.j2
dest: ~/.vnc/vnc.conf
mode: 0644
- name: vnc passwd
copy:
content: "{{ lookup('pipe','pwgen 24 1' )}}"
+ 4
- 0
templates/vnc/vnc.conf.j2
查看文件
@@ -0,0 +1,4 @@
{{ ansible_managed | comment }}
$desktopName = "{{inventory_hostname}}$ENV{DISPLAY}";
$geometry = "1920x1200";