This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dotfiles_old/dotfiles/.config/i3/config
2018-08-24 21:43:38 +03:00

118 lines
3.5 KiB
Plaintext
Executable File

set $mod Mod4
font pango:DejaVu Sans Mono 9
exec_always setxkbmap ee
exec_always "xrandr --output HDMI1 --mode 2560x1440 --rate 59.95 --output HDMI2 --mode 1920x1080 --rate 59.93 --left-of HDMI1"
exec_always ~/.scripts/daemons.sh
# NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
# it fails to get colors from Xresources.
set_from_resource $fg color7 #f0f0f0
set_from_resource $bg color2 #f0f0f0
#class border backgr. text indicator child_border
client.focused $bg $bg $fg $bg $bg
client.focused_inactive $bg $bg $fg $bg $bg
client.unfocused $bg $bg $fg $bg $bg
client.urgent $bg $bg $fg $bg $bg
client.placeholder $bg $bg $fg $bg $bg
client.background $bg
exec_always xrdb ~/.Xresources
exec_always ~/.scripts/wal.sh
gaps inner 10
default_border pixel 1
bindsym $mod+Ctrl+r restart
bindsym $mod+Ctrl+q kill
bindsym $mod+s exec ~/.scripts/dmen_run.sh
bindsym $mod+Return exec urxvt
bindsym $mod+F1 exec ~/.scripts/audio.sh toggle_mute
bindsym $mod+F2 exec ~/.scripts/audio.sh lower
bindsym $mod+F3 exec ~/.scripts/audio.sh raise
bindsym $mod+F4 exec ~/.scripts/wal.sh
bindsym $mod+F5 exec ~/.scripts/music.sh toggle
bindsym $mod+Shift+F2 exec ~/.scripts/music.sh lower
bindsym $mod+Shift+F3 exec ~/.scripts/music.sh raise
bindsym $mod+F7 exec ~/.scripts/music.sh prev
bindsym $mod+F8 exec ~/.scripts/music.sh next
bindsym $mod+F9 exec ~/.scripts/mount.sh
bindsym $mod+F10 exec ~/.scripts/umount.sh
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+Control+h move left
bindsym $mod+Control+j move down
bindsym $mod+Control+k move up
bindsym $mod+Control+l move right
bindsym $mod+Control+y resize shrink width 10 px or 1 ppt
bindsym $mod+Control+u resize grow height 10 px or 1 ppt
bindsym $mod+Control+i resize shrink height 10 px or 1 ppt
bindsym $mod+Control+o resize grow width 10 px or 1 ppt
bindsym $mod+Ctrl+w split h
bindsym $mod+Ctrl+s split v
bindsym $mod+Ctrl+f fullscreen toggle
bindsym $mod+Ctrl+space floating toggle
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+Ctrl+1 move container to workspace 1
bindsym $mod+Ctrl+2 move container to workspace 2
bindsym $mod+Ctrl+3 move container to workspace 3
bindsym $mod+Ctrl+4 move container to workspace 4
bindsym $mod+Ctrl+5 move container to workspace 5
bindsym $mod+Ctrl+6 move container to workspace 6
set_from_resource $darkblack color0
set_from_resource $black color8
set_from_resource $darkred color1
set_from_resource $red color9
set_from_resource $darkgreen color2
set_from_resource $green color10
set_from_resource $darkyellow color3
set_from_resource $yellow color11
set_from_resource $darkblue color4
set_from_resource $blue color12
set_from_resource $darkmagenta color5
set_from_resource $magenta color13
set_from_resource $darkcyan color6
set_from_resource $cyan color14
set_from_resource $darkwhite color7
set_from_resource $white color15
bar {
font pango:DejaVu Sans Mono 9
colors {
statusline $fg
separator $darkblue
focused_workspace $darkblack $darkblack $fg
active_workspace $darkblack $darkblack $fg
inactive_workspace $darkblack $darkblack $black
urgent_workspace $darkblue $bg $fg
}
position top
status_command i3blocks
}