Cleanup i3
This commit is contained in:
@@ -11,7 +11,6 @@ export PS1="${HOST} ${DIR}${GIT} ${ICON} "
|
||||
|
||||
# ============================== Aliases
|
||||
alias emacsnw="TERM=xterm-direct emacsclient -c -nw -a 'emacs -nw'"
|
||||
alias s="cd ~/scripts/"
|
||||
alias c='clear'
|
||||
|
||||
alias l='ls -lh' #size,show type,human readable
|
||||
|
||||
@@ -36,6 +36,9 @@ bindsym $mod+Shift+l move right
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# sticky
|
||||
bindsym $mod+s sticky toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+Tab layout toggle stacked split
|
||||
|
||||
@@ -128,10 +131,7 @@ client.unfocused #f2e5bc #f2e5bc #282828 #fbf1c7 #f2e5bc
|
||||
client.urgent #cc241d #fb4934 #282828 #cc241d #fb4934
|
||||
|
||||
# startup
|
||||
exec --no-startup-id "fcitx5 -d &"
|
||||
exec --no-startup-id "nextcloud &"
|
||||
exec --no-startup-id "nm-applet &"
|
||||
exec --no-startup-id "dunst &"
|
||||
exec --no-startup-id $HOME/scripts/start_progs.sh
|
||||
|
||||
# set screens
|
||||
exec --no-startup-id $HOME/.screenlayout/layout.sh
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! "$1" ]; then
|
||||
echo "No device ID given ..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
xinput --set-prop $1 'libinput Accel Profile Enabled' 0, 1
|
||||
@@ -6,14 +6,10 @@ else
|
||||
pic=$HOME/data/nextcloud/wallpaper/lock169.png
|
||||
fi
|
||||
|
||||
if [ $USER == "marc" ];then
|
||||
i3lock --nofork \
|
||||
-i ${pic} \
|
||||
--inside-color=#373445ff --ring-color=ffffffff --line-uses-inside \
|
||||
--keyhl-color=d23c3dff --bshl-color=d23c3dff --separator-color=00000000 \
|
||||
--insidever-color=fecf4dff --insidewrong-color=d23c3dff \
|
||||
--ringver-color=ffffffff --ringwrong-color=ffffffff --ind-pos="x+86:y+86" \
|
||||
--radius=15 --verif-text="" --wrong-text="" --noinput-text=""
|
||||
else
|
||||
$HOME/scripts/lock-work.sh
|
||||
fi
|
||||
i3lock --nofork \
|
||||
-i ${pic} \
|
||||
--inside-color=#373445ff --ring-color=ffffffff --line-uses-inside \
|
||||
--keyhl-color=d23c3dff --bshl-color=d23c3dff --separator-color=00000000 \
|
||||
--insidever-color=fecf4dff --insidewrong-color=d23c3dff \
|
||||
--ringver-color=ffffffff --ringwrong-color=ffffffff --ind-pos="x+86:y+86" \
|
||||
--radius=15 --verif-text="" --wrong-text="" --noinput-text=""
|
||||
|
||||
6
files/scripts/start_progs.sh
Executable file
6
files/scripts/start_progs.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
fcitx5 -d &
|
||||
nextcloud &
|
||||
nm-applet &
|
||||
dunst &
|
||||
Reference in New Issue
Block a user