diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-31 18:02:39 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-31 19:56:27 +0200 |
commit | 7482f70769f6dd0084757bde3a3b4d5eef58b28b (patch) | |
tree | 73e0b71aad6f92ff0c43fbc80a0216829232585e /.config | |
parent | 303f89536b6179a1b0a75e003d79d1fd46d0bc60 (diff) |
Better organized startup process and scripts
Diffstat (limited to '.config')
-rwxr-xr-x | .config/X11/xinitrc | 13 | ||||
-rwxr-xr-x | .config/i3/after | 5 | ||||
-rw-r--r-- | .config/i3/config | 12 | ||||
-rw-r--r-- | .config/i3/init | 13 | ||||
-rw-r--r-- | .config/zsh/.zshrc | 2 |
5 files changed, 17 insertions, 28 deletions
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc index c4b828a..b9029c8 100755 --- a/.config/X11/xinitrc +++ b/.config/X11/xinitrc @@ -32,4 +32,15 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then unset f fi -source $HOME/.config/i3/init +clipdel -d ".*" & +clipmenud & +playerctld daemon & +nitrogen --restore & +redshift -l 56:10 & +nm-applet & +unclutter -b & +nextcloud --background & +~/.local/bin/picom-toggle & +~/.local/bin/no-rgb & +~/.local/bin/rate & +exec i3 diff --git a/.config/i3/after b/.config/i3/after deleted file mode 100755 index a2433be..0000000 --- a/.config/i3/after +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -~/.local/bin/no-rgb -xset r rate 300 25 -setxkbmap -option grp:win_space_toggle us,dk diff --git a/.config/i3/config b/.config/i3/config index 3b78957..46e46af 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -16,9 +16,9 @@ bindsym $mod+b exec firefox bindsym $mod+e exec pcmanfm bindsym $mod+f fullscreen toggle bindsym $mod+i exec --no-startup-id polybar-msg cmd toggle -bindsym $mod+Shift+s exec --no-startup-id ~/.local/bin/screenshot -s -bindsym Print exec --no-startup-id ~/.local/bin/screenshot -bindsym $mod+Shift+c exec --no-startup-id ~/.local/bin/picom-toggle +bindsym $mod+Shift+s exec --no-startup-id $HOME/.local/bin/screenshot -s +bindsym Print exec --no-startup-id $HOME/.local/bin/screenshot +bindsym $mod+Shift+c exec --no-startup-id $HOME/.local/bin/picom-toggle bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name} bindsym $alt+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name} @@ -193,8 +193,4 @@ for_window [title="Steam Guard - Computer Authorization Required"] floating enab for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable for_window [title="^Steam Keyboard$"] floating enable -##### Exec -exec --no-startup-id /usr/bin/unclutter -b -exec --no-startup-id ~/.local/bin/polybar-launch -exec --no-startup-id ~/.local/bin/picom-toggle -exec --no-startup-id nextcloud --background +exec_always --no-startup-id $HOME/.local/bin/polybar-launch diff --git a/.config/i3/init b/.config/i3/init deleted file mode 100644 index c65e76b..0000000 --- a/.config/i3/init +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -clipdel -d ".*" -clipmenud & -playerctld daemon & -nitrogen --restore & -redshift -l 56:10 & -nm-applet & -exec i3 & wmpid=$! - -sleep 5 -source $HOME/.config/i3/after -wait $wmpid diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 4dd7d88..51fbf48 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -44,7 +44,7 @@ alias zshrc='vim $XDG_CONFIG_HOME/zsh/.zshrc' alias vimrc='vim $XDG_CONFIG_HOME/vim/vimrc' alias nvimrc='cd $XDG_CONFIG_HOME/nvim;nvim' alias i3config='vim $XDG_CONFIG_HOME/i3/config' -alias startup='vim $XDG_CONFIG_HOME/i3/init' +alias startup='vim $XDG_CONFIG_HOME/X11/xinitrc' function zvm_after_init() { source '/usr/share/fzf/key-bindings.zsh' |