4 changed files with 87 additions and 163 deletions
@ -1,89 +1,17 @@ |
|||||
# This file has been auto-generated by i3-config-wizard(1). |
############################################### |
||||
# It will not be overwritten, so edit it as you like. |
# i3 config file (v4) # |
||||
# |
# Manual https://i3wm.org/docs/userguide.html # |
||||
# Should you change your keyboard layout some time, delete |
############################################### |
||||
# this file and re-run i3-config-wizard(1). |
|
||||
# |
|
||||
|
|
||||
# i3 config file (v4) |
|
||||
# |
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |
|
||||
|
|
||||
|
# i3/sway common config |
||||
include ./common |
include ./common |
||||
|
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position |
# exit i3 (logs you out of your X session) |
||||
floating_modifier $mod |
set $exit i3-msg exit |
||||
|
#set $exit "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'" |
||||
|
|
||||
|
# Screen locker |
||||
set $lock i3lock -c 000000 |
set $lock i3lock -c 000000 |
||||
set $menu dmenu_run |
|
||||
|
|
||||
# start dmenu (a program launcher) |
|
||||
bindsym $mod+r exec dmenu_run |
|
||||
# call clipboard plumber |
|
||||
bindsym $mod+v exec cliplumber |
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications |
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that |
|
||||
# installed. |
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop |
|
||||
|
|
||||
# change focus |
|
||||
bindsym $mod+h focus left |
|
||||
bindsym $mod+j focus down |
|
||||
bindsym $mod+k focus up |
|
||||
bindsym $mod+l focus right |
|
||||
|
|
||||
# alternatively, you can use the cursor keys: |
|
||||
bindsym $mod+Left focus left |
|
||||
bindsym $mod+Down focus down |
|
||||
bindsym $mod+Up focus up |
|
||||
bindsym $mod+Right focus right |
|
||||
|
|
||||
# move focused window |
|
||||
bindsym $mod+Shift+h move left |
|
||||
bindsym $mod+Shift+j move down |
|
||||
bindsym $mod+Shift+k move up |
|
||||
bindsym $mod+Shift+l move right |
|
||||
|
|
||||
# alternatively, you can use the cursor keys: |
|
||||
bindsym $mod+Shift+Left move left |
|
||||
bindsym $mod+Shift+Down move down |
|
||||
bindsym $mod+Shift+Up move up |
|
||||
bindsym $mod+Shift+Right move right |
|
||||
|
|
||||
# split in horizontal orientation |
|
||||
bindsym $mod+shift+v split h |
|
||||
|
|
||||
# split in vertical orientation |
|
||||
bindsym $mod+ctrl+shift+v split v |
|
||||
|
|
||||
# enter fullscreen mode for the focused container |
# Application launcher |
||||
bindsym $mod+f fullscreen toggle |
set $menu dmenu_run |
||||
|
|
||||
# change container layout (stacked, tabbed, toggle split) |
|
||||
bindsym $mod+s layout stacking |
|
||||
bindsym $mod+w layout tabbed |
|
||||
bindsym $mod+e layout toggle split |
|
||||
|
|
||||
# toggle tiling / floating |
|
||||
bindsym $mod+Shift+space floating toggle |
|
||||
|
|
||||
# change focus between tiling / floating windows |
|
||||
bindsym $mod+space focus mode_toggle |
|
||||
|
|
||||
# focus the parent container |
|
||||
bindsym $mod+a focus parent |
|
||||
|
|
||||
# focus the child container |
|
||||
#bindsym $mod+d focus child |
|
||||
|
|
||||
# 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+e exec i3-msg exit |
|
||||
|
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status |
|
||||
# finds out, if available) |
|
||||
bar { |
|
||||
position top |
|
||||
status_command i3status |
|
||||
strip_workspace_numbers yes |
|
||||
} |
|
||||
|
|||||
Loading…
Reference in new issue