kde plasma compatibility
This commit is contained in:
parent
6c176db8f3
commit
3a25743c9b
@ -61,7 +61,7 @@ for e in \
|
|||||||
"local.$(hostnamectl --static).secret" \
|
"local.$(hostnamectl --static).secret" \
|
||||||
"local.$(hostnamectl --static)" \
|
"local.$(hostnamectl --static)" \
|
||||||
"local"
|
"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
|
# z
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
|
set $alt Mod1
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
font pango:DejaVuSansMono Nerd Font 20
|
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 $mod+Shift+e exec $UTILS logout
|
||||||
|
bindsym Control+$alt+Delete exit
|
||||||
bindsym $mod+Shift+r restart
|
bindsym $mod+Shift+r restart
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
@ -36,7 +36,8 @@ $DOTWRYN/config/scwrypts/vundle.zsh scwrypts/vundle.zsh
|
|||||||
$DOTWRYN/config/tmux.conf tmux/tmux.conf
|
$DOTWRYN/config/tmux.conf tmux/tmux.conf
|
||||||
$DOTWRYN/config/xcompose.conf X11/xcompose
|
$DOTWRYN/config/xcompose.conf X11/xcompose
|
||||||
$DOTWRYN/config/xconfig.conf X11/xconfig
|
$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/scwrypts ../.local/bin/scwrypts
|
||||||
$DOTWRYN/bin/vim ../.local/bin/vim
|
$DOTWRYN/bin/vim ../.local/bin/vim
|
||||||
$DOTWRYN/bin/$(hostnamectl --static) ../.$(hostnamectl --static)
|
$DOTWRYN/bin/$(hostnamectl --static) ../.$(hostnamectl --static)
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
source "$HOME/.config/wryn/env.zsh"
|
|
||||||
|
|
||||||
export PATH="$DOTWRYN/bin/$(hostnamectl --static):$PATH"
|
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
|
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
10
config/xinitrc.i3
Normal 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
7
config/xinitrc.kde
Normal 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
|
11
zsh/alias
11
zsh/alias
@ -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'
|
alias erg='EDIT_RIPGREP_FILE_MATCHES'
|
||||||
EDIT_RIPGREP_FILE_MATCHES() { $EDITOR $(rg --color=never -l $@); }
|
EDIT_RIPGREP_FILE_MATCHES() { $EDITOR $(rg --color=never -l $@); }
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user