kde plasma compatibility

This commit is contained in:
Wryn (yage) Wagner 2022-11-28 16:01:50 -07:00
parent 6c176db8f3
commit 3a25743c9b
7 changed files with 35 additions and 11 deletions

View File

@ -61,7 +61,7 @@ for e in \
"local.$(hostnamectl --static).secret" \
"local.$(hostnamectl --static)" \
"local"
do; export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/env/$e" ] && break; done
do export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/env/$e" ] && break; done
# z

View File

@ -2,6 +2,7 @@
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $alt Mod1
set $mod Mod4
font pango:DejaVuSansMono Nerd Font 20
@ -131,6 +132,7 @@ bindsym $mod+x [class=$TERMINAL_EMULATOR_CLASSES] scratchpad show
################################################################################
bindsym $mod+Shift+e exec $UTILS logout
bindsym Control+$alt+Delete exit
bindsym $mod+Shift+r restart
bindsym $mod+Shift+c reload

View File

@ -36,7 +36,8 @@ $DOTWRYN/config/scwrypts/vundle.zsh scwrypts/vundle.zsh
$DOTWRYN/config/tmux.conf tmux/tmux.conf
$DOTWRYN/config/xcompose.conf X11/xcompose
$DOTWRYN/config/xconfig.conf X11/xconfig
$DOTWRYN/config/xinitrc X11/xinitrc
$DOTWRYN/config/xinitrc.i3 X11/xinitrc
$DOTWRYN/config/xinitrc.i3 ../.xinitrc
$DOTWRYN/bin/scwrypts ../.local/bin/scwrypts
$DOTWRYN/bin/vim ../.local/bin/vim
$DOTWRYN/bin/$(hostnamectl --static) ../.$(hostnamectl --static)

View File

@ -1,12 +1,7 @@
#!/bin/zsh
source "$HOME/.config/wryn/env.zsh"
export PATH="$DOTWRYN/bin/$(hostnamectl --static):$PATH"
command -v kitty >/dev/null 2>&1 \
&& export TERMINAL=$(which kitty)
for SCRIPT in $(find /etc/x11/xinit/xinitrc.d); do source $SCRIPT; done
command -v dex && dex -a
$DOTWRYN/bin/xorg-activate-default &
cd
exec i3

10
config/xinitrc.i3 Normal file
View File

@ -0,0 +1,10 @@
#!/bin/zsh
source "$HOME/.config/wryn/env.zsh"
source "$DOTWRYN/config/xinitrc.common"
command -v dex && dex -a
$DOTWRYN/bin/xorg-activate-default &
cd
export DESKTOP_SESSION=i3wm
exec i3

7
config/xinitrc.kde Normal file
View File

@ -0,0 +1,7 @@
#!/bin/zsh
source "$HOME/.config/wryn/env.zsh"
source "$DOTWRYN/config/xinitrc.common"
export DESKTOP_SESSION=plasma
unset DIRECTUS_CLOUD_SCRIPTS_ENV_SHORTCUT
exec startplasma-x11

View File

@ -16,9 +16,18 @@ alias w='watch -tn1 '
#####################################################################
command -v bat >/dev/null 2>&1 && alias cat='bat --style="plain"'
command -v bat >/dev/null 2>&1 \
&& alias cat='bat --style="plain"'
command -v startplasma-x11 >/dev/null 2>&1 \
&& alias startk="startx '$DOTWRYN/config/xinitrc.kde'"
command -v i3 >/dev/null 2>&1 \
&& alias starti="startx '$DOTWRYN/config/xinitrc.i3'"
#####################################################################
alias erg='EDIT_RIPGREP_FILE_MATCHES'
EDIT_RIPGREP_FILE_MATCHES() { $EDITOR $(rg --color=never -l $@); }
#####################################################################