Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2020
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.35 KB | None | 0 0
  1.  
  2. set $mod Mod4
  3.  
  4.  
  5. font pango:System San Francisco Display 10
  6.  
  7. floating_modifier $mod
  8.  
  9. default_border pixel 0
  10.  
  11. hide_edge_borders none
  12.  
  13. ### Gaps ###
  14. set $default_gaps_inner 0
  15. set $default_gaps_outer 0
  16. gaps inner $default_gaps_inner
  17. gaps outer $default_gaps_outer
  18.  
  19. bindsym $mod+Return exec i3-sensible-terminal
  20. bindsym $mod+Shift+q kill
  21. bindsym $mod+d exec rofi -show run
  22. bindsym $mod+j focus left
  23. bindsym $mod+k focus down
  24. bindsym $mod+l focus up
  25. bindsym $mod+semicolon focus right
  26.  
  27. # alternatively, you can use the cursor keys:
  28. bindsym $mod+Left focus left
  29. bindsym $mod+Down focus down
  30. bindsym $mod+Up focus up
  31. bindsym $mod+Right focus right
  32.  
  33. # move focused window
  34. bindsym $mod+Shift+j move left
  35. bindsym $mod+Shift+k move down
  36. bindsym $mod+Shift+l move up
  37. bindsym $mod+Shift+semicolon move right
  38.  
  39. # alternatively, you can use the cursor keys:
  40. bindsym $mod+Shift+Left move left
  41. bindsym $mod+Shift+Down move down
  42. bindsym $mod+Shift+Up move up
  43. bindsym $mod+Shift+Right move right
  44.  
  45. # split in horizontal orientation
  46. bindsym $mod+h split h
  47.  
  48. # split in vertical orientation
  49. bindsym $mod+v split v
  50.  
  51. # enter fullscreen mode for the focused container
  52. bindsym $mod+f fullscreen toggle
  53.  
  54. # change container layout (stacked, tabbed, toggle split)
  55. bindsym $mod+s layout stacking
  56. bindsym $mod+w layout tabbed
  57. bindsym $mod+e layout toggle split
  58.  
  59. # toggle tiling / floating
  60. bindsym $mod+Shift+space floating toggle
  61.  
  62. # change focus between tiling / floating windows
  63. bindsym $mod+space focus mode_toggle
  64.  
  65. # focus the parent container
  66. bindsym $mod+a focus parent
  67.  
  68. # focus the child container
  69. #bindsym $mod+d focus child
  70.  
  71. set $firstMonitor HDMI-0
  72. set $secondMonitor HDMI-1
  73.  
  74. workspace 1 output $firstMonitor
  75. workspace 2 output $firstMonitor
  76. workspace 3 output $firstMonitor
  77. workspace 4 output $firstMonitor
  78. workspace 5 output $firstMonitor
  79. workspace 6 output $secondMonitor
  80. workspace 7 output $secondMonitor
  81. workspace 8 output $secondMonitor
  82. workspace 9 output $secondMonitor
  83. workspace 10 output $secondMonitor
  84.  
  85. # switch to workspace
  86. bindsym $mod+1 workspace 1
  87. bindsym $mod+2 workspace 2
  88. bindsym $mod+3 workspace 3
  89. bindsym $mod+4 workspace 4
  90. bindsym $mod+5 workspace 5
  91. bindsym $mod+6 workspace 6
  92. bindsym $mod+7 workspace 7
  93. bindsym $mod+8 workspace 8
  94. bindsym $mod+9 workspace 9
  95. bindsym $mod+0 workspace 10
  96.  
  97. # move focused container to workspace
  98. bindsym $mod+Shift+1 move container to workspace 1
  99. bindsym $mod+Shift+2 move container to workspace 2
  100. bindsym $mod+Shift+3 move container to workspace 3
  101. bindsym $mod+Shift+4 move container to workspace 4
  102. bindsym $mod+Shift+5 move container to workspace 5
  103. bindsym $mod+Shift+6 move container to workspace 6
  104. bindsym $mod+Shift+7 move container to workspace 7
  105. bindsym $mod+Shift+8 move container to workspace 8
  106. bindsym $mod+Shift+9 move container to workspace 9
  107. bindsym $mod+Shift+0 move container to workspace 10
  108.  
  109. # reload the configuration file
  110. bindsym $mod+Shift+c reload
  111. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  112. bindsym $mod+Shift+r restart
  113. # exit i3 (logs you out of your X session)
  114. 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'"
  115.  
  116. # resize window (you can also use the mouse for that)
  117. mode "resize" {
  118.         # These bindings trigger as soon as you enter the resize mode
  119.  
  120.         # Pressing left will shrink the window’s width.
  121.         # Pressing right will grow the window’s width.
  122.         # Pressing up will shrink the window’s height.
  123.         # Pressing down will grow the window’s height.
  124.         bindsym j resize shrink width 10 px or 10 ppt
  125.         bindsym k resize grow height 10 px or 10 ppt
  126.         bindsym l resize shrink height 10 px or 10 ppt
  127.         bindsym semicolon resize grow width 10 px or 10 ppt
  128.  
  129.         # same bindings, but for the arrow keys
  130.         bindsym Left resize shrink width 1 px or 1 ppt
  131.         bindsym Down resize grow height 1 px or 1 ppt
  132.         bindsym Up resize shrink height 1 px or 1 ppt
  133.         bindsym Right resize grow width 1 px or 1 ppt
  134.  
  135.         # back to normal: Enter or Escape
  136.         bindsym Return mode "default"
  137.         bindsym Escape mode "default"
  138. }
  139.  
  140. bindsym $mod+r mode "resize"
  141. bindsym $mod+p exec --no-startup-id ~/.config/rofi/scripts/powermenu.sh
  142.  
  143. # class                 border  backgr. text    indicator
  144. client.focused          #f56e3d #efe8d5 #323232 #78824B
  145. client.focused_inactive #f56e3d #3d3c3b #fff #78824B
  146. client.unfocused        #f56e3d #3d3c3b #fff #78824B
  147. client.urgent           #ce2e2e #ce2e2e #fff #78824B
  148.  
  149. set $HOME /home/darteil
  150.  
  151. bindsym Print exec "flameshot gui"
  152. bindsym $mod+n exec "~/.joplin/Joplin.AppImage"
  153.  
  154. exec_always --no-startup-id xrdb $HOME/.Xresources
  155. exec_always --no-startup-id feh --bg-fill $HOME/Images/fon2.jpg --bg-fill $HOME/Images/fon3.jpg
  156. exec_always --no-startup-id numlockx on
  157. exec_always --no-startup-id xfce4-power-manager
  158. exec_always --no-startup-id xinput --set-prop 12 'libinput Accel Speed' -0.8
  159. exec_always --no-startup-id $HOME/.config/polybar/launch.sh
  160. exec --no-startup-id i3-msg workspace 1
  161. exec --no-startup-id megasync
  162. exec --no-startup-id udiskie -ans &
  163. exec --no-startup-id nvidia-settings --load-config-only
  164. exec --no-startup-id dunst
  165. exec --no-startup-id compton --config $HOME/.config/compton.conf -b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement