config_Debian 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. # i3 config file (v4)
  2. # Please see https://i3wm.org/docs/userguide.html for a complete reference!
  3. # Set mod key (Mod1=<Alt>, Mod4=<Super>)
  4. set $mod Mod4
  5. set $alt Mod1
  6. # Set the timeout in milliseconds for notify-send
  7. set $myNotify notify-send -t 2000
  8. # Use Mouse+$mod to drag floating windows to their wanted position
  9. floating_modifier $mod
  10. # Font for window titles. Will also be used by the bar unless a different font
  11. # is used in the bar {} block below.
  12. font pango:Ubuntu, Ubuntu Nerd Font Book 12
  13. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  14. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  15. #font pango:DejaVu Sans Mono 8
  16. # set default desktop layout (default is tiling)
  17. # workspace_layout tabbed <stacking|tabbed>
  18. # Configure border style <normal|1pixel|pixel xx|none|pixel>
  19. default_border pixel 3
  20. default_floating_border pixel 1
  21. # Hide borders
  22. hide_edge_borders none
  23. ################################################################################
  24. # Keybindings
  25. ################################################################################
  26. # change borders
  27. bindsym $mod+Shift+u border none
  28. bindsym $mod+Shift+b border pixel 3
  29. bindsym $mod+Shift+n border normal
  30. # change focus
  31. bindsym $mod+h focus left
  32. bindsym $mod+j focus down
  33. bindsym $mod+k focus up
  34. bindsym $mod+l focus right
  35. # navigate workspaces next / previous
  36. bindsym $mod+Right workspace next
  37. bindsym $mod+Left workspace prev
  38. # move focused window
  39. bindsym $mod+Shift+h move left
  40. bindsym $mod+Shift+j move down
  41. bindsym $mod+Shift+k move up
  42. bindsym $mod+Shift+l move right
  43. # alternatively, you can use the cursor keys:
  44. bindsym $mod+Shift+Left move left
  45. bindsym $mod+Shift+Down move down
  46. bindsym $mod+Shift+Up move up
  47. bindsym $mod+Shift+Right move right
  48. # shrink/grow the window's width/height
  49. bindsym $mod+Ctrl+h resize shrink width 5 px or 5 ppt
  50. bindsym $mod+Ctrl+j resize grow height 5 px or 5 ppt
  51. bindsym $mod+Ctrl+k resize shrink height 5 px or 5 ppt
  52. bindsym $mod+Ctrl+l resize grow width 5 px or 5 ppt
  53. # same bindings, but for the arrow keys
  54. bindsym $mod+Ctrl+Left resize shrink width 5 px or 5 ppt
  55. bindsym $mod+Ctrl+Down resize grow height 5 px or 5 ppt
  56. bindsym $mod+Ctrl+Up resize shrink height 5 px or 5 ppt
  57. bindsym $mod+Ctrl+Right resize grow width 5 px or 5 ppt
  58. # workspace back and forth (with/without active container)
  59. # workspace_auto_back_and_forth yes
  60. # bindsym $mod+b workspace back_and_forth
  61. # bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
  62. # split in horizontal or vertical orientation
  63. # bindsym $mod+g split h;exec notify-send 'tile horizontally'
  64. bindsym $mod+Shift+g split v;exec $myNotify 'tile horizontally'
  65. bindsym $mod+Shift+v split h;exec $myNotify 'tile vertically'
  66. bindsym $mod+Shift+s split toggle
  67. # enter fullscreen mode for the focused container
  68. bindsym $mod+f fullscreen toggle
  69. # toggle tiling / floating
  70. bindsym $mod+Shift+f floating toggle
  71. # change container layout (stacked, tabbed, toggle split)
  72. bindsym $mod+Shift+w layout stacking
  73. bindsym $mod+Shift+t layout tabbed
  74. bindsym $mod+Shift+e layout toggle split
  75. # change focus between tiling / floating windows
  76. bindsym $mod+space focus mode_toggle
  77. # TODO: check what it means!!!
  78. # # toggle sticky
  79. bindsym $mod+Shift+plus sticky toggle
  80. # TODO END
  81. # # move the currently focused window to the scratchpad
  82. bindsym $mod+Shift+minus move scratchpad
  83. # # Show the next scratchpad window or hide the focused scratchpad window.
  84. # # If there are multiple scratchpad windows, this command cycles through them.
  85. bindsym $mod+minus scratchpad show
  86. # focus the parent container
  87. bindsym $mod+Shift+p focus parent
  88. # focus the child container
  89. bindsym $mod+Shift+i focus child
  90. ################################################################################
  91. # Mouse bindings
  92. ################################################################################
  93. # win+right mouse button click (close window)
  94. bindsym --whole-window $mod+button2 kill
  95. # win+right button toggles floating
  96. # bindsym $mod+button3 floating toggle
  97. ################################################################################
  98. # Workspaces
  99. # Define names for default workspaces
  100. # We use variables to avoid repeating the names in multiple places
  101. ################################################################################
  102. set $ws1 "1:  "
  103. set $ws2 "2:  "
  104. set $ws3 "3:  "
  105. set $ws4 "4:  "
  106. set $ws5 "5:  "
  107. set $ws6 "6:  "
  108. set $ws7 "7:  "
  109. set $ws8 "8:  "
  110. set $ws9 "9: ♬ "
  111. # set $ws9 "9:  "
  112. # set $ws10 "10"
  113. # switch to workspace
  114. bindsym $mod+1 workspace number $ws1
  115. bindsym $mod+2 workspace number $ws2
  116. bindsym $mod+3 workspace number $ws3
  117. bindsym $mod+4 workspace number $ws4
  118. bindsym $mod+5 workspace number $ws5
  119. bindsym $mod+6 workspace number $ws6
  120. bindsym $mod+7 workspace number $ws7
  121. bindsym $mod+8 workspace number $ws8
  122. bindsym $mod+9 workspace number $ws9
  123. # bindsym $mod+0 workspace number $ws10
  124. # move focused container to workspace
  125. bindsym $mod+Shift+1 move container to workspace number $ws1; workspace $ws1
  126. bindsym $mod+Shift+2 move container to workspace number $ws2; workspace $ws2
  127. bindsym $mod+Shift+3 move container to workspace number $ws3; workspace $ws3
  128. bindsym $mod+Shift+4 move container to workspace number $ws4; workspace $ws4
  129. bindsym $mod+Shift+5 move container to workspace number $ws5; workspace $ws5
  130. bindsym $mod+Shift+6 move container to workspace number $ws6; workspace $ws6
  131. bindsym $mod+Shift+7 move container to workspace number $ws7; workspace $ws7
  132. bindsym $mod+Shift+8 move container to workspace number $ws8; workspace $ws8
  133. bindsym $mod+Shift+9 move container to workspace number $ws9; workspace $ws9
  134. # bindsym $mod+Shift+0 move container to workspace number $ws10
  135. ################################################################################
  136. # Start Applications (keybindings)
  137. ################################################################################
  138. # start a terminal
  139. # set $myTerm terminator
  140. set $myTerm alacritty
  141. bindsym $mod+Return exec $myTerm
  142. set $myTermExtra terminator
  143. bindsym $mod+Shift+Return exec $myTermExtra
  144. # bindsym $mod+Return exec i3-sensible-terminal
  145. # kill focused window
  146. # bindsym $mod+Shift+q kill
  147. bindsym $mod+Shift+c kill
  148. # start dmenu (a program launcher)
  149. # bindsym $mod+d exec --no-startup-id dmenu_run -nb '#222B2E' -p 'Run: ' -fn 'Ubuntu-18:normal'
  150. bindsym $mod+Shift+d exec --no-startup-id dmenu_run -nb '#222B2E' -nf '#09DBC9' -sb '#009185' -p 'Run: ' -fn 'Ubuntu-16:normal'
  151. # A more modern dmenu replacement is rofi:
  152. # bindcode $mod+40 exec rofi -modi drun,run -show drun
  153. bindsym XF86Search exec --no-startup-id rofi run -show drun -show-icons
  154. bindsym $mod+r exec --no-startup-id rofi run -show drun -show-icons
  155. bindsym $alt+w exec --no-startup-id rofi run -show window -show-icons
  156. # There also is i3-dmenu-desktop which only displays applications shipping a
  157. # .desktop file. It is a wrapper around dmenu, so you need that installed.
  158. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  159. # bindsym $mod+Ctrl+b exec $myTerm -e 'bmenu'
  160. bindsym XF86HomePage exec firefox
  161. # bindsym XF86Mail exec firefox
  162. bindsym $mod+w exec firefox
  163. bindsym $mod+u exec qutebrowser
  164. bindsym $mod+e exec dolphin
  165. bindsym $mod+a exec $myTerm -e ranger
  166. bindsym $mod+v exec $myTerm -e ~/.config/vifm/scripts/vifmrun
  167. bindsym $mod+i exec synaptic-pkexec
  168. # bindsym $mod+p exec xfce4-power-manager-settings
  169. bindsym $mod+p exec thunar
  170. bindsym $mod+t exec ~/Programs/Telegram/Telegram -workdir /home/alexander/.local/share/TelegramDesktop/ -- %u
  171. bindsym $mod+g exec ~/Programs/AppImageApplications/GIMP.AppImage
  172. bindsym $mod+Print --release exec --no-startup-id flameshot gui
  173. bindsym $mod+Shift+x --release exec --no-startup-id xkill
  174. bindsym $mod+Shift+y exec ~/.myScripts/start-stop_syncthing.sh
  175. bindsym $mod+Menu exec xmodmap -e "keycode 135 = Super_R"
  176. # bindsym $mod+F3 exec pcmanfm
  177. # bindsym $mod+F3 exec obs
  178. # bindsym $mod+F5 exec $myTerm -e 'mocp'
  179. # bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
  180. # bindsym Print exec --no-startup-id i3-scrot
  181. # bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
  182. # bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
  183. # bindsym $mod+Ctrl+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
  184. ################################################################################
  185. # Apps Launched with <SUPER> + <KEYPAD 1-9>
  186. ################################################################################
  187. # bindsym $mod+KP_End exec $myTerm -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com
  188. # bindsym $mod+KP_Down exec $myTerm -e sh ./scripts/googler-script.sh
  189. # bindsym $mod+KP_Page_Down exec $myTerm -e newsboat
  190. # bindsym $mod+KP_Left exec $myTerm -e rtv
  191. # bindsym $mod+KP_Begin exec $myTerm -e neomutt
  192. # bindsym $mod+KP_Right exec $myTerm -e twitch-curses
  193. # bindsym $mod+KP_Home exec $myTerm -e sh ./scripts/haxor-news.sh
  194. # bindsym $mod+KP_Up exec $myTerm -e toot curses
  195. # bindsym $mod+KP_Page_Up exec $myTerm -e sh ./scripts/tig-script.sh
  196. ################################################################################
  197. # Apps Launched with <SUPER> + <SHIFT> + <KEYPAD 1-9>
  198. ################################################################################
  199. # bindsym $mod+Shift+KP_1 exec $myTerm -e vifm
  200. # bindsym $mod+Shift+KP_2 exec $myTerm -e joplin
  201. # bindsym $mod+Shift+KP_3 exec $myTerm -e cmus
  202. # bindsym $mod+Shift+KP_4 exec $myTerm -e irssi
  203. # bindsym $mod+Shift+KP_5 exec $myTerm -e rtorrent
  204. # bindsym $mod+Shift+KP_6 exec $myTerm -e youtube-viewer
  205. # bindsym $mod+Shift+KP_7 exec $myTerm -e ncpamixer
  206. # bindsym $mod+Shift+KP_8 exec $myTerm -e calcurse
  207. # bindsym $mod+Shift+KP_9 exec $myTerm -e vim /home/dt/.i3/config
  208. ################################################################################
  209. # Apps Launched with <SUPER> + <CTRL> + <KEYPAD 1-9>
  210. ################################################################################
  211. # bindsym $mod+Ctrl+KP_End exec $myTerm -e htop
  212. # bindsym $mod+Ctrl+KP_Down exec $myTerm -e gtop
  213. # bindsym $mod+Ctrl+KP_Page_Down exec $myTerm -e nmon
  214. # bindsym $mod+Ctrl+KP_Left exec $myTerm -e glances
  215. # bindsym $mod+Ctrl+KP_Begin exec $myTerm -e s-tui
  216. # bindsym $mod+Ctrl+KP_Right exec $myTerm -e httping -KY --draw-phase localhost
  217. # bindsym $mod+Ctrl+KP_Home exec $myTerm -e cmatrix -C cyan
  218. # bindsym $mod+Ctrl+KP_Up exec $myTerm -e pianobar
  219. # bindsym $mod+Ctrl+KP_Page_Up exec $myTerm -e wopr report.xml
  220. # Screen brightness controls (extra)
  221. bindsym $mod+F3 exec ~/.myScripts/brightness_up.sh
  222. bindsym $mod+F2 exec ~/.myScripts/brightness_down.sh
  223. # bindsym XF86MonBrightnessUp exec ~/.myScripts/brightness_up.sh
  224. # bindsym XF86MonBrightnessDown exec ~/.myScripts/brightness_down.sh
  225. # bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; $myNotify 'brightness up'"
  226. # bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; $myNotify 'brightness down'"
  227. # Volume controls for more than 100%
  228. bindsym $mod+F9 exec ~/.myScripts/volume_up.sh
  229. bindsym $mod+F8 exec ~/.myScripts/volume_down.sh
  230. # Use pactl to adjust volume in PulseAudio.
  231. # set $refresh_i3status killall -SIGUSR1 i3status
  232. # bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
  233. # bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
  234. # bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
  235. # bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
  236. ################################################################################
  237. # Open applications on specific workspaces
  238. ################################################################################
  239. # # assign [class="Thunderbird"] $ws1
  240. # assign [class="Firefox"] $ws2
  241. # assign [class="dolphin"] $ws3
  242. assign [class="Synaptic"] $ws4
  243. assign [class="TelegramDesktop"] $ws6
  244. ################################################################################
  245. # Open specific applications in floating mode
  246. ################################################################################
  247. # for_window [class="Gvim"] floating enable border pixel 3
  248. # for_window [title="alsamixer"] floating enable border pixel 1
  249. # for_window [class="dolphin"] fullscreen enable
  250. # for_window [class="Synaptic"] fullscreen enable
  251. for_window [class="xfce4-appfinder"] floating enable border pixel 1
  252. for_window [title="Терминатор Параметры"] floating enable border pixel 1
  253. for_window [title="Terminator Preferences"] floating enable border pixel 1
  254. # for_window [title="Terminator Preferences"] floating enable border pixel 1
  255. for_window [class="Gdebi-gtk"] floating enable
  256. for_window [class="power-manager"] floating enable
  257. for_window [class="Galculator"] floating enable border pixel 1
  258. for_window [class="CheckEmail"] floating enable border pixel 1
  259. for_window [class="BookletForEpsonXP-100"] floating enable border pixel 1
  260. for_window [title="Калькулятор"] floating enable border pixel 1
  261. for_window [class="Deadbeef"] floating enable border pixel 1
  262. for_window [class="Gcolor*"] floating enable border pixel 1
  263. # for_window [class="GParted"] floating enable border normal
  264. for_window [class="Lxappearance"] floating enable sticky enable border pixel 1
  265. for_window [class="Nitrogen"] floating enable sticky enable border pixel 1
  266. for_window [class="Pavucontrol"] floating enable
  267. for_window [class="qt5ct"] floating enable sticky enable border pixel 1
  268. # for_window [class="Xfburn"] floating enable
  269. # for_window [class="(?i)virtualbox"] floating enable border normal
  270. # for_window [class="(?i)virtualbox"] fullscreen enable
  271. # for_window [class="Clipgrab"] floating enable
  272. for_window [title="File Transfer*"] floating enable
  273. for_window [title="i3_help"] floating enable sticky enable border normal
  274. for_window [class="Lightdm-gtk-greeter-settings"] floating enable
  275. # for_window [class="Manjaro-hello"] floating enable
  276. # for_window [class="Manjaro Settings Manager"] floating enable border normal
  277. # for_window [title="MuseScore: Play Panel"] floating enable
  278. # for_window [class="Oblogout"] fullscreen enable
  279. # for_window [class="octopi"] floating enable
  280. # for_window [class="Pamac-manager"] floating enable
  281. for_window [class="Simple-scan"] floating enable border normal
  282. for_window [class="(?i)System-config-printer.py"] floating enable border normal
  283. # for_window [class="Thus"] floating enable border normal
  284. # for_window [class="Timeset-gui"] floating enable border normal
  285. # switch to workspace with urgent window automatically
  286. for_window [urgent=latest] focus
  287. # reload the configuration file
  288. bindsym $mod+Shift+q reload
  289. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  290. bindsym $mod+Shift+r restart
  291. # exit i3 (logs you out of your X session)
  292. # 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'"
  293. ################################################################################
  294. # Key modes
  295. ################################################################################
  296. # Set shut down, restart and locking features
  297. bindsym $mod+0 mode "$mode_system"
  298. set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
  299. mode "$mode_system" {
  300. bindsym l exec --no-startup-id i3exit lock, mode "default"
  301. bindsym s exec --no-startup-id i3exit suspend, mode "default"
  302. bindsym u exec --no-startup-id i3exit switch_user, mode "default"
  303. bindsym e exec --no-startup-id i3exit logout, mode "default"
  304. bindsym h exec --no-startup-id i3exit hibernate, mode "default"
  305. bindsym r exec --no-startup-id i3exit reboot, mode "default"
  306. bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
  307. # exit system mode: "Enter" or "Escape"
  308. bindsym Return mode "default"
  309. bindsym Escape mode "default"
  310. bindsym $mod+0 mode "default"
  311. }
  312. # dmenu mode
  313. bindsym $alt+m mode "Dmenu"
  314. mode "Dmenu" {
  315. # These bindings trigger as soon as you enter the dmenu mode
  316. bindsym c exec ~/.myScripts/dmenu/dmenu-edit-configs.sh
  317. bindsym e exec ~/.myScripts/dmenu/dmenu-unicode.sh
  318. bindsym k exec ~/.myScripts/dmenu/dmenu-kill.sh
  319. bindsym p exec ~/.myScripts/dmenu/dmenu-passmenu.sh
  320. bindsym s exec ~/.myScripts/dmenu/dmenu-search.sh
  321. # back to normal: Enter or Escape or $mod+r
  322. bindsym Return mode "default"
  323. bindsym Escape mode "default"
  324. bindsym $alt+m mode "default"
  325. }
  326. # # resize window (you can also use the mouse for that)
  327. # bindsym $alt+r mode "resize"
  328. # mode "resize" {
  329. # # These bindings trigger as soon as you enter the resize mode
  330. #
  331. # # Pressing left will shrink the window’s width.
  332. # # Pressing right will grow the window’s width.
  333. # # Pressing up will shrink the window’s height.
  334. # # Pressing down will grow the window’s height.
  335. # bindsym h resize shrink width 10 px or 10 ppt
  336. # bindsym j resize grow height 10 px or 10 ppt
  337. # bindsym k resize shrink height 10 px or 10 ppt
  338. # bindsym l resize grow width 10 px or 10 ppt
  339. #
  340. # # same bindings, but for the arrow keys
  341. # bindsym Left resize shrink width 10 px or 10 ppt
  342. # bindsym Down resize grow height 10 px or 10 ppt
  343. # bindsym Up resize shrink height 10 px or 10 ppt
  344. # bindsym Right resize grow width 10 px or 10 ppt
  345. #
  346. # # back to normal: Enter or Escape or $mod+r
  347. # bindsym Return mode "default"
  348. # bindsym Escape mode "default"
  349. # bindsym $alt+r mode "default"
  350. # }
  351. ####### Correct for myself!!! #################################################
  352. # # Lock screen
  353. # bindsym $mod+9 exec --no-startup-id blurlock
  354. ################################################################################
  355. # Autostart applications
  356. ################################################################################
  357. # exec_always --no-startup-id $HOME/.config/polybar/launch.sh
  358. exec_always --no-startup-id $HOME/.config/i3/alternating_layouts.py &
  359. exec --no-startup-id setxkbmap -layout us,ru -option grp:caps_toggle &
  360. # exec --no-startup-id nitrogen --restore; sleep 1; picom --config $HOME/.config/picom/picom.conf &
  361. exec --no-startup-id xrdb $HOME/.Xresources &
  362. exec --no-startup-id nitrogen --restore; sleep 1; compton --config $HOME/.config/compton.conf &
  363. exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
  364. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  365. exec --no-startup-id volumeicon &
  366. exec --no-startup-id nm-applet &
  367. exec --no-startup-id xfce4-power-manager &
  368. exec --no-startup-id xfce4-clipman &
  369. exec --no-startup-id conky -c $HOME/.myScripts/conky/conkyrc1 &
  370. exec --no-startup-id $HOME/Programs/CheckEmail/CheckEmail &
  371. # exec --no-startup-id megasync &
  372. exec --no-startup-id udiskie &
  373. # exec --no-startup-id dropbox start -i &
  374. # exec --no-startup-id xmodmap -e 'keycode 135 = Super_R' &
  375. # exec --no-startup-id diodon &
  376. # exec --no-startup-id setxkbmap -model pc105 -layout us,ru -variant qwerty -option grp:caps_toggle
  377. # exec --no-startup-id $HOME/.myScripts/runCheckEmail.sh &
  378. # exec --no-startup-id xrandr -s 1366x768
  379. # exec --no-startup-id numlockx off
  380. # exec_always --no-startup-id ff-theme-util
  381. # exec_always --no-startup-id setcursor
  382. # # exec --no-startup-id xautolock -time 10 -locker blurlock
  383. # exec_always --no-startup-id fix_xcursor
  384. ################################################################################
  385. # Sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa
  386. # -> Pulseaudio later!
  387. ################################################################################
  388. bindsym $mod+Ctrl+m exec $myTerm -e 'alsamixer'
  389. # #exec --no-startup-id pulseaudio
  390. # #exec --no-startup-id pa-applet
  391. # bindsym $mod+Ctrl+m exec pavucontrol
  392. ################################################################################
  393. # The combination of xss-lock, nm-applet and pactl is a popular choice, so
  394. # they are included here as an example. Modify as you see fit.
  395. # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
  396. # screen before suspend. Use loginctl lock-session to lock your screen.
  397. # exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
  398. ################################################################################
  399. # Theme colors
  400. ################################################################################
  401. # class border backgr. text indic. child_border
  402. client.focused #009185 #009185 #dbdcd5 #ff5555
  403. client.focused_inactive #2F3D44 #2F3D44 #dbdcd5 #454948
  404. client.unfocused #2F3D44 #2F3D44 #009185 #454948
  405. client.urgent #CB4B16 #FDF6E3 #ad69af #268BD2
  406. client.placeholder #000000 #0c0c0c #ffffff #000000
  407. # My backup
  408. # # class border backgr. text indic. child_border
  409. # client.focused #009185 #009185 #80FFF9 #ff5555
  410. # client.focused_inactive #2F3D44 #2F3D44 #AD69AF #454948
  411. # client.unfocused #2F3D44 #2F3D44 #AD69AF #454948
  412. # client.urgent #CB4B16 #FDF6E3 #AD69AF #268BD2
  413. # client.placeholder #000000 #0c0c0c #ffffff #000000
  414. #6D1F66 purple
  415. #DC8CC3 pink
  416. #3584E4 blue
  417. #16A085 manjaro
  418. #ABB2BF light grey
  419. client.background #2B2C2B
  420. # Derek Taylor's
  421. # client.focused #556064 #556064 #80FFF9 #FDF6E3
  422. # client.focused_inactive #2F3D44 #2F3D44 #AD69AF #454948
  423. # client.unfocused #2F3D44 #2F3D44 #AD69AF #454948
  424. # client.urgent #CB4B16 #FDF6E3 #AD69AF #268BD2
  425. # client.placeholder #000000 #0c0c0c #ffffff #000000
  426. # Manjaro's
  427. # class border backgr. text indic. child_border
  428. # client.focused #556064 #556064 #80FFF9 #FDF6E3
  429. # client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948
  430. # client.unfocused #2F3D44 #2F3D44 #1ABC9C #454948
  431. # client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2
  432. # client.placeholder #000000 #0c0c0c #ffffff #000000
  433. #
  434. # client.background #2B2C2B
  435. # TODO: delete this section set_from_resources
  436. # because I don't use it!!!!!!!!!!!!!!!!!!!!!!!
  437. #
  438. # Color palette used for the terminal ( ~/.extend.Xresources file )
  439. # Colors are gathered based on the documentation:
  440. # https://i3wm.org/docs/userguide.html#xresources
  441. # Change the variable name at the place you want to match the color
  442. # of your terminal like this:
  443. # [example]
  444. # If you want your bar to have the same background color as your
  445. # terminal background change the line 362 from:
  446. # background #2B2C2B
  447. # to:
  448. # background $term_background
  449. # Same logic applied to everything else.
  450. # set_from_resource $term_background background
  451. # set_from_resource $term_foreground foreground
  452. # set_from_resource $term_color0 color0
  453. # set_from_resource $term_color1 color1
  454. # set_from_resource $term_color2 color2
  455. # set_from_resource $term_color3 color3
  456. # set_from_resource $term_color4 color4
  457. # set_from_resource $term_color5 color5
  458. # set_from_resource $term_color6 color6
  459. # set_from_resource $term_color7 color7
  460. # set_from_resource $term_color8 color8
  461. # set_from_resource $term_color9 color9
  462. # set_from_resource $term_color10 color10
  463. # set_from_resource $term_color11 color11
  464. # set_from_resource $term_color12 color12
  465. # set_from_resource $term_color13 color13
  466. # set_from_resource $term_color14 color14
  467. # set_from_resource $term_color15 color15
  468. ################################################################################
  469. # Settings for i3-gaps:
  470. ################################################################################
  471. # Set inner/outer gaps
  472. gaps inner 8
  473. gaps outer -3
  474. # gaps inner 10
  475. # gaps outer -4
  476. # Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
  477. # gaps inner|outer current|all set|plus|minus <px>
  478. # gaps inner all set 10
  479. # gaps outer all plus 5
  480. # Smart gaps (gaps used if only more than one container on the workspace)
  481. # smart_gaps on
  482. # Smart borders (draw borders around container only if it is not the only container on this workspace)
  483. # on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
  484. # smart_borders on
  485. # Press $mod+Shift+g to enter the gap mode.
  486. # Choose o or i for modifying outer/inner gaps.
  487. # Press one of + / - (in-/decrement for current workspace)
  488. # or 0 (remove gaps for current workspace). If you also press Shift
  489. # with these keys, the change will be global for all workspaces.
  490. set $mode_gaps Gaps: (o)outer, (i)inner
  491. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift+ +|-|0 (global)
  492. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift+ +|-|0 (global)
  493. bindsym $alt+g mode "$mode_gaps"
  494. mode "$mode_gaps" {
  495. bindsym o mode "$mode_gaps_outer"
  496. bindsym i mode "$mode_gaps_inner"
  497. bindsym Return mode "default"
  498. bindsym Escape mode "default"
  499. }
  500. mode "$mode_gaps_inner" {
  501. bindsym plus gaps inner current plus 5
  502. bindsym minus gaps inner current minus 5
  503. bindsym 0 gaps inner current set 0
  504. bindsym Shift+plus gaps inner all plus 5
  505. bindsym Shift+minus gaps inner all minus 5
  506. bindsym Shift+0 gaps inner all set 0
  507. bindsym Return mode "default"
  508. bindsym Escape mode "default"
  509. }
  510. mode "$mode_gaps_outer" {
  511. bindsym plus gaps outer current plus 5
  512. bindsym minus gaps outer current minus 5
  513. bindsym 0 gaps outer current set 0
  514. bindsym Shift+plus gaps outer all plus 5
  515. bindsym Shift+minus gaps outer all minus 5
  516. bindsym Shift+0 gaps outer all set 0
  517. bindsym Return mode "default"
  518. bindsym Escape mode "default"
  519. }
  520. # # Start i3bar to display a workspace bar (plus the system information i3status if available)
  521. bar {
  522. # status_command i3blocks
  523. # i3bar_command i3bar
  524. # status_command i3status
  525. status_command python3 ~/.config/i3pystatus/config.py
  526. # # i3pystatus -c ~/.config/i3pystatus/config.py
  527. position top
  528. workspace_buttons yes
  529. # height 20
  530. # # separator_symbol ":|:"
  531. #
  532. # ## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
  533. # # tray_output primary
  534. # # tray_output eDP1
  535. #
  536. # bindsym button4 nop
  537. # bindsym button5 nop
  538. # # font xft:URWGothic-Book 11
  539. # # font pango:Ubuntu, Sarasa Mono SC Nerd, FontAwesome, Icons 11
  540. # font xft:Ubuntu, FontAwesome, Icons 11
  541. font pango:Ubuntu, Ubuntu Nerd Font Book 11
  542. #
  543. # strip_workspace_numbers no
  544. # strip_workspace_name no
  545. # # workspace_min_width 30
  546. #
  547. colors {
  548. background #263238
  549. statusline #dbdcd5
  550. separator #dbdcd5
  551. # border backgr. text
  552. focused_workspace #009185 #009185 #dbdcd5
  553. active_workspace #263238 #263238 #dbdcd5
  554. inactive_workspace #263238 #263238 #dbdcd5
  555. binding_mode #ffbb00 #ffbb00 #070800
  556. urgent_workspace #cc241d #cc241d #dbdcd5
  557. # default colors
  558. # background #222D31
  559. # statusline #F9FAF9
  560. # separator #454947
  561. #
  562. # # border backgr. text
  563. # focused_workspace #F9FAF9 #16a085 #292F34
  564. # active_workspace #595B5B #353836 #FDF6E3
  565. # inactive_workspace #595B5B #222D31 #EEE8D5
  566. # binding_mode #16a085 #2C2C2C #F9FAF9
  567. # urgent_workspace #16a085 #FDF6E3 #E5201D
  568. # Materia Manjaro colors
  569. # background = #263238
  570. # foreground = #dbdcd5
  571. # alert = #cc241d
  572. # volume-min = #a3be8c
  573. # volume-med = #ebcb8b
  574. # volume-max = #bf616a
  575. # current_screen_tab = "#585E72"
  576. # group_names = "#dbdcd5"
  577. # line_color_curr_tab = "#009185"
  578. # line_color_other_tab = "#8d62a9"
  579. # even_widgets = "#6182b8"
  580. # window_name = "#24d2af"
  581. # cpu = #e2a0a5
  582. # memory = "#ffb62c"
  583. # net_speed_up = "#24d2af"
  584. # net_speed_down = "#91b859"
  585. # layout_widget = "#ffffff"
  586. # keyboard = "#39adb5"
  587. # date_time = "#6182b8"
  588. # ; date_time = "#f2b06a"
  589. # sys_tray = "#404555"
  590. # ; updates = "#e2e0a5"
  591. # updates = "#ffcb6b"
  592. # weather = "#eb7bef"
  593. # ; weather = "#ec30f3"
  594. # ; weather = "#e2e0a5"
  595. # chord = "#d79921"
  596. }
  597. }
  598. # hide/unhide i3status bar
  599. bindsym $mod+m bar mode toggle