Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # set the Mod key as the WIN key
- set $mod Mod4
- # choose a FreeType font, such as:
- font pango: Terminus Re33 8
- new_window pixel 1
- focus_follows_mouse yes
- # use mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # kill focused window
- bindsym $mod+q kill
- # start dmenu (program launcher)
- # bindsym $mod+d exec dmenu_run -b -fn 'Terminus Re33' -sb '#10192b' -nb '#10192b'
- bindsym $mod+d exec dmenu_run -b -fn 'Terminus Re33' -sb '#10192b' -nb '#10192b'
- # disable DPMS
- exec xset s off -dpms
- # keyboard layout
- # caps lock
- # exec setxkbmap -layout "us,ru" -option "grp:caps_toggle,grp_led:scroll,compose:ralt"
- # alt+shift
- exec --no-startup-id setxkbmap -layout "us,ru" -option 'grp:alt_shift_toggle'
- exec --no-startup-id kbdd
- #skypefix
- exec pactl unload-module module-role-cork
- # autostart
- exec mpdscribble &
- # set wallpapper
- exec --no-startup-id feh --bg-fill ~/media/Dropbox/Images/Wallpapers/008.jpg
- # i3lock
- bindsym $mod+Control+l exec i3lock
- # volume control (keyboard)
- #bindsym $mod+minus exec "amixer set Master 5%-"
- #bindsym $mod+plus exec "amixer set Master 5%+"
- # audio player control (keyboard)
- # mocp control
- #bindsym $mod+Next exec "mocp -f"
- #bindsym $mod+Delete exec "mocp -r"
- #bindsym $mod+End exec "mocp -G"
- # mpd control
- bindsym $mod+Next exec "mpc next"
- bindsym $mod+Delete exec "mpc prev"
- bindsym $mod+End exec "mpc toggle"
- bindsym $mod+minus exec "mpc vol -10"
- bindsym $mod+plus exec "mpc vol +10"
- # screenshot
- bindsym Print exec xfce4-screenshooter
- # terminal
- bindsym $mod+Return exec xfce4-terminal
- # browser
- bindsym $mod+b exec firefox
- # windows focus
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
- # move windows
- 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+h split h
- # split in vertical orientation
- bindsym $mod+v split v
- # enter fullscreen mode for the focused container
- bindsym $mod+f fullscreen toggle
- # toggle tiling / floating
- bindsym $mod+Shift+space floating toggle
- # naviate to the workspaces
- bindsym $mod+1 workspace $WS1
- bindsym $mod+2 workspace $WS2
- bindsym $mod+3 workspace $WS3
- bindsym $mod+4 workspace $WS4
- bindsym $mod+5 workspace $WS5
- bindsym $mod+6 workspace $WS6
- bindsym $mod+7 workspace $WS7
- bindsym $mod+8 workspace $WS8
- # workspaces
- set $WS1 web
- set $WS2 irc
- set $WS3 mu
- set $WS4 dev
- set $WS5 random
- set $WS6 steam
- set $WS7 VM
- set $WS8 skype
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace $WS1
- bindsym $mod+Shift+2 move container to workspace $WS2
- bindsym $mod+Shift+3 move container to workspace $WS3
- bindsym $mod+Shift+4 move container to workspace $WS4
- bindsym $mod+Shift+5 move container to workspace $WS5
- bindsym $mod+Shift+6 move container to workspace $WS6
- bindsym $mod+Shift+7 move container to workspace $WS7
- bindsym $mod+Shift+8 move container to workspace $WS8
- # assign programs to the workspaces
- assign [class="^Skype$" instance="^skype$"] → skype
- assign [class="^Steam" instance="^Steam$"] → steam
- assign [class="^dota_linux$" instance="^dota_linux$"] → steam
- assign [class="VirtualBox"] → VM
- # disable borders for windows
- for_window [class="Firefox" instance="Navigator"] border none
- # enable floating
- for_window [class="Steam"] floating enable
- for_window [class="mpv"] floating enable
- for_window [class="Keepassx"] floating enable
- # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+r restart
- # 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'"
- # start i3bar to display a workspace bar (plus the system information i3status
- # finds out, if available)
- bar {
- # Using py3status
- status_command py3status -c ~/.config/i3/i3status.conf -i ~/.py3status_modules
- position top
- separator_symbol "|"
- font pango: Terminus Re33, Icons 10
- # tray_output HDMI2
- tray_output none
- colors {
- background #112233
- statusline #CED5D0
- focused_workspace #112233 #6797A1
- active_workspace #073642 #696f89
- inactive_workspace #112233 #112233 #CED5D0
- urgent_workspace #E59847 #E59847 #00252E
- }
- }
- new_window pixel 1
- new_float pixel 1
- # Colors
- # class border backgr. text indicator
- client.focused #000000 #eae9da #000000 #eae9da
- client.focused_inactive #000000 #5f676a #ffffff #5f676a
- client.unfocused #000000 #30363b #888888 #30363b
- client.urgent #000000 #9b6465 #ffffff #9b6465
- client.placeholder #000000 #ffffff #ffffff #000000
Advertisement
Add Comment
Please, Sign In to add comment