Make use of i3 new "daemon" mode

This commit is contained in:
Geoffrey Frogeye 2022-11-20 14:00:57 +01:00
parent 2c1fbf3f4a
commit dfee5340c4
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 5 additions and 2 deletions

View file

@ -50,7 +50,7 @@ bindsym $mod+Shift+d exec --no-startup-id rofi -modi drun -show drun
# Start Applications # Start Applications
# bindsym $mod+Return exec urxvtc # bindsym $mod+Return exec urxvtc
bindsym $mod+Return exec alacritty -e zsh bindsym $mod+Return exec ~/.config/i3/terminal
bindsym $mod+Shift+Return exec urxvt bindsym $mod+Shift+Return exec urxvt
bindsym $mod+p exec thunar bindsym $mod+p exec thunar
bindsym $mod+m exec qutebrowser --override-restore --backend=webengine bindsym $mod+m exec qutebrowser --override-restore --backend=webengine

3
config/i3/terminal Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
alacritty msg create-window || exec alacritty -e zsh

View file

@ -31,7 +31,7 @@ alias please=sudo
alias ll="ls -l" alias ll="ls -l"
alias la="ls -la" alias la="ls -la"
alias s='sudo -s -E' alias s='sudo -s -E'
alias n='alacritty & disown' alias n='$HOME/.config/i3/terminal & disown'
alias x='startx $HOME/.config/xinitrc; logout' alias x='startx $HOME/.config/xinitrc; logout'
alias nx='nvidia-xrun $HOME/.config/xinitrc; sudo systemctl start nvidia-xrun-pm; logout' alias nx='nvidia-xrun $HOME/.config/xinitrc; sudo systemctl start nvidia-xrun-pm; logout'