Просмотр исходного кода

Swapped back to i3 added a bunch of new stuff

master
Josh Wolfe 3 лет назад
Родитель
Сommit
fe4876c012
1 измененных файлов: 63 добавлений и 50 удалений
  1. 63
    50
      i3/config

+ 63
- 50
i3/config Просмотреть файл

@@ -1,12 +1,19 @@
exec "xrandr --output eDP1 --mode 1920x1080"
exec "xinput set-button-map 14 1 2 3 5 4 6 7 8 9 10 11 12"
exec "setxkbmap -option 'caps:ctrl_modifier'"
exec "xcape -e 'Caps_Lock=Escape'"
exec "xsetroot -cursor_name left_ptr"
exec --no-startup-id dropbox start
exec --no-startup-id ~/bin/battery_notify
exec --no-startup-id powertop --auto-tune
exec --no-startup-id tlp start
exec --no-startup-id xset r rate 225 30

# Disable window borders
for_window [class="^.*"] border pixel 0

# Matrix Labritory
for_window [title="^Figure \d+$"] floating enable

# Adds gaps
gaps inner 12
gaps outer 0
@@ -54,12 +61,6 @@ bindsym $mod+d exec rofi -show run -font "snap 10" -o 85
bindsym $mod+p exec "~/bin/toggle-layout"
bindsym $mod+c exec chromium

#bindsym $mod+d exec dmenu_run
# 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
@@ -107,32 +108,45 @@ bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent

bindsym $mod+t exec "terminator -e '~/bin/myclock'"

# focus the child container
#bindsym $mod+d focus child

# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
bindsym $mod+percent workspace 1
bindsym $mod+bracketleft workspace 2
bindsym $mod+braceleft workspace 3
bindsym $mod+braceright workspace 4
bindsym $mod+parenleft workspace 5
bindsym $mod+asterisk workspace 6
bindsym $mod+astericks workspace 7
bindsym $mod+parenright workspace 8
bindsym $mod+plus workspace 9
bindsym $mod+bracketright workspace 10
bindsym $mod+Shift+percent move container to workspace 1
bindsym $mod+Shift+bracketleft move container to workspace 2
bindsym $mod+Shift+braceleft move container to workspace 3
bindsym $mod+Shift+braceright move container to workspace 4
bindsym $mod+Shift+parenleft move container to workspace 5
bindsym $mod+Shift+asterisk move container to workspace 6
bindsym $mod+Shift+astericks move container to workspace 7
bindsym $mod+Shift+parenright move container to workspace 8
bindsym $mod+Shift+plus move container to workspace 9
bindsym $mod+Shift+bracketright move container to workspace 10

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
#bindsym $mod+Shift+1 move container to workspace 1
#bindsym $mod+Shift+2 move container to workspace 2
#bindsym $mod+Shift+3 move container to workspace 3
#bindsym $mod+Shift+4 move container to workspace 4
#bindsym $mod+Shift+5 move container to workspace 5
#bindsym $mod+Shift+6 move container to workspace 6
#bindsym $mod+Shift+7 move container to workspace 7
#bindsym $mod+Shift+8 move container to workspace 8
#bindsym $mod+Shift+9 move container to workspace 9
#bindsym $mod+Shift+0 move container to workspace 10

# reload the configuration file
bindsym $mod+Shift+c reload
@@ -143,29 +157,28 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu

# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym h resize shrink width 5 px or 5 ppt
bindsym j resize grow height 5 px or 5 ppt
bindsym k resize shrink height 5 px or 5 ppt
bindsym l resize grow width 5 px or 5 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 5 px or 5 ppt
bindsym Down resize grow height 5 px or 5 ppt
bindsym Up resize shrink height 5 px or 5 ppt
bindsym Right resize grow width 5 px or 5 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym h resize shrink width 5 px or 5 ppt
bindsym j resize grow height 5 px or 5 ppt
bindsym k resize shrink height 5 px or 5 ppt
bindsym l resize grow width 5 px or 5 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 5 px or 5 ppt
bindsym Down resize grow height 5 px or 5 ppt
bindsym Up resize shrink height 5 px or 5 ppt
bindsym Right resize grow width 5 px or 5 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"


exec_always feh --bg-scale ~/Pictures/japan-tokyo-city-wallpaper-2560x1440.jpg
exec_always --no-startup-id ~/.config/i3/bar.rb | lemonbar -B "#333333" -f "Roboto Mono Medium:size=11" -f "Font Awesome:size=11" | sh
exec_always feh --bg-scale ~/Pictures/calvin-and-hobbes-night-sky-wallpaper.jpg
#exec --no-startup-id polybar wolfe

Загрузка…
Отмена
Сохранить