Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2020
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. # vim: nospell
  2. set $mod Mod4
  3.  
  4. font pango:DejaVu Sans Mono # Font for window titles/bar
  5. floating_modifier $mod
  6. bindsym $mod+q floating enable kill
  7. bindsym --release $mod+shift+q exec /usr/bin/xkill
  8. bindsym $mod+d exec dmenu_run
  9.  
  10. bindsym $mod+h focus left
  11. bindsym $mod+j focus down
  12. bindsym $mod+k focus up
  13. bindsym $mod+l focus right
  14.  
  15. bindsym $mod+Left focus left
  16. bindsym $mod+Down focus down
  17. bindsym $mod+Up focus up
  18. bindsym $mod+Right focus right
  19.  
  20. bindsym $mod+Shift+h move left
  21. bindsym $mod+Shift+j move down
  22. bindsym $mod+Shift+k move up
  23. bindsym $mod+Shift+l move right
  24.  
  25. bindsym $mod+Shift+Left move left 70 px
  26. bindsym $mod+Shift+Down move down 45 px
  27. bindsym $mod+Shift+Up move up 45 px
  28. bindsym $mod+Shift+Right move right 70 px
  29.  
  30. bindsym $mod+g split h
  31. bindsym $mod+v split v
  32.  
  33. bindsym $mod+f fullscreen toggle
  34. bindsym $mod+w layout toggle tabbed split
  35. bindsym $mod+p floating toggle
  36.  
  37. bindsym $mod+Shift+p focus mode_toggle
  38.  
  39. bindsym $mod+1 workspace 1
  40. bindsym $mod+2 workspace 2
  41. bindsym $mod+3 workspace 3
  42. bindsym $mod+4 workspace 4
  43. bindsym $mod+5 workspace 5
  44. bindsym $mod+6 workspace 6
  45. bindsym $mod+7 workspace 7
  46. bindsym $mod+8 workspace 8
  47. bindsym $mod+9 workspace 9
  48. bindsym $mod+0 workspace 10
  49.  
  50. bindsym $mod+Shift+1 move container to workspace 1
  51. bindsym $mod+Shift+2 move container to workspace 2
  52. bindsym $mod+Shift+3 move container to workspace 3
  53. bindsym $mod+Shift+4 move container to workspace 4
  54. bindsym $mod+Shift+5 move container to workspace 5
  55. bindsym $mod+Shift+6 move container to workspace 6
  56. bindsym $mod+Shift+7 move container to workspace 7
  57. bindsym $mod+Shift+8 move container to workspace 8
  58. bindsym $mod+Shift+9 move container to workspace 9
  59. bindsym $mod+Shift+0 move container to workspace 10
  60.  
  61. bindsym $mod+m move scratchpad
  62. bindsym $mod+o scratchpad show
  63.  
  64. bindsym $mod+x move workspace to output right
  65.  
  66. bindsym $mod+Shift+c reload
  67. bindsym $mod+Shift+r restart
  68. bindsym $mod+Shift+e exit
  69.  
  70. # getting the media keys to do something sensible
  71. bindsym XF86AudioLowerVolume exec --no-startup-id /usr/bin/pactl set-sink-volume 0 -2%
  72. bindsym XF86AudioRaiseVolume exec --no-startup-id /usr/bin/pactl set-sink-volume 0 +2%
  73. bindsym XF86AudioMute exec --no-startup-id /usr/bin/pactl set-sink-volume 0 0
  74. bindsym XF86MonBrightnessUp exec --no-startup-id sudo /home/gtca/bin/brightctrl +300
  75. bindsym XF86MonBrightnessDown exec --no-startup-id sudo /home/gtca/bin/brightctrl -300
  76. bindsym XF86AudioPlay exec --no-startup-id /home/gtca/bin/redmore
  77. bindsym XF86AudioPrev exec --no-startup-id /home/gtca/bin/redless
  78. bindsym XF86Launch1 exec --no-startup-id /home/gtca/bin/refresh-monitors
  79. bindsym XF86AudioMicMute exec --no-startup-id /home/gtca/bin/mic-toggle
  80. bindsym $mod+a exec --no-startup-id /home/gtca/bin/pmtoggle
  81. bindsym Print exec scrot -u
  82.  
  83. bar {
  84. font pango:DejaVu Sans Mono Book 10
  85. position top
  86. mode dock
  87. modifier $mod
  88. status_command i3status
  89. tray_output primary
  90. }
  91. bindsym $mod+i bar mode toggle
  92.  
  93.  
  94. bindsym $mod+Return exec i3-sensible-terminal
  95. bindsym $mod+t exec /home/gtca/bin/telegram
  96. bindsym $mod+shift+t exec /home/gtca/bin/tor
  97. bindsym $mod+b exec --no-startup-id ~/bin/ranbg
  98.  
  99. # standard apps
  100. for_window [class="Tk"] floating enable
  101. for_window [class="Gpicview"] floating enable
  102. for_window [class="gnuplot_qt"] floating enable
  103. for_window [class="Tor Browser"] floating enable
  104. for_window [class="Alarm-clock-applet"] floating enable
  105. for_window [window_role="scratch"] move scratchpad
  106. for_window [window_role="initial"] move workspace 8
  107. for_window [class="^.*"] border pixel 1
  108. for_window [floating] move position center
  109. floating_minimum_size 100 x 200
  110. floating_maximum_size 1400 x 850
  111.  
  112. assign [class="Firefox"] workspace 10
  113. assign [class="TelegramDesktop"] workspace 1
  114. assign [class="discord"] workspace 1
  115. assign [class="zoom"] workspace 2
  116.  
  117. exec --no-startup-id setxkbmap -option ctrl:nocaps -variant nodeadkeys && xcape
  118. exec --no-startup-id nm-applet
  119. exec --no-startup-id alarm-clock-applet
  120. exec --no-startup-id ~/bin/ranbg
  121.  
  122. exec --no-startup-id i3-msg 'exec firefox -p gtca'
  123. exec --no-startup-id i3-msg 'exec /home/gtca/bin/telegram'
  124. exec --no-startup-id i3-msg 'exec terminator -r scratch --geometry 900x250'
  125. exec --no-startup-id i3-msg 'exec terminator -r initial'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement