Advertisement
Guest User

Untitled

a guest
Dec 21st, 2024
51
0
50 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 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 Mod1
  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:CaskaydiaMono Nerd Font Mono 12
  17.  
  18. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  19. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  20. #font pango:DejaVu Sans Mono 8
  21.  
  22. # Start XDG autostart .desktop files using dex. See also
  23. # https://wiki.archlinux.org/index.php/XDG_Autostart
  24. exec --no-startup-id dex --autostart --environment i3
  25.  
  26. # The combination of xss-lock, nm-applet and pactl is a popular choice, so
  27. # they are included here as an example. Modify as you see fit.
  28.  
  29. # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
  30. # screen before suspend. Use loginctl lock-session to lock your screen.
  31. exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
  32.  
  33. # NetworkManager is the most popular way to manage wireless networks on Linux,
  34. # and nm-applet is a desktop environment-independent system tray GUI for it.
  35. # exec --no-startup-id nm-applet
  36.  
  37. # Enable numlockx
  38. exec --no-startup-id numlockx on
  39.  
  40. # Use pactl to adjust volume in PulseAudio.
  41. set $refresh_i3status killall -SIGUSR1 i3status
  42. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
  43. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
  44. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
  45. bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
  46.  
  47. bar {
  48. status_command i3status
  49. position bottom
  50. }
  51.  
  52. # Use Mouse+$mod to drag floating windows to their wanted position
  53. floating_modifier $mod
  54.  
  55. # move tiling windows via drag & drop by left-clicking into the title bar,
  56. # or left-clicking anywhere into the window while holding the floating modifier.
  57. tiling_drag modifier titlebar
  58.  
  59. # start a terminal
  60. bindsym $mod+Return exec i3-sensible-terminal
  61.  
  62. # firefox
  63. bindsym $mod+f exec $HOME/.firefox/firefox
  64.  
  65. # kill focused window
  66. bindsym $mod+Shift+q kill
  67. bindsym $mod+q kill
  68.  
  69. # start dmenu (a program launcher)
  70. bindsym $mod+d exec --no-startup-id dmenu_run
  71. # A more modern dmenu replacement is rofi:
  72. # bindcode $mod+40 exec "rofi -modi drun,run -show drun"
  73. # There also is i3-dmenu-desktop which only displays applications shipping a
  74. # .desktop file. It is a wrapper around dmenu, so you need that installed.
  75. # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
  76.  
  77. # change focus
  78. bindsym $mod+j focus left
  79. bindsym $mod+k focus down
  80. bindsym $mod+l focus up
  81. bindsym $mod+semicolon focus right
  82.  
  83. # alternatively, you can use the cursor keys:
  84. bindsym $mod+Alt_R focus left
  85. bindsym $mod+Super_R focus down
  86. bindsym $mod+Print focus up
  87.  
  88. # Spliting
  89. bindsym $mod+v split vertical
  90. bindsym $mod+h split horizontal
  91. bindsym $mod+t split toggle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement