Skip to content
Snippets Groups Projects
Commit 30c6ba47 authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

I3 Add merging files.

parent 37746b8b
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ bindsym $mod+Ctrl+0 move container to workspace 10; workspace 10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
bindsym $mod+Shift+r exec "cat ~/.config/i3/config.* > ~/.config/i3/config "; restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
bindsym $mod+Shift+s exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to shutdown i3?' -b 'Yes, exit i3' 'shutdown 0'"
......
......@@ -2,11 +2,15 @@
cd "$(dirname "$0")"
mkdir -p ~/.config/i3
ln -sr config ~/.config/i3/config
ln -sr config.global ~/.config/i3/config
ln -sr toggle-border ~/.config/i3/i3-toggle-border
ln -sr kill ~/.config/i3/i3-kill
ln -sr i3status.conf ~/.config/i3/
chmod o+x ~/.config/i3/i3-*
cat >~/.xinitrc <<EOF
cat ~/.config/i3/config.* > ~/.config/i3/config
exec i3
EOF
g++ status.cpp -o ~/.config/i3/status.out
if [ "$1" == "mint" ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment