Wrigs

i3 config

May 19th, 2024 (edited)
1,174
0
Never
11
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.47 KB | None | 0 0
  1. ################################################################################
  2. #
  3. #   __  __    __
  4. #   \ \/ / /\ \ \
  5. #    \ \ \/  \/ /
  6. # /\_/ /\  /\  /
  7. # \___/  \/  \/  
  8. #
  9. # This file has been auto-generated by i3-config-wizard(1).
  10. # It will not be overwritten, so edit it as you like.
  11. #
  12. # Should you change your keyboard layout some time, delete
  13. # this file and re-run i3-config-wizard(1).
  14. #
  15. # i3 config file (v4)
  16. #
  17. # See http://i3wm.org/docs/userguide.html for a complete reference!
  18. #
  19. ################################################################################
  20.  
  21. # Last update: Mar 20, 2026
  22.  
  23. ################################################################################
  24. # KEY DEFINITIONS TO REMEMBER
  25. ################################################################################
  26.  
  27. # $Mod = WINDOWS key or Super key or Mod4
  28. # Mod1 = ALT key
  29. # Control = CTRL key
  30. # Shift = SHIFT key
  31. # Escape = ESCAPE key
  32. # Return = ENTER or RETURN key
  33. # KP_Enter = Keypad Enter
  34. # Pause = PAUSE key
  35. # Print = PRINT key
  36. # Tab = TAB key
  37.  
  38. # Variables
  39. set $myBrowser brave-browser
  40. set $myEditor subl
  41. set $myFM thunar
  42. set $myTerm alacritty
  43.  
  44.  
  45. ################################################################################
  46. # Define the $mod variable/key
  47. ################################################################################
  48. set $mod Mod4
  49.  
  50.  
  51. ################################################################################
  52. # Choose the font
  53. ################################################################################
  54. # Font for window titles. Will also be used by the bar unless a different font
  55. # is used in the bar {} block below.
  56. # font pango:adwaita mono 10
  57. # font pango:jetbrainsmono nerd font mono 10
  58. font pango:martianmono nerd font propo 10
  59.  
  60. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  61. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  62. #font pango:DejaVu Sans Mono 10
  63. ################################################################################
  64.  
  65.  
  66. # Start XDG autostart .desktop files using dex. See also
  67. # https://wiki.archlinux.org/index.php/XDG_Autostart
  68. exec --no-startup-id dex-autostart --autostart --environment i3
  69.  
  70. # The combination of xss-lock, nm-applet and pactl is a popular choice, so
  71. # they are included here as an example. Modify as you see fit.
  72.  
  73. # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
  74. # screen before suspend. Use loginctl lock-session to lock your screen.
  75. exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
  76.  
  77. # NetworkManager is the most popular way to manage wireless networks on Linux,
  78. # and nm-applet is a desktop environment-independent system tray GUI for it.
  79. exec --no-startup-id nm-applet
  80.  
  81.  
  82. ################################################################################
  83. # Use pactl to adjust volume in PulseAudio.
  84. ################################################################################
  85. set $refresh_i3status killall -SIGUSR1 i3status
  86. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
  87. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
  88. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
  89. bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
  90.  
  91. # Use Mouse+$mod to drag floating windows to their wanted position
  92. floating_modifier $mod
  93.  
  94.  
  95. ################################################################################
  96. # Stopping an application
  97. ################################################################################
  98. # kill focused window
  99. bindsym $mod+q kill
  100. bindsym $mod+Shift+q kill
  101.  
  102.  
  103. ################################################################################
  104. # Menus in i3
  105. ################################################################################
  106.  
  107. # start dmenu (a program launcher)
  108. bindsym $mod+d exec --no-startup-id "dmenu_run -nf '#BBBBBB' -nb '#222222' -sb '#005577' -sf '#EEEEEE' -fn 'monospace-10'"
  109.  
  110. # There also is i3-dmenu-desktop which only displays applications shipping a
  111. # .desktop file. It is a wrapper around dmenu, so you need that installed.
  112. bindsym $mod+Ctrl+d exec --no-startup-id i3-dmenu-desktop
  113.  
  114. # A more modern dmenu replacement is rofi:
  115. bindsym $mod+Ctrl+r exec --no-startup-id "rofi -show drun -show-icons -icon-theme 'Papirus'"
  116.  
  117. # Switch application windows with Rofi:
  118. bindsym $mod+F11 exec --no-startup-id "rofi -show window"
  119.  
  120. # start Rofi theme selector:
  121. bindsym $mod+F12 exec --no-startup-id rofi-theme-selector
  122.  
  123. # start gmrun
  124. # bindsym $mod+Ctrl+g exec --no-startup-id gmrun
  125.  
  126. ################################################################################
  127.  
  128.  
  129. # change focus
  130. bindsym $mod+j focus left
  131. bindsym $mod+k focus down
  132. bindsym $mod+l focus up
  133. bindsym $mod+semicolon focus right
  134.  
  135. # alternatively, you can use the cursor keys:
  136. bindsym $mod+Left focus left
  137. bindsym $mod+Down focus down
  138. bindsym $mod+Up focus up
  139. bindsym $mod+Right focus right
  140.  
  141. # move focused window
  142. bindsym $mod+Shift+j move left
  143. bindsym $mod+Shift+k move down
  144. bindsym $mod+Shift+l move up
  145. bindsym $mod+Shift+semicolon move right
  146.  
  147. # alternatively, you can use the cursor keys:
  148. bindsym $mod+Shift+Left move left
  149. bindsym $mod+Shift+Down move down
  150. bindsym $mod+Shift+Up move up
  151. bindsym $mod+Shift+Right move right
  152.  
  153. # split in horizontal orientation
  154. bindsym $mod+h split h
  155.  
  156. # split in vertical orientation
  157. bindsym $mod+v split v
  158.  
  159. # enter fullscreen mode for the focused container
  160. bindsym $mod+f fullscreen toggle
  161.  
  162. # change container layout (stacked, tabbed, toggle split)
  163. # bindsym $mod+s layout stacking
  164. # bindsym $mod+w layout tabbed
  165. # bindsym $mod+e layout toggle split
  166.  
  167. # toggle tiling / floating
  168. bindsym $mod+Shift+space floating toggle
  169.  
  170. # change focus between tiling / floating windows
  171. bindsym $mod+space focus mode_toggle
  172.  
  173. # focus the parent container
  174. bindsym $mod+a focus parent
  175.  
  176. # focus the child container
  177. #bindsym $mod+d focus child
  178.  
  179. # Define names for default workspaces for which we configure key bindings later on.
  180. # We use variables to avoid repeating the names in multiple places.
  181. set $ws1 "1"
  182. set $ws2 "2"
  183. set $ws3 "3"
  184. set $ws4 "4"
  185. set $ws5 "5"
  186. set $ws6 "6"
  187. set $ws7 "7"
  188. set $ws8 "8"
  189. set $ws9 "9"
  190. set $ws10 "10"
  191.  
  192. # switch to workspace
  193. bindsym $mod+1 workspace number $ws1
  194. bindsym $mod+2 workspace number $ws2
  195. bindsym $mod+3 workspace number $ws3
  196. bindsym $mod+4 workspace number $ws4
  197. bindsym $mod+5 workspace number $ws5
  198. bindsym $mod+6 workspace number $ws6
  199. bindsym $mod+7 workspace number $ws7
  200. bindsym $mod+8 workspace number $ws8
  201. bindsym $mod+9 workspace number $ws9
  202. bindsym $mod+0 workspace number $ws10
  203.  
  204. # move focused container to workspace
  205. bindsym $mod+Shift+1 move container to workspace number $ws1
  206. bindsym $mod+Shift+2 move container to workspace number $ws2
  207. bindsym $mod+Shift+3 move container to workspace number $ws3
  208. bindsym $mod+Shift+4 move container to workspace number $ws4
  209. bindsym $mod+Shift+5 move container to workspace number $ws5
  210. bindsym $mod+Shift+6 move container to workspace number $ws6
  211. bindsym $mod+Shift+7 move container to workspace number $ws7
  212. bindsym $mod+Shift+8 move container to workspace number $ws8
  213. bindsym $mod+Shift+9 move container to workspace number $ws9
  214. bindsym $mod+Shift+0 move container to workspace number $ws10
  215.  
  216.  
  217. ################################################################################
  218. # Reload changed configuration
  219. ################################################################################
  220. # reload the configuration file
  221. bindsym $mod+Shift+c reload
  222.  
  223. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  224. bindsym $mod+Shift+r restart
  225.  
  226. # exit i3 (logs you out of your X session)
  227. 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'"
  228.  
  229.  
  230. ################################################################################
  231. # resize window (you can also use the mouse for that)
  232. ################################################################################
  233. mode "resize" {
  234.         # These bindings trigger as soon as you enter the resize mode
  235.  
  236.         # Pressing left will shrink the window’s width.
  237.         # Pressing right will grow the window’s width.
  238.         # Pressing up will shrink the window’s height.
  239.         # Pressing down will grow the window’s height.
  240.         bindsym j resize shrink width 10 px or 10 ppt
  241.         bindsym k resize grow height 10 px or 10 ppt
  242.         bindsym l resize shrink height 10 px or 10 ppt
  243.         bindsym semicolon resize grow width 10 px or 10 ppt
  244.  
  245.         # same bindings, but for the arrow keys
  246.         bindsym Left resize shrink width 10 px or 10 ppt
  247.         bindsym Down resize grow height 10 px or 10 ppt
  248.         bindsym Up resize shrink height 10 px or 10 ppt
  249.         bindsym Right resize grow width 10 px or 10 ppt
  250.  
  251.         # back to normal: Enter or Escape or $mod+r
  252.         bindsym Return mode "default"
  253.         bindsym Escape mode "default"
  254.         bindsym $mod+r mode "default"
  255. }
  256.  
  257. bindsym $mod+r mode "resize"
  258.  
  259.  
  260. ################################################################################
  261. # i3 gaps
  262. ################################################################################
  263. # Gaps
  264. gaps inner 10
  265. gaps outer 5
  266.  
  267.  
  268. # class                 border  bground text    indicator child_border
  269. #client.focused          #83CAFA #51A2DA #FFFFFF #83CAFA   #51A2DA
  270. #client.focused_inactive #8C8C8C #4C4C4C #FFFFFF #4C4C4C   #8C8C8C
  271. #client.unfocused        #4C4C4C #222222 #888888 #292D2E   #222222
  272. #client.urgent           #EC69A0 #DB3279 #FFFFFF #DB3279   #DB3279
  273. #client.placeholder      #000000 #0C0C0C #FFFFFF #000000   #0C0C0C
  274.  
  275. #client.background       #FFFFFF
  276.  
  277. ### dracula theme ###
  278. # class                 border  bground text    indicator child_border
  279. client.focused          #6272A4 #6272A4 #F8F8F2 #6272A4   #6272A4
  280. client.focused_inactive #44475A #44475A #F8F8F2 #44475A   #44475A
  281. client.unfocused        #282A36 #282A36 #BFBFBF #282A36   #282A36
  282. client.urgent           #44475A #FF5555 #F8F8F2 #FF5555   #FF5555
  283. client.placeholder      #282A36 #282A36 #F8F8F2 #282A36   #282A36
  284.  
  285. client.background       #F8F8F2
  286.  
  287. # Start i3bar to display a workspace bar (plus the system information i3status
  288. # finds out, if available)
  289. bar {
  290.  
  291.   height 25
  292.   workspace_buttons yes
  293.   font pango:Inter 11
  294.   # font pango:Noto Sans 11
  295.    
  296.   position top
  297.   # position bottom
  298.  
  299.   status_command i3status --config ~/.config/i3/i3status.conf
  300.  
  301.   #colors {
  302.   #  background #000000
  303.   #  statusline #FFFFFF
  304.   #  separator  #666666
  305.  
  306.   #  focused_workspace  #83CAFA #51A2DA #FFFFFF
  307.   #  active_workspace   #3C6EB4 #294172 #FFFFFF
  308.   #  inactive_workspace #8C8C8C #4C4C4C #888888
  309.   #  urgent_workspace   #EC69A0 #DB3279 #FFFFFF
  310.   #  binding_mode       #b691d3 #A07CBC #FFFFFF
  311.   #}
  312.  
  313.   ### dracula theme ###
  314.   colors {
  315.     background #282A36
  316.     statusline #F8F8F2
  317.     separator  #44475A
  318.  
  319.     focused_workspace  #44475A #44475A #F8F8F2
  320.     active_workspace   #282A36 #44475A #F8F8F2
  321.     inactive_workspace #282A36 #282A36 #BFBFBF
  322.     urgent_workspace   #FF5555 #FF5555 #F8F8F2
  323.     binding_mode       #FF5555 #FF5555 #F8F8F2
  324.   }
  325. }
  326.  
  327.  
  328. ################################################################################
  329. # Floating or Tiled
  330. ################################################################################
  331.  
  332. for_window [class="Galculator"] floating enable
  333. for_window [class="Nitrogen"] floating enable
  334. for_window [class="Pavucontrol"] floating enable
  335. for_window [class="KeePassXC"] floating enable
  336. for_window [class="GPick"] floating enable
  337.  
  338. for_window [title="Copying"] floating enable
  339. for_window [title="Deleting"] floating enable
  340. for_window [title="Moving"] floating enable
  341. for_window [title="^Terminator Preferences$"] floating enable
  342.  
  343. # for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  344. for_window [window_role="pop-up"] floating enable
  345. for_window [window_role="^Preferences$"] floating enable
  346. for_window [window_role="setup"] floating enable
  347.  
  348.  
  349. ################################################################################
  350. # Give Focus to Applications
  351. ################################################################################
  352.  
  353. for_window [class="Alacritty"] focus
  354. # for_window [class="Gnome-terminal"] focus
  355. # for_window [class="Termite"] focus
  356. # for_window [class="Terminator"] focus
  357. # for_window [class="Tilix"] focus
  358. # for_window [class="Urxvt"] focus
  359.  
  360.  
  361. ################################################################################
  362. # Applications Keyboard Shortcuts
  363. ################################################################################
  364.  
  365. # start a terminal
  366. bindsym $mod+Return exec i3-sensible-terminal
  367. bindsym $mod+t exec $myTerm
  368.  
  369. # pavucontrol
  370. bindsym control+mod1+u exec --no-startup-id pavucontrol
  371. # for_window [title="Volume Control"] floating enable
  372.  
  373. # Start Web Browser
  374. bindsym $mod+b exec $myBrowser
  375.  
  376.  
  377. ################################################################################
  378. # Autostart -- execute applications at boot time
  379. ################################################################################
  380.  
  381. # USER APPLICATIONS TO START AT BOOT
  382. exec_always --no-startup-id nitrogen --restore
  383. # exec_always --no-startup-id picom --config ~/.config/i3/picom.conf
  384.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Zorkimyr
    34 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • User was banned
Add Comment
Please, Sign In to add comment