Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. set $mod Mod4
  2.  
  3. # Font for window titles. Will also be used by the bar unless a different font
  4. # is used in the bar {} block below.
  5. font pango:monospace 8
  6.  
  7. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  8. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  9. #font pango:DejaVu Sans Mono 8
  10.  
  11. # Before i3 v4.8, we used to recommend this one as the default:
  12. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  13. # The font above is very space-efficient, that is, it looks good, sharp and
  14. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  15. # X core fonts rendering does not support right-to-left and this being a bitmap
  16. # font, it doesn’t scale on retina/hidpi displays.
  17.  
  18. # Use Mouse+$mod to drag floating windows to their wanted position
  19. floating_modifier $mod
  20.  
  21. # start a terminal
  22. bindsym $mod+Return exec i3-sensible-terminal
  23.  
  24. # kill focused window
  25. bindsym $mod+Shift+q kill
  26.  
  27. # start rofi
  28. bindsym $mod+F2 exec rofi -location 2 -yoffset 22 -width 100 -show run -lines 8
  29. bindsym $mod+d exec rofi -location 2 -yoffset 22 -width 100 -show drun -lines 8 -show-icons
  30.  
  31. # change focus
  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. # move focused window
  38. bindsym $mod+Shift+Left move left
  39. bindsym $mod+Shift+Down move down
  40. bindsym $mod+Shift+Up move up
  41. bindsym $mod+Shift+Right move right
  42.  
  43. # split in horizontal orientation
  44. bindsym $mod+h split h
  45.  
  46. # split in vertical orientation
  47. bindsym $mod+v split v
  48.  
  49. # enter fullscreen mode for the focused container
  50. bindsym $mod+f fullscreen toggle
  51.  
  52. # change container layout (stacked, tabbed, toggle split)
  53. bindsym $mod+s layout stacking
  54. bindsym $mod+w layout tabbed
  55. bindsym $mod+e layout toggle split
  56.  
  57. # toggle tiling / floating
  58. bindsym $mod+Shift+space floating toggle
  59.  
  60. # change focus between tiling / floating windows
  61. bindsym $mod+space focus mode_toggle
  62.  
  63. # focus the parent container
  64. bindsym $mod+a focus parent
  65.  
  66. # focus the child container
  67. #bindsym $mod+d focus child
  68.  
  69. # Define names for default workspaces for which we configure key bindings later on.
  70. # We use variables to avoid repeating the names in multiple places.
  71. set $ws1 "1"
  72. set $ws2 "2"
  73. set $ws3 "3"
  74. set $ws4 "4"
  75. set $ws5 "5"
  76. set $ws6 "6"
  77. set $ws7 "7"
  78. set $ws8 "8"
  79. set $ws9 "9"
  80. set $ws10 "10"
  81.  
  82. # switch to workspace
  83. bindsym $mod+1 workspace $ws1
  84. bindsym $mod+2 workspace $ws2
  85. bindsym $mod+3 workspace $ws3
  86. bindsym $mod+4 workspace $ws4
  87. bindsym $mod+5 workspace $ws5
  88. bindsym $mod+6 workspace $ws6
  89. bindsym $mod+7 workspace $ws7
  90. bindsym $mod+8 workspace $ws8
  91. bindsym $mod+9 workspace $ws9
  92. bindsym $mod+0 workspace $ws10
  93.  
  94. # move focused container to workspace
  95. bindsym $mod+Shift+1 move container to workspace $ws1
  96. bindsym $mod+Shift+2 move container to workspace $ws2
  97. bindsym $mod+Shift+3 move container to workspace $ws3
  98. bindsym $mod+Shift+4 move container to workspace $ws4
  99. bindsym $mod+Shift+5 move container to workspace $ws5
  100. bindsym $mod+Shift+6 move container to workspace $ws6
  101. bindsym $mod+Shift+7 move container to workspace $ws7
  102. bindsym $mod+Shift+8 move container to workspace $ws8
  103. bindsym $mod+Shift+9 move container to workspace $ws9
  104. bindsym $mod+Shift+0 move container to workspace $ws10
  105. bindsym $mod+plus move scratchpad
  106. bindsym $mod+Shift+plus scratchpad show
  107. # reload the configuration file
  108. bindsym $mod+Shift+c reload
  109. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  110. bindsym $mod+Shift+r restart
  111. # exit i3 (logs you out of your X session)
  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 (you can also use the mouse for that)
  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 or $mod+r
  122. bindsym Return mode "default"
  123. bindsym Escape mode "default"
  124. bindsym $mod+r mode "default"
  125. }
  126.  
  127. bindsym $mod+r mode "resize"
  128. exec udisksctl mount -b /dev/sda4 "Datos"
  129. exec_always --no-startup-id $HOME/.config/polybar/launch2.sh
  130. exec --no-startup-id synclient VertScrollDelta=-113 HorizScrollDelta=-113 TapButton3=2
  131. for_window [class="^.*"] border pixel 0
  132. gaps inner 9
  133. gaps outer 7
  134. #gaps top 6
  135. focus_follows_mouse no
  136. exec xinput --set-prop 12 "Synaptics Two-Finger Scrolling" 1 1
  137. exec_always --no-startup-id compton
  138. exec xbindkeys -f .xbindkeysrc-i3
  139. exec fusuma
  140. exec onedrived start
  141. exec guake
  142. for_window [class="Pavucontrol"] floating enable
  143. for_window [class="Org.gnome.Characters"] floating enable
  144. for_window [class="Gnome-system-monitor"] floating enable
  145. exec "sh -c 'sleep 5; exec bash $HOME/.bateria.sh'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement