diff options
-rw-r--r-- | .config/env | 2 | ||||
-rw-r--r-- | .config/x11/xresources | 2 | ||||
-rwxr-xr-x | .local/bin/debmnt | 17 | ||||
-rwxr-xr-x | .local/bin/debumnt | 10 | ||||
-rwxr-xr-x | .local/bin/scrhome | 2 |
5 files changed, 31 insertions, 2 deletions
diff --git a/.config/env b/.config/env index eb4ea63..9806499 100644 --- a/.config/env +++ b/.config/env @@ -74,7 +74,7 @@ export CCACHE_LOGFILE='/var/log/ccache.log' # Apps config export FZF_DEFAULT_COMMAND='ag -g "" --ignore dotfiles-bsd' export FZF_DEFAULT_OPTS='--height 60% --layout=reverse --border=left --tabstop=4' -export LESS="-R" +export LESS="-R -c" export LESSHISTFILE='-' export MANPAGER="less -R -M +Gg" export MPD_HOST="$HOME"/.local/share/mpd/socket diff --git a/.config/x11/xresources b/.config/x11/xresources index 78a2ef2..6c5c036 100644 --- a/.config/x11/xresources +++ b/.config/x11/xresources @@ -10,3 +10,5 @@ Xcursor.size: 18 Nsxiv.window.background: #1d2021 Nsxiv.window.foreground: #ebdbb2 Nsxiv.bar.font: UbuntuMono Nerd Font-11 +Vncviewer.grabKeyboard: true +Vncviewer.FullScreen: 1 diff --git a/.local/bin/debmnt b/.local/bin/debmnt new file mode 100755 index 0000000..2928194 --- /dev/null +++ b/.local/bin/debmnt @@ -0,0 +1,17 @@ +#!/bin/sh + +echo "devfs /compat/debian/dev devfs rw 0 0" >> /etc/fstab +echo "fdescfs /compat/debian/dev/fd fdescfs rw,linrdlnk 0 1" >> /etc/fstab +echo "linsys /compat/debian/sys linsysfs rw 0 0" >> /etc/fstab +echo "linproc /compat/debian/proc linprocfs rw 0 0" >> /etc/fstab + +mount /compat/debian/dev +mount /compat/debian/dev/fd +mount /compat/debian/proc +mount /compat/debian/sys + +sysctl compat.linux.osrelease=4.19.0 +kldload linux +kldload linux64 + +chroot /compat/debian /bin/bash diff --git a/.local/bin/debumnt b/.local/bin/debumnt new file mode 100755 index 0000000..ad592b7 --- /dev/null +++ b/.local/bin/debumnt @@ -0,0 +1,10 @@ +#!/bin/sh + +umount /compat/debian/dev +umount /compat/debian/dev/fd +umount /compat/debian/proc +umount /compat/debian/sys + +sed -i '' '/debian/d' /etc/fstab + +kldunload linux diff --git a/.local/bin/scrhome b/.local/bin/scrhome index 492395d..0b406e3 100755 --- a/.local/bin/scrhome +++ b/.local/bin/scrhome @@ -47,7 +47,7 @@ xrandr --output LVDS-1 --off xrandr --output HDMI-1 --off xrandr --output VGA-1 --off -# xrandr --output LVDS-1 --mode 1366x768 --pos 1920x657 --rotate normal +#xrandr --output LVDS-1 --mode 1366x768 --pos 1920x657 --rotate normal xrandr \ --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal \ --output VGA-1 --mode 1440x900 --pos 1920x0 --rotate normal \ |