Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 KB | None | 0 0
  1. # This file has been auto-generated by i3-config-wizard(1).
  2. # It will not be overwritten, so edit it as you like.
  3. #
  4. # Should you change your keyboard layout somewhen, delete
  5. # this file and re-run i3-config-wizard(1).
  6.  
  7. font pango Hasklug Nerd Font Mono 11
  8. #
  9. gaps inner 10
  10. smart_gaps on
  11. smart_borders on
  12. for_window [class=".*"] border pixel 0
  13.  
  14. exec i3-msg workspace 1 ; i3-msg exec firefox
  15. #exec --no-startup-id nitrogen --restore #wallpaper
  16. exec --no-startup-id xsetroot -solid "#c79081"
  17. exec --no-startup-id gnome-settings-daemon
  18. exec --no-startup-id xrandr --output LVDS-1 --above HDMI-2
  19. # i3 config file (v4)
  20. #
  21. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  22. # bindsym $mod+s exec env XDG_CURRENT_DESKTOP=GNOME gnome-control-center
  23. set $mod Mod4
  24.  
  25. bindsym --release $mod+s exec "scrot $(date --iso-8601='seconds').png -s -e 'xclip -selection c -t image/png < $f'"
  26. #bindsym $mod+ exec "/home/oskar/hibernate"
  27.  
  28. # Font for window titles. Will also be used by the bar unless a different font
  29. # is used in the bar {} block below. ISO 10646 = Unicode
  30. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  31. # The font above is very space-efficient, that is, it looks good, sharp and
  32. # clear in small sizes. However, if you need a lot of unicode glyphs or
  33. # right-to-left text rendering, you should instead use pango for rendering and
  34. # chose a FreeType font, such as:
  35. # font pango:DejaVu Sans Mono 10
  36.  
  37. # Use Mouse+$mod to drag floating windows to their wanted position
  38. floating_modifier $mod
  39.  
  40. # start a terminal
  41. bindsym $mod+Return exec i3-sensible-terminal
  42. #bindsym $mod+Return exec gnome-terminal
  43.  
  44.  
  45. # kill focused window
  46. bindsym $mod+q kill
  47.  
  48. # start dmenu (a program launcher)
  49. bindsym $mod+d exec dmenu_run
  50. # There also is the (new) i3-dmenu-desktop which only displays applications
  51. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  52. # installed.
  53. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  54.  
  55. bindsym $mod+y move container to output eDP1
  56. bindsym $mod+x move container to output DP2
  57. bindsym $mod+n exec nautilus --no-desktop
  58.  
  59.  
  60. bindsym XF86Display exec "scrot ~/Downloads/Screenshot%Y-%m-%d%H:%M:%S.png"
  61.  
  62.  
  63. # change focus
  64. bindsym $mod+j focus left
  65. bindsym $mod+k focus down
  66. #bindsym $mod+l focus up
  67. bindsym $mod+l exec i3lock-fancy -gpf Comic-Sans-MS -- scrot -z
  68. #bindsym $mod+l exec "gnome-screensaver-command --lock "
  69. bindsym $mod+odiaeresis focus right
  70.  
  71. # alternatively, you can use the cursor keys:
  72. bindsym $mod+Left focus left
  73. bindsym $mod+Down focus down
  74. bindsym $mod+Up focus up
  75. bindsym $mod+Right focus right
  76.  
  77. # move focused window
  78. bindsym $mod+Shift+j move left
  79. bindsym $mod+Shift+k move down
  80. bindsym $mod+Shift+l move up
  81. bindsym $mod+Shift+odiaeresis move right
  82.  
  83. # alternatively, you can use the cursor keys:
  84. bindsym $mod+Shift+Left move left
  85. bindsym $mod+Shift+Down move down
  86. bindsym $mod+Shift+Up move up
  87. bindsym $mod+Shift+Right move right
  88.  
  89. # split in horizontal orientation
  90. bindsym $mod+h split h
  91.  
  92. # split in vertical orientation
  93. bindsym $mod+v split v
  94.  
  95. # enter fullscreen mode for the focused container
  96. bindsym $mod+f fullscreen
  97.  
  98. # change container layout (stacked, tabbed, toggle split)
  99. #bindsym $mod+s layout stacking
  100. bindsym $mod+w layout tabbed
  101. bindsym $mod+e layout toggle split
  102.  
  103. # toggle tiling / floating
  104. bindsym $mod+Shift+space floating toggle
  105.  
  106. # change focus between tiling / floating windows
  107. bindsym $mod+space focus mode_toggle
  108.  
  109. # focus the parent container
  110. bindsym $mod+a focus parent
  111.  
  112. # focus the child container
  113. #bindsym $mod+d focus child
  114.  
  115. # switch to workspace
  116. bindsym $mod+1 workspace 1
  117. bindsym $mod+2 workspace 2
  118. bindsym $mod+3 workspace 3
  119. bindsym $mod+4 workspace 4
  120. bindsym $mod+5 workspace 5
  121. bindsym $mod+6 workspace 6
  122. bindsym $mod+7 workspace 7
  123. bindsym $mod+8 workspace 8
  124. bindsym $mod+9 workspace 9
  125. bindsym $mod+0 workspace 10
  126.  
  127. # move focused container to workspace
  128. bindsym $mod+Shift+1 move container to workspace 1
  129. bindsym $mod+Shift+2 move container to workspace 2
  130. bindsym $mod+Shift+3 move container to workspace 3
  131. bindsym $mod+Shift+4 move container to workspace 4
  132. bindsym $mod+Shift+5 move container to workspace 5
  133. bindsym $mod+Shift+6 move container to workspace 6
  134. bindsym $mod+Shift+7 move container to workspace 7
  135. bindsym $mod+Shift+8 move container to workspace 8
  136. bindsym $mod+Shift+9 move container to workspace 9
  137. bindsym $mod+Shift+0 move container to workspace 10
  138.  
  139. # reload the configuration file
  140. bindsym $mod+Shift+c reload
  141. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  142. bindsym $mod+Shift+r restart
  143. # exit i3 (logs you out of your X session)
  144. 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'"
  145.  
  146. # resize window (you can also use the mouse for that)
  147. mode "resize" {
  148. # These bindings trigger as soon as you enter the resize mode
  149.  
  150. # Pressing left will shrink the window’s width.
  151. # Pressing right will grow the window’s width.
  152. # Pressing up will shrink the window’s height.
  153. # Pressing down will grow the window’s height.
  154. bindsym j resize shrink width 10 px or 10 ppt
  155. bindsym k resize grow height 10 px or 10 ppt
  156. bindsym l resize shrink height 10 px or 10 ppt
  157. bindsym odiaeresis resize grow width 10 px or 10 ppt
  158.  
  159. # same bindings, but for the arrow keys
  160. bindsym Left resize shrink width 10 px or 10 ppt
  161. bindsym Down resize grow height 10 px or 10 ppt
  162. bindsym Up resize shrink height 10 px or 10 ppt
  163. bindsym Right resize grow width 10 px or 10 ppt
  164.  
  165. # back to normal: Enter or Escape
  166. bindsym Return mode "default"
  167. bindsym Escape mode "default"
  168. }
  169.  
  170. bindsym $mod+r mode "resize"
  171.  
  172. # Start i3bar to display a workspace bar (plus the system information i3status
  173. # finds out, if available)
  174. #285577
  175. bar {
  176. status_command i3blocks
  177. position top
  178. colors {
  179. background #000000
  180. statusline #515f66 #that neon blue
  181. separator #666666
  182.  
  183. #focused_workspace #4c7899 #000080 #ffffff
  184. focused_workspace #515f66 #515f66 #ffffff
  185. active_workspace #333333 #5f676a #ffffff
  186. inactive_workspace #333333 #222222 #888888
  187. urgent_workspace #2f343a #900000 #ffffff
  188. }
  189. }
  190. client.focused #000000 #020e13 #fdf6e3 #6c71c4
  191.  
  192. exec --no-startup-id nm-applet
  193.  
  194.  
  195. # Pulse Audio controls
  196. #bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% #increase sound volume
  197. #bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5% #decrease sound volume
  198.  
  199. # Sreen brightness controls
  200. #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  201. #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  202.  
  203. # Touchpad controls
  204. #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  205.  
  206. # Media player controls
  207. bindsym XF86AudioPlay exec playerctl play
  208. bindsym XF86AudioPause exec playerctl pause
  209. bindsym XF86AudioNext exec playerctl next
  210. bindsym XF86AudioPrev exec playerctl previous
  211.  
  212.  
  213. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle # mute sound
  214.  
  215. bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && killall -USR1 i3status
  216. bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && killall -USR1 i3status
  217.  
  218.  
  219. bindsym XF86MonBrightnessUp exec xbacklight -inc 15 # increase screen brightness
  220. bindsym XF86MonBrightnessDown exec xbacklight -dec 15 # decrease screen brightness
  221.  
  222. bindsym $mod+m move workspace to output up
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement