Guest User

Untitled

a guest
Apr 19th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.89 KB | None | 0 0
  1. set $mod Mod4
  2. font pango:monospace 8
  3.  
  4. exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
  5.  
  6. # $mod+mouse to drag
  7. floating_modifier $mod
  8.  
  9. bindsym $mod+Return exec i3-sensible-terminal
  10.  
  11. # kill focused window
  12. bindsym $mod+Shift+q kill
  13.  
  14. # start rofi
  15. bindsym $mod+d exec rofi -show run -theme ~/.config/rofi/main.rasi
  16.  
  17. bindsym $mod+Left focus left
  18. bindsym $mod+Down focus down
  19. bindsym $mod+Up focus up
  20. bindsym $mod+Right focus right
  21.  
  22. bindsym $mod+Shift+Left move left
  23. bindsym $mod+Shift+Down move down
  24. bindsym $mod+Shift+Up move up
  25. bindsym $mod+Shift+Right move right
  26.  
  27. #splitting screens
  28. bindsym $mod+h split h
  29. bindsym $mod+v split v
  30.  
  31. # set workspaces
  32. set $ws1 "1: Terminal"
  33. set $ws2 "2: Browser"
  34. set $ws3 "3: IDE"
  35. set $ws4 "4: TeamViewer"
  36. set $ws5 "5"
  37. set $ws6 "6"
  38. set $ws7 "7"
  39. set $ws8 "8"
  40. set $ws9 "9"
  41. set $ws10 "10: VMs"
  42.  
  43. # Monitor workspace assignment
  44. set $leftMon DVI-I-1
  45. set $rightMon DVI-D-0
  46. workspace $ws1 output $leftMon
  47. workspace $ws2 output $rightMon
  48. workspace $ws3 output $leftMon
  49.  
  50. # switch to workspace
  51. bindsym $mod+1 workspace $ws1
  52. bindsym $mod+2 workspace $ws2
  53. bindsym $mod+3 workspace $ws3
  54. bindsym $mod+4 workspace $ws4
  55. bindsym $mod+5 workspace $ws5
  56. bindsym $mod+6 workspace $ws6
  57. bindsym $mod+7 workspace $ws7
  58. bindsym $mod+8 workspace $ws8
  59. bindsym $mod+9 workspace $ws9
  60. bindsym $mod+0 workspace $ws10
  61.  
  62. # move focused container to workspace
  63. bindsym $mod+Shift+1 move container to workspace $ws1
  64. bindsym $mod+Shift+2 move container to workspace $ws2
  65. bindsym $mod+Shift+3 move container to workspace $ws3
  66. bindsym $mod+Shift+4 move container to workspace $ws4
  67. bindsym $mod+Shift+5 move container to workspace $ws5
  68. bindsym $mod+Shift+6 move container to workspace $ws6
  69. bindsym $mod+Shift+7 move container to workspace $ws7
  70. bindsym $mod+Shift+8 move container to workspace $ws8
  71. bindsym $mod+Shift+9 move container to workspace $ws9
  72. bindsym $mod+Shift+0 move container to workspace $ws10
  73.  
  74. #assign workspaces:
  75. assign [class="Terminator"] $ws1
  76. assign [class="Brave"] $ws2
  77. assign [class="Code"] $ws3
  78. assign [class="Processing"] $ws3
  79. assign [class="TeamViewer"] $ws4
  80. assign [class="VirtualBox Machine"] $ws10
  81. assign [class="VirtualBox Manager"] $ws10
  82.  
  83. # reload the configuration file
  84. bindsym $mod+Shift+c reload
  85.  
  86. # restart i3 inplace
  87. bindsym $mod+Shift+r restart
  88.  
  89. # exit i3
  90. 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'"
  91.  
  92. # resize
  93. bindsym $mod+Shift+l resize shrink width 10 px or 10 ppt
  94. bindsym $mod+Shift+k resize grow height 10 px or 10 ppt
  95. bindsym $mod+Shift+j resize shrink height 10 px or 10 ppt
  96. bindsym $mod+Shift+h resize grow width 10 px or 10 ppt
  97.  
  98. new_window pixel 0
  99. #smart_borders on
  100. for_window [class="^.*"] = border pixel 0
  101.  
  102. # Colours
  103. set $hunterGreen #34704A
  104. set $royalBlue #082459
  105. set $celestialBlue #3F99C6
  106. set $robinEggBlue #97E5DF
  107. set $middleBlue #61DBDD
  108. set $white #FFFFFF
  109.  
  110. # <colorclass> <border> <background> <text> <indicator> <child_border>
  111. client.focused $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
  112. client.focused_inactive $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
  113. client.unfocused $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
  114. client.urgent $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
  115. client.placeholder $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
  116.  
  117. # Gaps
  118. #smart_gaps on
  119. gaps inner 20
  120. gaps outer -5
  121. workspace $w3 gaps inner 0
  122. workspace $w3 gaps outer 0
  123.  
  124. bindsym $mod+l exec i3lock
  125.  
  126. exec_always ~/.config/polybar/launch.sh
  127. exec_always feh --bg-scale ~/Images/Wallpapers/MushroomTown.jpg
  128. exec --no-startup-id compton -c --config ~/.config/compton/compton.conf
  129. exec --no-startup-id brave
  130. exec --no-startup-id terminator
Advertisement
Add Comment
Please, Sign In to add comment