mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 19:46:20 +00:00
Update remmina.sh
This commit is contained in:
parent
51c8190827
commit
6b29dbb54f
1 changed files with 9 additions and 4 deletions
13
remmina.sh
13
remmina.sh
|
|
@ -1,13 +1,18 @@
|
|||
## Dockerfile
|
||||
cat >Dockerfile <<- 'Dockerfile'
|
||||
# syntax = docker/dockerfile:1.2
|
||||
FROM myvnc/i3:base
|
||||
FROM myvnc/base:i3
|
||||
USER root
|
||||
|
||||
# Choose a terminal
|
||||
ENV TERMINAL=terminator
|
||||
|
||||
# install packages
|
||||
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
||||
pacman -Syu --ask 4 --needed \
|
||||
remmina libvncserver terminator openssh \
|
||||
remmina libvncserver \
|
||||
${TERMINAL} \
|
||||
openssh \
|
||||
&& pacman -Scc --ask 4
|
||||
|
||||
# Tigervnc
|
||||
|
|
@ -25,11 +30,11 @@ cat >20-remmina.sh <<- '20-remmina.sh'
|
|||
# Remmina config
|
||||
cat >~/.config/i3/config.d/remmina.conf <<- 'remmina.conf'
|
||||
# Open terminal
|
||||
exec --no-startup-id i3-msg 'workspace "2"; exec /usr/bin/terminator'
|
||||
exec --no-startup-id i3-msg 'workspace "2"; exec /usr/bin/${TERMINAL}'
|
||||
|
||||
# Maximize
|
||||
for_window [class="remmina"] move container to workspace "1"
|
||||
for_window [class="terminator"] move container to workspace "2"
|
||||
for_window [class="${TERMINAL}"] move container to workspace "2"
|
||||
remmina.conf
|
||||
|
||||
# Remmina startup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue