Advertisement
Guest User

Untitled

a guest
Oct 9th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  1. #######################################################################
  2. # variables #
  3. #######################################################################
  4.  
  5. set $mod Mod4
  6. set $ColorArch #0088CC
  7. set $ColorWhite #FFFFFF
  8. set $ColorGrey #333333
  9. set $ColorLightGrey #DDDDDD
  10. set $ColorMiddleGrey #666666
  11. set $ColorDarkGrey #222222
  12. set $ColorLighterDarkGrey #888888
  13. set $ColorModerateDarkGrey #2F343A
  14. set $ColorDarkRed #900000
  15. set $ColorVeryDarkMostlyBlackCyan #292D2E
  16.  
  17. #######################################################################
  18. # font #
  19. #######################################################################
  20.  
  21. font pango:System San Francisco Display 8
  22. #font pango:monospace 8
  23.  
  24. #######################################################################
  25. # misc settings #
  26. #######################################################################
  27.  
  28. # use Mouse+$mod to drag floating windows to their wanted position
  29. floating_modifier $mod
  30. new_window 1pixel
  31.  
  32. bar {
  33. status_command i3blocks
  34. tray_output primary
  35. position top
  36. workspace_buttons yes
  37. colors {
  38. separator $ColorMiddleGrey
  39. background $ColorDarkGrey
  40. statusline $ColorLightGrey
  41. focused_workspace $ColorArch $ColorArch $ColorWhite
  42. active_workspace $ColorGrey $ColorGrey $ColorWhite
  43. inactive_workspace $ColorGrey $ColorGrey $ColorLighterDarkGrey
  44. urgent_workspace $ColorModerateDarkGrey $ColorDarkRed $ColorWhite
  45. }
  46. }
  47.  
  48. # layout colors border bg text indicator (split)
  49. client.focused $ColorArch $ColorArch $ColorWhite $ColorLightGrey
  50. client.focused_inactive $ColorGrey $ColorGrey $ColorLighterDarkGrey $ColorVeryDarkMostlyBlackCyan
  51. client.unfocused $ColorGrey $ColorGrey $ColorLighterDarkGrey $ColorVeryDarkMostlyBlackCyan
  52. client.urgent $ColorModerateDarkGrey $ColorDarkRed $ColorWhite $ColorDarkRed
  53.  
  54. #######################################################################
  55. # layout bindings #
  56. #######################################################################
  57.  
  58. bindsym $mod+Print exec spectacle
  59. bindsym $mod+Return exec terminator
  60. bindsym $mod+space exec "rofi -show run -color-window '#222222,#0088CC' -color-normal '#222222,#FFFFFF,#222222,#0088CC,#FFFFFF' -color-urgent '#222222,#000000,#222222,#0088CC,#FFFFFF' -color-active '#222222,#000000,#222222,#0088CC,#FFFFFF'"
  61. bindsym $mod+Shift+q kill
  62.  
  63. # focus
  64. bindsym $mod+Left focus left
  65. bindsym $mod+Down focus down
  66. bindsym $mod+Up focus up
  67. bindsym $mod+Right focus right
  68.  
  69. # movement
  70. bindsym $mod+Shift+Left move left
  71. bindsym $mod+Shift+Down move down
  72. bindsym $mod+Shift+Up move up
  73. bindsym $mod+Shift+Right move right
  74.  
  75. # layout
  76. bindsym $mod+h split h
  77. bindsym $mod+v split v
  78. bindsym $mod+f fullscreen toggle
  79. bindsym $mod+s layout stacking
  80. bindsym $mod+w layout tabbed
  81. bindsym $mod+e layout toggle split
  82. bindsym $mod+Shift+space floating toggle
  83. bindsym $mod+d focus mode_toggle
  84.  
  85. # switch to workspace
  86. bindsym $mod+1 workspace 1
  87. bindsym $mod+2 workspace 2
  88. bindsym $mod+3 workspace 3
  89. bindsym $mod+4 workspace 4
  90. bindsym $mod+5 workspace 5
  91. bindsym $mod+6 workspace 6
  92. bindsym $mod+7 workspace 7
  93. bindsym $mod+8 workspace 8
  94. bindsym $mod+9 workspace 9
  95. bindsym $mod+0 workspace 10
  96.  
  97. # move focused container to workspace
  98. bindsym $mod+Shift+1 move container to workspace 1
  99. bindsym $mod+Shift+2 move container to workspace 2
  100. bindsym $mod+Shift+3 move container to workspace 3
  101. bindsym $mod+Shift+4 move container to workspace 4
  102. bindsym $mod+Shift+5 move container to workspace 5
  103. bindsym $mod+Shift+6 move container to workspace 6
  104. bindsym $mod+Shift+7 move container to workspace 7
  105. bindsym $mod+Shift+8 move container to workspace 8
  106. bindsym $mod+Shift+9 move container to workspace 9
  107. bindsym $mod+Shift+0 move container to workspace 10
  108.  
  109. # manage i3 state
  110. bindsym $mod+Shift+c reload
  111. bindsym $mod+Shift+r restart
  112. 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'"
  113.  
  114. # resize window
  115. mode "resize" {
  116. bindsym Left resize shrink width 10 px or 10 ppt
  117. bindsym Down resize grow height 10 px or 10 ppt
  118. bindsym Up resize shrink height 10 px or 10 ppt
  119. bindsym Right resize grow width 10 px or 10 ppt
  120.  
  121. # back to normal: Enter or Escape
  122. bindsym Return mode "default"
  123. bindsym Escape mode "default"
  124. }
  125.  
  126. bindsym $mod+r mode "resize"
  127.  
  128. #######################################################################
  129. # menus #
  130. #######################################################################
  131.  
  132. # power management
  133. set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
  134. mode "$mode_system" {
  135. bindsym l exec --no-startup-id i3exit lock, mode "default"
  136. bindsym e exec --no-startup-id i3exit logout, mode "default"
  137. bindsym s exec --no-startup-id i3exit suspend, mode "default"
  138. bindsym h exec --no-startup-id i3exit hibernate, mode "default"
  139. bindsym r exec --no-startup-id i3exit reboot, mode "default"
  140. bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
  141.  
  142. # back to normal: Enter or Escape
  143. bindsym Return mode "default"
  144. bindsym Escape mode "default"
  145. }
  146. bindsym $mod+Pause mode "$mode_system"
  147.  
  148. # keyboard settings
  149. set $mode_kb Keyboard German QUERTY (g), Norwegian Bokmål (n)
  150. mode "$mode_kb" {
  151. bindsym g exec setxkbmap de -variant qwerty, mode "default"
  152. bindsym n exec setxkbmap no, mode "default"
  153. }
  154. bindsym $mod+k mode "$mode_kb"
  155.  
  156. #######################################################################
  157. # startup #
  158. #######################################################################
  159.  
  160. exec --no-startup-id nm-applet
  161. exec --no-startup-id pa-applet
  162. exec --no-startup-id kdeconnect
  163. exec --no-startup-id indicator-kdeconnect
  164. exec --no-startup-id sudo /opt/blackwidow.sh
  165. exec --no-startup-id nitrogen --restore
  166. exec --no-startup-id skype
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement