From fe59dfbf51da65608a3f8d9be73e6dc49224e6fd Mon Sep 17 00:00:00 2001 From: DustVoice Date: Sun, 6 Feb 2022 13:23:13 +0100 Subject: [PATCH] Correct mistakes making Hyper-V work correctly --- .config/alacritty/alacritty.yml | 12 ++++++------ .xinitrc | 4 ++++ .zshenv | 2 ++ 3 files changed, 12 insertions(+), 6 deletions(-) mode change 100644 => 100755 .xinitrc mode change 100644 => 100755 .zshenv diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index dcd5209d..cd6e7eed 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -93,6 +93,12 @@ window: # and `light`. Set this to `None` to use the default theme variant. #gtk_theme_variant: None + # Background opacity + # + # Window opacity as a floating point number from `0.0` to `1.0`. + # The value `0.0` is completely transparent and `1.0` is opaque. + opacity: 1.0 + scrolling: # Maximum number of lines in the scrollback buffer. # Specifying '0' will disable scrolling. @@ -356,12 +362,6 @@ colors: # #command: None -# Background opacity -# -# Window opacity as a floating point number from `0.0` to `1.0`. -# The value `0.0` is completely transparent and `1.0` is opaque. -background_opacity: 1.0 - #selection: # This string contains all characters that are used as separators for # "semantic words" in Alacritty. diff --git a/.xinitrc b/.xinitrc old mode 100644 new mode 100755 index 7f483967..48c80b87 --- a/.xinitrc +++ b/.xinitrc @@ -3,6 +3,7 @@ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap +env=$HOME/.zshenv if [ -f $sysresources ]; then xrdb -merge $sysresources @@ -20,6 +21,9 @@ if [ -f $usermodmap ]; then xmodmap $usermodmap fi +if [ -x "$env" ]; then + . "$env" +fi if [ -d /etc/X11/xinit/xinitrc.d ] ; then for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do diff --git a/.zshenv b/.zshenv old mode 100644 new mode 100755 index d6173991..ee613bee --- a/.zshenv +++ b/.zshenv @@ -1,3 +1,5 @@ +#!/usr/bin/env zsh + typeset -TUx PATH path typeset -TUx LD_LIBRARY_PATH ld_library_path