Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. set $mod Mod4
  2.  
  3. font pango:Roboto 10
  4. floating_modifier $mod
  5.  
  6. set $ws1 "1"
  7. set $ws2 "2"
  8. set $ws3 "3"
  9. set $ws4 "4"
  10. set $ws5 "5"
  11. set $ws6 "6"
  12. set $ws7 "7"
  13. set $ws8 "8"
  14. set $ws9 "9"
  15. set $ws10 "10"
  16.  
  17. workspace $ws1 output DP-1-2-2
  18. workspace $ws3 output eDP-1-1
  19. workspace $ws2 output HDMI-1-1
  20. workspace $ws4 output HDMI-1-1
  21. workspace $ws5 output HDMI-1-1
  22. workspace $ws6 output HDMI-1-1
  23.  
  24. bindsym $mod+l exec dm-tool lock
  25. bindsym $mod+Return exec alacritty
  26. bindsym $mod+Shift+q kill
  27.  
  28. bindsym $mod+d exec rofi -show run
  29. bindsym $mod+space exec rofi -show run
  30. bindsym $mod+Tab exec rofi -show window
  31.  
  32. bindsym $mod+Left focus left
  33. bindsym $mod+Down focus down
  34. bindsym $mod+Up focus up
  35. bindsym $mod+Right focus right
  36.  
  37. bindsym $mod+Shift+Left move left
  38. bindsym $mod+Shift+Down move down
  39. bindsym $mod+Shift+Up move up
  40. bindsym $mod+Shift+Right move right
  41.  
  42. bindsym Mod1+$mod+Up move workspace to output up
  43. bindsym Mod1+$mod+Down move workspace to output down
  44. bindsym Mod1+$mod+Left move workspace to output left
  45. bindsym Mod1+$mod+Right move workspace to output right
  46.  
  47. bindsym $mod+v split toggle
  48.  
  49. bindsym $mod+f fullscreen toggle
  50.  
  51. bindsym $mod+a focus parent
  52.  
  53. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && pkill -RTMIN+2 i3blocks
  54. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && pkill -RTMIN+2 i3blocks
  55. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+2 i3blocks
  56.  
  57. bindsym XF86AudioPlay exec playerctl play-pause
  58. bindsym XF86AudioPause exec playerctl play-pause
  59. bindsym XF86AudioNext exec playerctl next
  60. bindsym XF86AudioPrev exec playerctl previous
  61.  
  62. bindsym $mod+1 workspace number $ws1
  63. bindsym $mod+2 workspace number $ws2
  64. bindsym $mod+3 workspace number $ws3
  65. bindsym $mod+4 workspace number $ws4
  66. bindsym $mod+5 workspace number $ws5
  67. bindsym $mod+6 workspace number $ws6
  68. bindsym $mod+7 workspace number $ws7
  69. bindsym $mod+8 workspace number $ws8
  70. bindsym $mod+9 workspace number $ws9
  71. bindsym $mod+0 workspace number $ws10
  72.  
  73. bindsym $mod+Shift+1 move container to workspace number $ws1, workspace $ws1
  74. bindsym $mod+Shift+2 move container to workspace number $ws2, workspace $ws2
  75. bindsym $mod+Shift+3 move container to workspace number $ws3, workspace $ws3
  76. bindsym $mod+Shift+4 move container to workspace number $ws4, workspace $ws4
  77. bindsym $mod+Shift+5 move container to workspace number $ws5, workspace $ws5
  78. bindsym $mod+Shift+6 move container to workspace number $ws6, workspace $ws6
  79. bindsym $mod+Shift+7 move container to workspace number $ws7, workspace $ws7
  80. bindsym $mod+Shift+8 move container to workspace number $ws8, workspace $ws8
  81. bindsym $mod+Shift+9 move container to workspace number $ws9, workspace $ws9
  82. bindsym $mod+Shift+0 move container to workspace number $ws10, workspace $ws10
  83.  
  84. bindsym $mod+Shift+c reload
  85. bindsym $mod+Shift+r restart
  86. 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'"
  87.  
  88. bindsym $mod+w exec /usr/bin/firefox-developer-edition
  89. bindsym $mod+s exec /usr/bin/slack
  90. bindsym --release Print exec "gnome-screenshot"
  91. bindsym --release Shift+Print exec "gnome-screenshot -a"
  92.  
  93. bindsym Control+$mod+1 exec /usr/bin/firefox-developer-edition; exec /usr/bin/slack; exec /usr/bin/alacritty; exec sleep 3 && /usr/bin/keepassxc
  94. mode "resize" {
  95. # These bindings trigger as soon as you enter the resize mode
  96.  
  97. # Pressing left will shrink the window’s width.
  98. # Pressing right will grow the window’s width.
  99. # Pressing up will shrink the window’s height.
  100. # Pressing down will grow the window’s height.
  101. bindsym j resize shrink width 10 px or 10 ppt
  102. bindsym k resize grow height 10 px or 10 ppt
  103. bindsym l resize shrink height 10 px or 10 ppt
  104. bindsym semicolon resize grow width 10 px or 10 ppt
  105.  
  106. # same bindings, but for the arrow keys
  107. bindsym Left resize shrink width 10 px or 10 ppt
  108. bindsym Down resize grow height 10 px or 10 ppt
  109. bindsym Up resize shrink height 10 px or 10 ppt
  110. bindsym Right resize grow width 10 px or 10 ppt
  111.  
  112. # back to normal: Enter or Escape or $mod+r
  113. bindsym Return mode "default"
  114. bindsym Escape mode "default"
  115. bindsym $mod+r mode "default"
  116. }
  117.  
  118. bindsym $mod+r mode "resize"
  119. set $highlight-color #386261
  120. set $bg-color #222222
  121. set $inactive-bg-color #111111
  122. set $text-color #f3f4f5
  123. set $inactive-text-color #676E7D
  124. set $urgent-bg-color #E53935
  125.  
  126. # window colors
  127. # border background text indicator
  128. client.focused $highlight-color $highlight-color $text-color #70c87a
  129. client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #70c87a
  130. client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #70c87a
  131. client.urgent $urgent-bg-color $urgent-bg-color $text-color #70c87a
  132. exec_always --no-startup-id pkill compton; compton -f
  133. exec --no-startup-id nm-applet
  134. exec --no-startup-id /usr/lib/notification-daemon-1.0/notification-daemon
  135. exec_always --no-startup-id $HOME/.config/polybar/launch.sh
  136. exec_always --no-startup-id feh --bg-scale $HOME/.wallpaper.jpg
  137. for_window [class=".*"] border pixel 1
  138. smart_borders on
  139.  
  140. for_window [class="^firefoxdeveloperedition$"] move to workspace $ws1, workspace $ws1
  141. for_window [class="^(Termite|Alacritty)$"] move to workspace $ws2, workspace $ws2
  142. for_window [class="^Slack$"] move to workspace $ws3, workspace $ws3
  143. for_window [class="^KeePassXC$"] move to workspace $ws3, workspace $ws3
  144. for_window [class="^Spotify$"] move to workspace $ws4, workspace $ws4
  145. for_window [class="^firefox$"] move to workspace $ws5, workspace $ws5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement