mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 21:26: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
|
## Dockerfile
|
||||||
cat >Dockerfile <<- 'Dockerfile'
|
cat >Dockerfile <<- 'Dockerfile'
|
||||||
# syntax = docker/dockerfile:1.2
|
# syntax = docker/dockerfile:1.2
|
||||||
FROM myvnc/i3:base
|
FROM myvnc/base:i3
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
# Choose a terminal
|
||||||
|
ENV TERMINAL=terminator
|
||||||
|
|
||||||
# install packages
|
# install packages
|
||||||
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
||||||
pacman -Syu --ask 4 --needed \
|
pacman -Syu --ask 4 --needed \
|
||||||
remmina libvncserver terminator openssh \
|
remmina libvncserver \
|
||||||
|
${TERMINAL} \
|
||||||
|
openssh \
|
||||||
&& pacman -Scc --ask 4
|
&& pacman -Scc --ask 4
|
||||||
|
|
||||||
# Tigervnc
|
# Tigervnc
|
||||||
|
|
@ -25,11 +30,11 @@ cat >20-remmina.sh <<- '20-remmina.sh'
|
||||||
# Remmina config
|
# Remmina config
|
||||||
cat >~/.config/i3/config.d/remmina.conf <<- 'remmina.conf'
|
cat >~/.config/i3/config.d/remmina.conf <<- 'remmina.conf'
|
||||||
# Open terminal
|
# 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
|
# Maximize
|
||||||
for_window [class="remmina"] move container to workspace "1"
|
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.conf
|
||||||
|
|
||||||
# Remmina startup
|
# Remmina startup
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue