From ec1820547294fe6f9351177987a1815f84325fe1 Mon Sep 17 00:00:00 2001 From: rileyrg Date: Tue, 5 Dec 2023 05:21:10 +0100 Subject: [PATCH] remove xhost --- README.md | 70 +++++------------------------------------- dot-config/sway/config | 5 ++- dot-config/zsh/.zshrc | 2 +- linux-config.org | 6 ++-- 4 files changed, 14 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index 1b17e1a..49694b3 100644 --- a/README.md +++ b/README.md @@ -312,7 +312,7 @@ see [/usr/share/doc/gnupg/examples](file:///usr/share/doc/gnupg/examples) [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \ source "$EAT_SHELL_INTEGRATION_DIR/zsh" - xhost +local: > /dev/null + # xhost +local > /dev/null 2>&1 chuck @@ -544,14 +544,9 @@ Override in .profile.local # https://babushk.in/posts/renew-environment-tmux.html -\*\* - ## ~/.Xresources - -### resource file - X11 apps still need resource definitions when launched under XWayland. ! Use a truetype font and size. @@ -583,54 +578,6 @@ X11 apps still need resource definitions when launched under XWayland. ! }}} -## Building from source - - -### wayland - - mkdir -p ${HOME}/development/projects/wayland/clones - export WLD=${HOME}/development/projects/wayland - export LD_LIBRARY_PATH=$WLD/lib - export PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/ - export PATH=$WLD/bin:$PATH - - cd ${HOME}/development/projects/wayland/clones - - git clone https://gitlab.freedesktop.org/wayland/wayland.git - cd wayland - meson build/ --prefix=$WLD - ninja -C build/ install - cd .. - - git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git - cd wayland-protocols - meson build/ --prefix=$WLD - ninja -C build/ install - cd .. - - git clone https://gitlab.freedesktop.org/wayland/weston.git - cd weston - meson build/ --prefix=$WLD -Dbackend-wayland=true -Dcolor-management-colord=false -Dremoting=false - ninja -C build/ install - cd .. - - -### sway - - # Clone repositories - - git clone git@github.com:swaywm/sway.git - cd sway - git clone git@github.com:swaywm/wlroots.git subprojects/wlroots - - # Build sway and wlroots - meson build/ - ninja -C build/ - - # Start sway - build/sway/sway - - ## Sway config @@ -831,9 +778,9 @@ I want a key to create and then toggle a terminal. bindsym $mod+Shift+Right move right # split in horizontal orientation - bindsym $mod+h split h + bindsym $mod+h splith # split in vertical orientation - bindsym $mod+v split v + bindsym $mod+v splitv # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle @@ -1105,7 +1052,6 @@ I want a key to create and then toggle a terminal. # bindsym $mod+Shift+f exec sway-do-tool "Google-chrome" "sway-www" bindsym $mod+Shift+f exec "sway-www" bindsym $mod+Shift+a exec sway-do-tool "android-studio" "studio.sh" - bindsym $mod+Shift+b exec oneterminal "Process-Monitor-bpytop" bpytop bindsym $mod+Control+c exec conky #bindsym $mod+Control+s exec sway-do-tool "Signal" "signal-desktop" bindsym $mod+Control+Shift+s exec sway-do-tool "Steam" "steam" @@ -2030,7 +1976,7 @@ but in both cases we check if it exists in the sway tree, and, if not, set it it notify-send -t 3000 "${@}" || true - + ### ~/bin/sway/sway-screen @@ -2076,7 +2022,7 @@ See + ### Examples: @@ -3584,7 +3530,7 @@ update sw ## XMG Neo 15 Specifics -### ~/bin/xmg-neo-rgb-kbd-lights +### ~/bin/x-archive/xmg-neo-rgb-kbd-lights See [XMGNeo 15 keyboard backlight controller](https://github.com/pobrn/ite8291r3-ctl) for the controller code. diff --git a/dot-config/sway/config b/dot-config/sway/config index 1657f48..c4de6f6 100644 --- a/dot-config/sway/config +++ b/dot-config/sway/config @@ -107,9 +107,9 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation -bindsym $mod+h split h +bindsym $mod+h splith # split in vertical orientation -bindsym $mod+v split v +bindsym $mod+v splitv # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle @@ -272,7 +272,6 @@ bindsym Print exec sway-screenshot -i # bindsym $mod+Shift+f exec sway-do-tool "Google-chrome" "sway-www" bindsym $mod+Shift+f exec "sway-www" bindsym $mod+Shift+a exec sway-do-tool "android-studio" "studio.sh" -bindsym $mod+Shift+b exec oneterminal "Process-Monitor-bpytop" bpytop bindsym $mod+Control+c exec conky #bindsym $mod+Control+s exec sway-do-tool "Signal" "signal-desktop" bindsym $mod+Control+Shift+s exec sway-do-tool "Steam" "steam" diff --git a/dot-config/zsh/.zshrc b/dot-config/zsh/.zshrc index 6175bd3..2097353 100755 --- a/dot-config/zsh/.zshrc +++ b/dot-config/zsh/.zshrc @@ -123,7 +123,7 @@ DEFAULT_USER=$USER [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \ source "$EAT_SHELL_INTEGRATION_DIR/zsh" -xhost +local: > /dev/null +# xhost +local > /dev/null 2>&1 chuck # if pgrep -x "sway" > /dev/null diff --git a/linux-config.org b/linux-config.org index 83f1fd9..7f25a53 100644 --- a/linux-config.org +++ b/linux-config.org @@ -921,7 +921,7 @@ see [[file:/usr/share/doc/gnupg/examples][/usr/share/doc/gnupg/examples]] [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \ source "$EAT_SHELL_INTEGRATION_DIR/zsh" - xhost +local: > /dev/null + # xhost +local > /dev/null 2>&1 chuck #+end_src @@ -1571,9 +1571,9 @@ I want a key to create and then toggle a terminal. bindsym $mod+Shift+Right move right # split in horizontal orientation - bindsym $mod+h split h + bindsym $mod+h splith # split in vertical orientation - bindsym $mod+v split v + bindsym $mod+v splitv # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle