# http://i3wm.org/docs/userguide.html # http://i3wm.org/docs/user-contributed/lzap-config.html # pacman -S i3-wm i3lock i3status dmenu dunst scrot feh terminus-font rxvt-unicode set $mod Mod4 new_window 1pixel hide_edge_borders both floating_modifier $mod font pango:Terminus 12px for_window [class="Wine"] floating enable bindsym $mod+Return exec urxvt bindsym $mod+d exec dmenu_run bindsym $mod+q kill #bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 1db- #bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 1db+ #bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle bindsym XF86AudioLowerVolume exec /usr/bin/pactl set-sink-volume 1 -5% bindsym XF86AudioRaiseVolume exec /usr/bin/pactl set-sink-volume 1 +5% bindsym XF86AudioMute exec /usr/bin/pactl set-sink-mute 1 toggle bindsym XF86Display exec --no-startup-id /home/reverie/.i3/xrandr.sh bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u bindsym XF86AudioStop exec --no-startup-id cmus-remote -s bindsym XF86AudioNext exec --no-startup-id cmus-remote -n bindsym XF86AudioPrev exec --no-startup-id cmus-remote -r bindsym XF86AudioMedia exec --no-startup-id urxvt -e cmus # dt(XF86Favorites XF86Mail) lt(XF86Launch1-3) bindsym XF86ScreenSaver exec chromium bindsym XF86HomePage exec chromium bindsym --release $mod+Print exec --no-startup-id scrot '/home/reverie/FLOW/s%Y%m%d.png' set $lock i3lock -efi /home/reverie/.i3/arch.png && sleep 1 set $sys System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown mode "$sys" { bindsym l exec --no-startup-id $lock, mode "default" bindsym e exec --no-startup-id i3-msg exit, mode "default" bindsym s exec --no-startup-id $lock && systemctl suspend, mode "default" bindsym h exec --no-startup-id $lock && systemctl hibernate, mode "default" bindsym r exec --no-startup-id systemctl reboot, mode "default" bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default" bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+Pause mode "$sys" bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right bindsym $mod+h split h bindsym $mod+v split v bindsym $mod+f fullscreen toggle bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle bindsym $mod+1 workspace 1: usr bindsym $mod+2 workspace 2: src bindsym $mod+3 workspace 3: tmp bindsym $mod+4 workspace 4: dbg bindsym $mod+5 workspace 5 bindsym $mod+6 workspace 6 bindsym $mod+7 workspace 7 bindsym $mod+8 workspace 8 bindsym $mod+Shift+1 move container to workspace 1: usr bindsym $mod+Shift+2 move container to workspace 2: src bindsym $mod+Shift+3 move container to workspace 3: tmp bindsym $mod+Shift+4 move container to workspace 4: dbg 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+c reload bindsym $mod+Shift+r restart bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'" mode "resize" { bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" # class border backgr. text indicator client.focused #00C1FF #2C2C2C #000088 #00C1FF client.focused_inactive #2C2C2C #2C2C2C #ffffff #2C2C2C client.unfocused #2C2C2C #2C2C2C #ffffff #2C2C2C client.urgent #00C1FF #2C2C2C #000088 #00C1FF bar { status_command i3status --config ~/.i3/status font pango:Terminus 12px colors{ # BORDER BACKGR. TEXT focused_workspace #2C2C2C #2C2C2C #00C1FF active_workspace #2C2C2C #2C2C2C #EEEEEE inactive_workspace #2C2C2C #2C2C2C #EEEEEE urgent_workspace #2C2C2C #2C2C2C #EEEEEE background #2C2C2C statusline #00C1FF separator #2C2C2C } } exec feh --bg-scale /home/reverie/.i3/arch.png exec setxkbmap -layout us,dk -option grp:alt_shift_toggle exec xset -b s off m 0 0 r rate 340 dpms 1200 0 0 exec pactl set-sink-volume 0 '20%'