Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Theme
- set $font -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
- set $client_bg #000000
- set $active_border #222244
- set $active_bg #222244
- set $active_fg #ffffff
- set $inactive_border #222222
- set $inactive_bg #222222
- set $inactive_fg #ffffff
- set $unfocused_fg #999999
- set $urgent_border #cccccc
- set $urgent_bg #cccc00
- set $urgent_fg #ff0000
- # Font and colors
- font $font
- client.background $client_bg
- client.focused $active_border $active_bg $active_fg
- client.focused_inactive $inactive_border $inactive_bg $inactive_fg
- client.unfocused $inactive_border $inactive_bg $unfocused_fg
- client.urgent $urgent_border $urgent_bg $urgent_fg
- # Disable focus following the mouse
- focus_follows_mouse 0
- # Launch a new terminal
- bindsym Mod1+Return exec x-terminal-emulator
- # Launch dmenu
- bindsym Mod1+r exec dmenu_run -nb '$client_bg' -nf '$inactive_fg' -sb '$active_bg' -sf '$active_fg' -fn '$font'
- # Kill client
- bindsym Mod1+Shift+q kill
- # Attach and detach client
- bindsym Mod1+Shift+a attach
- bindsym Mod1+Shift+d detach
- # Restart or reload i3
- bindsym Mod1+Shift+r restart
- bindsym Mod1+Shift+l reload
- # Exit i3
- bindsym Mod1+Shift+e exit
- # Lock screen
- bindsym Mod1+F12 exec i3lock & sleep 1 && xset dpms force off
- # Volume keys
- bindcode 121 exec volume toggle
- bindcode 122 exec volume down
- bindcode 123 exec volume up
- # Monitor keys and workspace config for VGA output
- workspace 10 output VGA VGA
- bindsym XF86Display exec toggle-vga
- # MPD hotkeys
- set $mpc mpc -h ~/.mpd/socket
- bindsym Mod4+z exec $mpc prev
- bindsym Mod4+x exec $mpc play
- bindsym Mod4+c exec $mpc toggle
- bindsym Mod4+v exec $mpc stop
- bindsym Mod4+b exec $mpc next
- # Fullscreen mode
- bindsym Mod1+f fullscreen
- # Tabbed, stacked and default layouts
- bindsym Mod1+t layout tabbed
- bindsym Mod1+s layout stacking
- bindsym Mod1+d layout default
- # Toggle between tiling and floating modes
- bindsym Mod1+Shift+space mode toggle
- # Go up and down
- bindsym Mod1+u level up
- bindsym Mod1+d level down
- # Split
- bindsym Mod1+h split h
- bindsym Mod1+v split v
- # Focus
- bindsym Mod1+Left prev h
- bindsym Mod1+Right next h
- bindsym Mod1+Up prev v
- bindsym Mod1+Down next v
- # Move
- bindsym Mod1+Shift+Left move left
- bindsym Mod1+Shift+Right move right
- bindsym Mod1+Shift+Up move up
- bindsym Mod1+Shift+Down move down
- # Workspaces
- bindcode Mod1+10 workspace 1
- bindcode Mod1+11 workspace 2
- bindcode Mod1+12 workspace 3
- bindcode Mod1+13 workspace 4
- bindcode Mod1+14 workspace 5
- bindcode Mod1+15 workspace 6
- bindcode Mod1+16 workspace 7
- bindcode Mod1+17 workspace 8
- bindcode Mod1+18 workspace 9
- bindcode Mod1+19 workspace 10
- # Move to workspace
- bindcode Mod1+Shift+10 move workspace 1
- bindcode Mod1+Shift+11 move workspace 2
- bindcode Mod1+Shift+12 move workspace 3
- bindcode Mod1+Shift+13 move workspace 4
- bindcode Mod1+Shift+14 move workspace 5
- bindcode Mod1+Shift+15 move workspace 6
- bindcode Mod1+Shift+16 move workspace 7
- bindcode Mod1+Shift+17 move workspace 8
- bindcode Mod1+Shift+18 move workspace 9
- bindcode Mod1+Shift+19 move workspace 10
- # Run i3bar
- exec i3bar -d -c dstatus -f '$font' --color-bar-fg '$unfocused_fg' --color-bar-bg '$client_bg' --color-active-ws-fg '$unfocused_fg' --color-active-ws-bg '$active_bg' --color-inactive-ws-fg '$inactive_fg' --color-inactive-ws-bg '$inactive_bg' --color-urgent-ws-fg '$urgent_fg' --color-urgent-ws-bg '$urgent_bg' --color-focus-ws-fg '$active_fg' --color-focus-ws-bg '$active_bg'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement