mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 21:26:21 +00:00
Update kde/10-tigervnc.sh
This commit is contained in:
parent
8f139b8880
commit
48fd20dd0c
1 changed files with 8 additions and 35 deletions
|
|
@ -34,44 +34,17 @@ fi
|
||||||
|
|
||||||
# VNC config
|
# VNC config
|
||||||
cat >~/.vnc/config <<- vncconfig
|
cat >~/.vnc/config <<- vncconfig
|
||||||
session=i3
|
session=plasmax11
|
||||||
geometry=1920x1080
|
geometry=1920x1080
|
||||||
framerate=60
|
framerate=60
|
||||||
depth=32
|
depth=32
|
||||||
${_MYVNC_VNCSHARING}
|
${_MYVNC_VNCSHARING}
|
||||||
vncconfig
|
vncconfig
|
||||||
|
|
||||||
# i3 preferences
|
# Disable KDE screenlock
|
||||||
mkdir -p ~/.config/i3/config.d
|
cat >~/.config/kscreenlockerrc <<- 'kscreenlockerrc'
|
||||||
cat >~/.config/i3/config <<- 'i3config'
|
[Daemon]
|
||||||
# Font
|
Autolock=false
|
||||||
font pango:DejaVu Sans Mono 8
|
LockOnResume=false
|
||||||
|
Timeout=0
|
||||||
# Include custom config
|
kscreenlockerrc
|
||||||
include ~/.config/i3/config.d/*.conf
|
|
||||||
|
|
||||||
# Binds for killing application
|
|
||||||
bindsym Mod1+Mod4+Shift+q kill
|
|
||||||
bindsym Mod1+Mod4+Shift+f fullscreen toggle
|
|
||||||
|
|
||||||
# Binds for cycling workspaces
|
|
||||||
bindsym Mod1+Mod4+Shift+Right workspace next
|
|
||||||
bindsym Mod1+Mod4+Shift+Left workspace prev
|
|
||||||
|
|
||||||
# Locked mode
|
|
||||||
mode locked {
|
|
||||||
bindsym Mod4+Mod1+Escape mode default
|
|
||||||
}
|
|
||||||
bindsym Mod4+Mod1+Escape mode locked
|
|
||||||
|
|
||||||
# Hide bar permanently
|
|
||||||
exec --no-startup-id i3-msg bar mode invisible
|
|
||||||
|
|
||||||
# Always open window in fullscreen
|
|
||||||
for_window [all] fullscreen enable
|
|
||||||
for_window [all] border none
|
|
||||||
default_border none
|
|
||||||
|
|
||||||
# Execute startup script for webapp
|
|
||||||
exec --no-startup-id /bin/bash ~/.config/i3/startapp.sh
|
|
||||||
i3config
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue