Guest User

Untitled

a guest
Nov 5th, 2022
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.80 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 some time, delete
  5. # this file and re-run i3-config-wizard(1).
  6. #
  7.  
  8. # i3 config file (v4)
  9. #
  10. # Please see https://i3wm.org/docs/userguide.html for a complete reference!
  11.  
  12. set $mod Mod4
  13.  
  14. # Font for window titles. Will also be used by the bar unless a different font
  15. # is used in the bar {} block below.
  16. #font pango:monospace 8
  17. #font pango:xos4 Terminus 8
  18. font pango:Terminus Regular 9
  19. #font pango:BigBlue_TerminalPlus Nerd Font Mono Book 9
  20.  
  21. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  22. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  23. #font pango:DejaVu Sans Mono 8
  24. #font pango:DejaVu Sans Mono Book 9
  25. #font pango:EFNMacStyle8px 12
  26. #font pango:JetBrains Mono Regular 9
  27.  
  28. # Before i3 v4.8, we used to recommend this one as the default:
  29. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  30. # The font above is very space-efficient, that is, it looks good, sharp and
  31. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  32. # X core fonts rendering does not support right-to-left and this being a bitmap
  33. # font, it doesn’t scale on retina/hidpi displays.
  34.  
  35. # Start XDG autostart .desktop files using dex. See also
  36. # https://wiki.archlinux.org/index.php/XDG_Autostart
  37. #exec --no-startup-id dex --autostart --environment i3
  38.  
  39. # The combination of xss-lock, nm-applet and pactl is a popular choice, so
  40. # they are included here as an example. Modify as you see fit.
  41.  
  42. # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
  43. # screen before suspend. Use loginctl lock-session to lock your screen.
  44. #exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
  45.  
  46. # NetworkManager is the most popular way to manage wireless networks on Linux,
  47. # and nm-applet is a desktop environment-independent system tray GUI for it.
  48. #exec --no-startup-id nm-applet
  49.  
  50. # Use pactl to adjust volume in PulseAudio.
  51. #set $refresh_i3status killall -SIGUSR1 i3status
  52. #bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
  53. #bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
  54. #bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
  55. #bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
  56.  
  57. # Use amixer to adjust volume in AlsaAudio.
  58. #set $refresh_i3status killall -SIGUSR1 i3status
  59. bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q sset Speaker 3%+
  60. bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q sset Speaker 3%-
  61. bindsym XF86AudioMute exec --no-startup-id amixer -q sset Speaker toggle
  62.  
  63. # Use Mouse+$mod to drag floating windows to their wanted position
  64. floating_modifier $mod
  65.  
  66. # start a terminal
  67. #bindsym $mod+Return exec i3-sensible-terminal
  68. bindsym $mod+Return exec --no-startup-id urxvtc
  69.  
  70. # kill focused window
  71. #bindsym $mod+Shift+q kill
  72. bindsym $mod+c kill
  73. bindsym --whole-window button2 kill
  74.  
  75. # start dmenu (a program launcher)
  76. #bindsym $mod+d exec --no-startup-id dmenu_run
  77. #bindsym $mod+d exec --no-startup-id dmenu_run -fn 'xos4 Terminus-8'
  78. bindsym $mod+d exec --no-startup-id dmenu_run -fn 'Terminus-9' -sb '#b22b00'
  79. # A more modern dmenu replacement is rofi:
  80. # bindcode $mod+40 exec "rofi -modi drun,run -show drun"
  81. # There also is i3-dmenu-desktop which only displays applications shipping a
  82. # .desktop file. It is a wrapper around dmenu, so you need that installed.
  83. # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
  84.  
  85. # change focus
  86. bindsym $mod+j focus left
  87. bindsym $mod+k focus down
  88. bindsym $mod+l focus up
  89. bindsym $mod+semicolon focus right
  90.  
  91. # alternatively, you can use the cursor keys:
  92. bindsym $mod+Left focus left
  93. bindsym $mod+Down focus down
  94. bindsym $mod+Up focus up
  95. bindsym $mod+Right focus right
  96.  
  97. # move focused window
  98. bindsym $mod+Shift+j move left
  99. bindsym $mod+Shift+k move down
  100. bindsym $mod+Shift+l move up
  101. bindsym $mod+Shift+semicolon move right
  102.  
  103. # alternatively, you can use the cursor keys:
  104. bindsym $mod+Shift+Left move left
  105. bindsym $mod+Shift+Down move down
  106. bindsym $mod+Shift+Up move up
  107. bindsym $mod+Shift+Right move right
  108.  
  109. # split in horizontal orientation
  110. bindsym $mod+h split h
  111.  
  112. # split in vertical orientation
  113. bindsym $mod+v split v
  114.  
  115. # enter fullscreen mode for the focused container
  116. bindsym $mod+f fullscreen toggle
  117.  
  118. # change container layout (stacked, tabbed, toggle split)
  119. bindsym $mod+s layout stacking
  120. bindsym $mod+w layout tabbed
  121. bindsym $mod+e layout toggle split
  122.  
  123. # toggle tiling / floating
  124. bindsym $mod+Shift+space floating toggle
  125.  
  126. # change focus between tiling / floating windows
  127. bindsym $mod+space focus mode_toggle
  128.  
  129. # focus the parent container
  130. bindsym $mod+a focus parent
  131.  
  132. # focus the child container
  133. #bindsym $mod+d focus child
  134.  
  135. # move the currently focused window to the scratchpad
  136. #bindsym $mod+Shift+minus move scratchpad
  137.  
  138. # Show the next scratchpad window or hide the focused scratchpad window.
  139. # If there are multiple scratchpad windows, this command cycles through them.
  140. #bindsym $mod+minus scratchpad show
  141.  
  142. # Define names for default workspaces for which we configure key bindings later on.
  143. # We use variables to avoid repeating the names in multiple places.
  144. set $ws1 "1"
  145. set $ws2 "2"
  146. set $ws3 "3"
  147. set $ws4 "4"
  148. set $ws5 "5"
  149. set $ws6 "6"
  150. set $ws7 "7"
  151. set $ws8 "8"
  152. set $ws9 "9"
  153. set $ws10 "10"
  154.  
  155. # switch to workspace
  156. bindsym $mod+1 workspace number $ws1
  157. bindsym $mod+2 workspace number $ws2
  158. bindsym $mod+3 workspace number $ws3
  159. bindsym $mod+4 workspace number $ws4
  160. bindsym $mod+5 workspace number $ws5
  161. bindsym $mod+6 workspace number $ws6
  162. bindsym $mod+7 workspace number $ws7
  163. bindsym $mod+8 workspace number $ws8
  164. bindsym $mod+9 workspace number $ws9
  165. bindsym $mod+0 workspace number $ws10
  166.  
  167. # move focused container to workspace
  168. bindsym $mod+Shift+1 move container to workspace number $ws1
  169. bindsym $mod+Shift+2 move container to workspace number $ws2
  170. bindsym $mod+Shift+3 move container to workspace number $ws3
  171. bindsym $mod+Shift+4 move container to workspace number $ws4
  172. bindsym $mod+Shift+5 move container to workspace number $ws5
  173. bindsym $mod+Shift+6 move container to workspace number $ws6
  174. bindsym $mod+Shift+7 move container to workspace number $ws7
  175. bindsym $mod+Shift+8 move container to workspace number $ws8
  176. bindsym $mod+Shift+9 move container to workspace number $ws9
  177. bindsym $mod+Shift+0 move container to workspace number $ws10
  178.  
  179. # reload the configuration file
  180. bindsym $mod+Shift+c reload
  181. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  182. bindsym $mod+Shift+r restart
  183. # exit i3 (logs you out of your X session)
  184. #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'"
  185. #bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -fn 'xos4 Terminus-8' -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'"
  186. bindsym $mod+q exec i3-msg exit
  187.  
  188. # resize window (you can also use the mouse for that)
  189. mode "resize" {
  190. # These bindings trigger as soon as you enter the resize mode
  191.  
  192. # Pressing left will shrink the window’s width.
  193. # Pressing right will grow the window’s width.
  194. # Pressing up will shrink the window’s height.
  195. # Pressing down will grow the window’s height.
  196. bindsym j resize shrink width 10 px or 10 ppt
  197. bindsym k resize grow height 10 px or 10 ppt
  198. bindsym l resize shrink height 10 px or 10 ppt
  199. bindsym semicolon resize grow width 10 px or 10 ppt
  200.  
  201. # same bindings, but for the arrow keys
  202. bindsym Left resize shrink width 10 px or 10 ppt
  203. bindsym Down resize grow height 10 px or 10 ppt
  204. bindsym Up resize shrink height 10 px or 10 ppt
  205. bindsym Right resize grow width 10 px or 10 ppt
  206.  
  207. # back to normal: Enter or Escape or $mod+r
  208. bindsym Return mode "default"
  209. bindsym Escape mode "default"
  210. bindsym $mod+r mode "default"
  211. }
  212.  
  213. bindsym $mod+r mode "resize"
  214.  
  215. # Start i3bar to display a workspace bar (plus the system information i3status
  216. # finds out, if available)
  217. #bar { *
  218. # font pango:DejaVu Sans Mono Book 9
  219. # font pango:Terminus Regular 8
  220. # status_command i3status
  221. # status_command exec /usr/local/bin/i3status/contrib/net-speed.sh *
  222. # separator_symbol ":|:"
  223. # mode invisible
  224.  
  225. # colors { *
  226. # background #000000 *
  227. # background #212121
  228. # statusline #ffffff
  229. # statusline #888888 *
  230. # separator #666666
  231.  
  232. # focused_workspace #4c7899 #285577 #ffffff
  233. # focused_workspace #333333 #222222 #f0dfaf *
  234. # active_workspace #333333 #5f676a #ffffff
  235. # active_workspace #333333 #5f676a #888888
  236. # inactive_workspace #333333 #222222 #888888
  237. # urgent_workspace #2f343a #900000 #ffffff
  238. # binding_mode #2f343a #900000 #ffffff
  239. # } *
  240. #} *
  241.  
  242. # class border backgr. text indicator child_border
  243. #client.focused #4c7899 #285577 #ffffff #2e9ef4 #285577
  244. client.focused #5f676a #5f676a #c0c0c0 #5f676a #5f676a
  245. #client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
  246. client.focused_inactive #5f676a #5f676a #c0c0c0 #5f676a #5f676a
  247. #client.unfocused #333333 #222222 #888888 #292d2e #222222
  248. client.unfocused #5f676a #5f676a #c0c0c0 #5f676a #5f676a
  249. #client.urgent #2f343a #900000 #ffffff #900000 #900000
  250. #client.background #ffffff
  251.  
  252. # bar colors
  253. #bar {
  254. # colors {
  255. # background #000000
  256. # statusline #ffffff
  257. # separator #666666
  258.  
  259. # focused_workspace #4c7899 #285577 #ffffff
  260. # active_workspace #333333 #5f676a #ffffff
  261. # inactive_workspace #333333 #222222 #888888
  262. # urgent_workspace #2f343a #900000 #ffffff
  263. # binding_mode #2f343a #900000 #ffffff
  264. # }
  265. #}
  266.  
  267. bindsym --release Print exec --no-startup-id import ~/vrmscreeni3/latest-screenshot.png
  268. default_border pixel 1
  269. default_floating_border pixel 1
  270. focus_follows_mouse no
  271. #hide_edge_borders none|vertical|horizontal|both|smart
  272. exec --no-startup-id compton -b
  273. exec --no-startup-id feh --bg-scale ~/wallpapersi3/fon-i3.png
  274. #exec --no-startup-id sleep 2 && xxkb & *
  275. exec --no-startup-id urxvtd --quiet --opendisplay --fork &
  276. #bindsym $mod+m exec --no-startup-id firefox
  277. # Toggle between dock mode and hide mode
  278. #bindsym $mod+m bar mode toggle
  279. # Toggle between hide state and show state
  280. #bindsym $mod+m bar hidden_state toggle
Add Comment
Please, Sign In to add comment