Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # i3 config (4.2)
- #dim backlight at start
- exec xbacklight -set 40 &
- #set volume to a reasonable amount at start
- exec amixer -D pulse sset Master '50%' &
- #settings
- exec xset -b
- #exec xrdb -merge ~/.i3/xresources #for urxvt
- #hide mouse coursor when it isn't used
- exec unclutter -root -visible &
- #clipboard synchronization
- exec autocutsel -fork &
- exec autocutsel -selection PRIMARY -fork &
- #dbus instance
- exec eval `dbus-launch --sh-syntax --exit-with-session`
- #apps
- #exec start-pulseaudio-x11 &
- #exec urxvtd &
- #keyboard layout
- exec setxkbmap -option ctrl:nocaps
- exec xmodmap ~/.i3/xmodmap
- exec [ -e ~/.xmodmap_local ] && xmodmap ~/.xmodmap_local
- #color temperature adjustment
- exec redshift -l 39.57:76.3 -m randr -t 5500:4500 -g 0.9:0.9:0.9 &
- #notification
- exec dunst -config ~/.i3/dunstrc &
- #disks automounting
- exec udiskie &
- #thunar requires no desktop
- exec thunar --daemon &
- #wallpaper
- exec nitrogen --restore &
- # dropbox
- exec dropbox start &
- ################################################################################
- set $mod Mod4
- #font xft: Cousine bold 10
- #font xft: Cantarell bold 10
- #font pango: Terminus 8
- font xft: Droid Sans mono bold 10
- #font -bitstream-*-*-r-*-*-*-120-*-*-*-*-*-*
- new_window pixel 6
- focus_follows_mouse yes
- set $blue #005588
- set $gray1 #484848
- set $gray2 #333333
- client.focused $gray1 $gray1 #FFFFFF #333333
- client.focused_inactive $gray2 $gray2 #FFFFFF #000000
- client.unfocused $gray2 $gray2 #FFFFFF #000000
- # use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # start a terminal
- #bindsym $mod+Return exec urxvtc
- bindsym $mod+Return exec terminator
- # kill focused window
- bindsym $mod+c kill
- # start dmenu (a program launcher)
- bindsym $mod+p exec dmenu_run -nb black
- # screen lock
- bindsym Control+mod1+l exec lockscreen
- bindsym Control+mod1+q exec cb-exit
- # change focus
- bindsym $mod+h focus left
- bindsym $mod+j focus down
- bindsym $mod+k focus up
- bindsym $mod+l 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
- # split in horizontal orientation
- bindsym $mod+v split h
- # split in vertical orientation
- bindsym $mod+g split v
- # enter fullscreen mode for the focused container
- bindsym $mod+f fullscreen
- # change container layout (tabbed, toggle split)
- bindsym $mod+n layout tabbed
- bindsym $mod+m layout toggle split
- # toggle tiling / floating
- bindsym $mod+Shift+f floating toggle
- # change focus between tiling / floating windows
- bindsym $mod+space focus mode_toggle
- # switch to last workspace
- bindsym $mod+6 workspace back_and_forth
- # switch to workspace
- bindsym $mod+q workspace q
- bindsym $mod+w workspace w
- bindsym $mod+e workspace e
- bindsym $mod+r workspace r
- bindsym $mod+t workspace t
- bindsym $mod+y workspace y
- bindsym $mod+u workspace u
- bindsym $mod+i workspace i
- bindsym $mod+o workspace o
- # move focused container to workspace
- bindsym $mod+Shift+q move container to workspace q
- bindsym $mod+Shift+w move container to workspace w
- bindsym $mod+Shift+e move container to workspace e
- bindsym $mod+Shift+r move container to workspace r
- bindsym $mod+Shift+t move container to workspace t
- bindsym $mod+Shift+y move container to workspace y
- bindsym $mod+Shift+u move container to workspace u
- bindsym $mod+Shift+i move container to workspace i
- bindsym $mod+Shift+o move container to workspace o
- bindsym $mod+z reload
- bindsym $mod+Shift+x restart
- bindsym $mod+Shift+z exit
- mode "resize" {
- 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
- # back to normal: Enter or Escape or q or ^[
- bindsym Return mode "default"
- bindsym q mode "default"
- bindsym Escape mode "default"
- bindcode Control+34 mode "default"
- }
- bindsym $mod+s mode "resize"
- #for_window [class = "] floating enablecs
- # multimedia keys
- bindsym XF86AudioRaiseVolume exec "amixer -D pulse sset Master '3%+'"
- bindsym XF86AudioLowerVolume exec "amixer -D pulse sset Master '1%-'"
- bindsym XF86AudioMute exec "amixer -D pulse set Master toggle"
- bindsym XF86MonBrightnessDown exec "xbacklight -dec 20"
- bindsym XF86MonBrightnessUp exec "xbacklight -inc 15"
- bindsym $mod+a exec "terminator -x alsamixer"
- bindsym $mod+Shift+a exec "pavucontrol"
- bar {
- position top
- status_command ~/.i3/conky
- colors {
- statusline #AAAAAA
- background #333333
- focused_workspace $gray2 $gray2 #FFFFFF
- inactive_workspace $gray1 $gray1 #AAAAAA
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement