Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. # Theme
  2. set $font -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
  3. set $client_bg #000000
  4. set $active_border #222244
  5. set $active_bg #222244
  6. set $active_fg #ffffff
  7. set $inactive_border #222222
  8. set $inactive_bg #222222
  9. set $inactive_fg #ffffff
  10. set $unfocused_fg #999999
  11. set $urgent_border #cccccc
  12. set $urgent_bg #cccc00
  13. set $urgent_fg #ff0000
  14.  
  15. # Font and colors
  16. font $font
  17. client.background $client_bg
  18. client.focused $active_border $active_bg $active_fg
  19. client.focused_inactive $inactive_border $inactive_bg $inactive_fg
  20. client.unfocused $inactive_border $inactive_bg $unfocused_fg
  21. client.urgent $urgent_border $urgent_bg $urgent_fg
  22.  
  23. # Disable focus following the mouse
  24. focus_follows_mouse 0
  25.  
  26. # Launch a new terminal
  27. bindsym Mod1+Return exec x-terminal-emulator
  28.  
  29. # Launch dmenu
  30. bindsym Mod1+r exec dmenu_run -nb '$client_bg' -nf '$inactive_fg' -sb '$active_bg' -sf '$active_fg' -fn '$font'
  31.  
  32. # Kill client
  33. bindsym Mod1+Shift+q kill
  34.  
  35. # Attach and detach client
  36. bindsym Mod1+Shift+a attach
  37. bindsym Mod1+Shift+d detach
  38.  
  39. # Restart or reload i3
  40. bindsym Mod1+Shift+r restart
  41. bindsym Mod1+Shift+l reload
  42.  
  43. # Exit i3
  44. bindsym Mod1+Shift+e exit
  45.  
  46. # Lock screen
  47. bindsym Mod1+F12 exec i3lock & sleep 1 && xset dpms force off
  48.  
  49. # Volume keys
  50. bindcode 121 exec volume toggle
  51. bindcode 122 exec volume down
  52. bindcode 123 exec volume up
  53.  
  54. # Monitor keys and workspace config for VGA output
  55. workspace 10 output VGA VGA
  56. bindsym XF86Display exec toggle-vga
  57.  
  58. # MPD hotkeys
  59. set $mpc mpc -h ~/.mpd/socket
  60. bindsym Mod4+z exec $mpc prev
  61. bindsym Mod4+x exec $mpc play
  62. bindsym Mod4+c exec $mpc toggle
  63. bindsym Mod4+v exec $mpc stop
  64. bindsym Mod4+b exec $mpc next
  65.  
  66. # Fullscreen mode
  67. bindsym Mod1+f fullscreen
  68.  
  69. # Tabbed, stacked and default layouts
  70. bindsym Mod1+t layout tabbed
  71. bindsym Mod1+s layout stacking
  72. bindsym Mod1+d layout default
  73.  
  74. # Toggle between tiling and floating modes
  75. bindsym Mod1+Shift+space mode toggle
  76.  
  77. # Go up and down
  78. bindsym Mod1+u level up
  79. bindsym Mod1+d level down
  80.  
  81. # Split
  82. bindsym Mod1+h split h
  83. bindsym Mod1+v split v
  84.  
  85. # Focus
  86. bindsym Mod1+Left prev h
  87. bindsym Mod1+Right next h
  88. bindsym Mod1+Up prev v
  89. bindsym Mod1+Down next v
  90.  
  91. # Move
  92. bindsym Mod1+Shift+Left move left
  93. bindsym Mod1+Shift+Right move right
  94. bindsym Mod1+Shift+Up move up
  95. bindsym Mod1+Shift+Down move down
  96.  
  97. # Workspaces
  98. bindcode Mod1+10 workspace 1
  99. bindcode Mod1+11 workspace 2
  100. bindcode Mod1+12 workspace 3
  101. bindcode Mod1+13 workspace 4
  102. bindcode Mod1+14 workspace 5
  103. bindcode Mod1+15 workspace 6
  104. bindcode Mod1+16 workspace 7
  105. bindcode Mod1+17 workspace 8
  106. bindcode Mod1+18 workspace 9
  107. bindcode Mod1+19 workspace 10
  108.  
  109. # Move to workspace
  110. bindcode Mod1+Shift+10 move workspace 1
  111. bindcode Mod1+Shift+11 move workspace 2
  112. bindcode Mod1+Shift+12 move workspace 3
  113. bindcode Mod1+Shift+13 move workspace 4
  114. bindcode Mod1+Shift+14 move workspace 5
  115. bindcode Mod1+Shift+15 move workspace 6
  116. bindcode Mod1+Shift+16 move workspace 7
  117. bindcode Mod1+Shift+17 move workspace 8
  118. bindcode Mod1+Shift+18 move workspace 9
  119. bindcode Mod1+Shift+19 move workspace 10
  120.  
  121. # Run i3bar
  122. 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