Guest User

conf

a guest
Dec 10th, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # GENERAL {
  2.  
  3. # Mod1 = Alt, Mod4 = Windows
  4. set $mod Mod1
  5. set $alt Mod4
  6. set $term xterm
  7. set $bw 0
  8.  
  9. font pango:monospace 8
  10.  
  11. default_orientation auto
  12. focus_follows_mouse no
  13. new_window pixel $bw
  14.  
  15. # }
  16.  
  17.  
  18. # KEYBINDINGS {
  19.  
  20. # Start a terminal
  21. bindsym $mod+Return exec $term
  22.  
  23. # Kill focused container
  24. bindsym $mod+Shift+q kill
  25.  
  26. # Start dmenu
  27. bindsym $mod+d exec dmenu_run
  28.  
  29. # Fullscren focused container
  30. bindsym $mod+f fullscreen toggle
  31.  
  32. # Toggle split
  33. bindsym $mod+x layout toggle split
  34.  
  35. # Change focus
  36. bindsym $mod+Left focus left
  37. bindsym $mod+Down focus down
  38. bindsym $mod+Up focus up
  39. bindsym $mod+Right focus right
  40.  
  41. # Move focused container
  42. bindsym $mod+Shift+Left move left
  43. bindsym $mod+Shift+Down move down
  44. bindsym $mod+Shift+Up move up
  45. bindsym $mod+Shift+Right move right
  46.  
  47. # Reload/Restart/Exit
  48. bindsym $mod+Shift+c reload
  49. bindsym $mod+Shift+r restart
  50. #bindsym $mod+Shift+e exit
  51.  
  52. # }
  53.  
  54.  
  55. # USER KEYBINDINGS {
  56.  
  57. # Lock screen
  58. bindsym $alt+l exec "~/bin/scripts/lockScreen.sh"
  59.  
  60. # Take screenshot
  61. bindsym Print exec scrot -e 'mv $f ~/Pictures/screenshots'
  62.  
  63. # Raise/Lower/Mute/Unmute volume
  64. bindsym XF86AudioRaiseVolume exec "amixer -q sset Master 3%+"
  65. bindsym XF86AudioLowerVolume exec "amixer -q sset Master 3%-"
  66. bindsym XF86AudioMute exec "amixer -q sset Master toggle"
  67.  
  68. # }
  69.  
  70.  
  71. # AUTOSTART {
  72.  
  73. # Restore wallpaper
  74. exec --no-startup-id nitrogen --restore
  75.  
  76. # Load .Xresources
  77. exec --no-startup-id xrdb ~/.Xresources
  78.  
  79. # Lock screen
  80. exec --no-startup-id "~/bin/scripts/boot/lockScreen.sh"
  81.  
  82. # Mount FTP
  83. #exec --no-startup-id curlftpfs user:pass@ip ~/Videos/ftp
  84.  
  85. # Sync clipboard
  86. exec --no-startup-id autocutsel
  87. exec --no-startup-id autocutsel -s PRIMARY
  88.  
  89. # }
  90.  
  91.  
  92. # WORKSPACES {
  93.  
  94. # Change container layout
  95. #bindsym $mod+s layout stacking
  96. #bindsym $mod+w layout tabbed
  97. #bindsym $mod+e layout toggle split
  98.  
  99. # Switch to workspace
  100. bindsym $mod+1 workspace 1
  101. bindsym $mod+2 workspace 2
  102. bindsym $mod+3 workspace 3
  103. bindsym $mod+4 workspace 4
  104. bindsym $mod+5 workspace 5
  105. bindsym $mod+6 workspace 6
  106. bindsym $mod+7 workspace 7
  107. bindsym $mod+8 workspace 8
  108. bindsym $mod+9 workspace 9
  109. bindsym $mod+0 workspace 10
  110.  
  111. # Move focused container to workspace
  112. bindsym $mod+Shift+1 move container to workspace 1
  113. bindsym $mod+Shift+2 move container to workspace 2
  114. bindsym $mod+Shift+3 move container to workspace 3
  115. bindsym $mod+Shift+4 move container to workspace 4
  116. bindsym $mod+Shift+5 move container to workspace 5
  117. bindsym $mod+Shift+6 move container to workspace 6
  118. bindsym $mod+Shift+7 move container to workspace 7
  119. bindsym $mod+Shift+8 move container to workspace 8
  120. bindsym $mod+Shift+9 move container to workspace 9
  121. bindsym $mod+Shift+0 move container to workspace 10
  122.  
  123. # Switch workspace
  124. bindsym $mod+Tab workspace next
  125. bindsym $mod+Shift+Tab workspace prev
  126.  
  127. # }
Add Comment
Please, Sign In to add comment