Cleanup i3
This commit is contained in:
@@ -11,7 +11,6 @@ export PS1="${HOST} ${DIR}${GIT} ${ICON} "
|
|||||||
|
|
||||||
# ============================== Aliases
|
# ============================== Aliases
|
||||||
alias emacsnw="TERM=xterm-direct emacsclient -c -nw -a 'emacs -nw'"
|
alias emacsnw="TERM=xterm-direct emacsclient -c -nw -a 'emacs -nw'"
|
||||||
alias s="cd ~/scripts/"
|
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
|
|
||||||
alias l='ls -lh' #size,show type,human readable
|
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
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
# sticky
|
||||||
|
bindsym $mod+s sticky toggle
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
bindsym $mod+Tab layout toggle stacked 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
|
client.urgent #cc241d #fb4934 #282828 #cc241d #fb4934
|
||||||
|
|
||||||
# startup
|
# startup
|
||||||
exec --no-startup-id "fcitx5 -d &"
|
exec --no-startup-id $HOME/scripts/start_progs.sh
|
||||||
exec --no-startup-id "nextcloud &"
|
|
||||||
exec --no-startup-id "nm-applet &"
|
|
||||||
exec --no-startup-id "dunst &"
|
|
||||||
|
|
||||||
# set screens
|
# set screens
|
||||||
exec --no-startup-id $HOME/.screenlayout/layout.sh
|
exec --no-startup-id $HOME/.screenlayout/layout.sh
|
||||||
@@ -140,4 +140,4 @@ exec --no-startup-id $HOME/.screenlayout/layout.sh
|
|||||||
exec --no-startup-id $HOME/scripts/wallpaper.sh
|
exec --no-startup-id $HOME/scripts/wallpaper.sh
|
||||||
|
|
||||||
# set X things
|
# set X things
|
||||||
exec --no-startup-id "xrdb -merge $HOME/.Xresources"
|
exec --no-startup-id "xrdb -merge $HOME/.Xresources"
|
||||||
|
|||||||
@@ -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
|
pic=$HOME/data/nextcloud/wallpaper/lock169.png
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $USER == "marc" ];then
|
i3lock --nofork \
|
||||||
i3lock --nofork \
|
-i ${pic} \
|
||||||
-i ${pic} \
|
--inside-color=#373445ff --ring-color=ffffffff --line-uses-inside \
|
||||||
--inside-color=#373445ff --ring-color=ffffffff --line-uses-inside \
|
--keyhl-color=d23c3dff --bshl-color=d23c3dff --separator-color=00000000 \
|
||||||
--keyhl-color=d23c3dff --bshl-color=d23c3dff --separator-color=00000000 \
|
--insidever-color=fecf4dff --insidewrong-color=d23c3dff \
|
||||||
--insidever-color=fecf4dff --insidewrong-color=d23c3dff \
|
--ringver-color=ffffffff --ringwrong-color=ffffffff --ind-pos="x+86:y+86" \
|
||||||
--ringver-color=ffffffff --ringwrong-color=ffffffff --ind-pos="x+86:y+86" \
|
--radius=15 --verif-text="" --wrong-text="" --noinput-text=""
|
||||||
--radius=15 --verif-text="" --wrong-text="" --noinput-text=""
|
|
||||||
else
|
|
||||||
$HOME/scripts/lock-work.sh
|
|
||||||
fi
|
|
||||||
|
|||||||
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