Advertisement
Guest User

Untitled

a guest
May 1st, 2021
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.83 KB | None | 0 0
  1. # Default config for Wayfire
  2. #
  3. # Copy this to ~/.config/wayfire.ini and edit it to your liking.
  4. #
  5. # Take the tutorial to get started.
  6. # https://github.com/WayfireWM/wayfire/wiki/Tutorial
  7. #
  8. # Read the Configuration document for a complete reference.
  9. # https://github.com/WayfireWM/wayfire/wiki/Configuration
  10.  
  11. # Input configuration ──────────────────────────────────────────────────────────
  12.  
  13. # Example configuration:
  14. #
  15. [input]
  16. xkb_layout = us,el
  17. kb_repeat_rate = 60
  18. kb_repeat_delay = 180
  19. xkb_options = grp:alt_shift_toggle
  20. #title_height=0
  21. # xkb_variant = dvorak,bepo
  22. #
  23. # See Input options for a complete reference.
  24. # https://github.com/WayfireWM/wayfire/wiki/Configuration#input
  25.  
  26. # Output configuration ─────────────────────────────────────────────────────────
  27.  
  28. # Example configuration:
  29. #
  30. [output:HDMI-A-2]
  31. mode = 2560x1440@59951
  32. layout = 0,0
  33. transform = normal
  34. scale = 1.000000
  35.  
  36. [output:NOOP-1]
  37. mode = 2560x1440@59951
  38. layout = 0,0
  39. transform = normal
  40. scale = 1.000000
  41. #
  42. # You can get the names of your outputs with wlr-randr.
  43. # https://github.com/emersion/wlr-randr
  44. #
  45. # See also kanshi for configuring your outputs automatically.
  46. # https://wayland.emersion.fr/kanshi/
  47. #
  48. # See Output options for a complete reference.
  49. # https://github.com/WayfireWM/wayfire/wiki/Configuration#output
  50.  
  51. [decoration]
  52. title_height = 0
  53. border_size = 1
  54.  
  55. # Core options ─────────────────────────────────────────────────────────────────
  56.  
  57. [core]
  58.  
  59. # List of plugins to be enabled.
  60. # See the Configuration document for a complete list.
  61. plugins = \
  62. primary-monitor-switch \
  63. preserve-output \
  64. alpha \
  65. follow-focus \
  66. animate \
  67. autostart \
  68. command \
  69. expo \
  70. decoration \
  71. fast-switcher \
  72. grid \
  73. idle \
  74. move \
  75. place \
  76. resize \
  77. vswitch \
  78. window-rules \
  79. matcher \
  80. zoom \
  81. scale \
  82. simple-tile
  83.  
  84. # Note: [blur] is not enabled by default, because it can be resource-intensive.
  85. # Feel free to add it to the list if you want it.
  86. # You can find its documentation here:
  87. # https://github.com/WayfireWM/wayfire/wiki/Configuration#blur
  88. #[blur]
  89. #toggle = <super> KEY_O
  90.  
  91. # Close focused window.
  92. close_top_view = <super> KEY_Q | <alt> KEY_F4
  93.  
  94. # Workspaces arranged into a grid: 3 × 3.
  95. vwidth = 9
  96. vheight = 0
  97.  
  98. # Prefer client-side decoration or server-side decoration
  99. preferred_decoration_mode = server
  100.  
  101. # Mouse bindings ───────────────────────────────────────────────────────────────
  102.  
  103. # Drag windows by holding down Super and left mouse button.
  104. [move]
  105. activate = <alt> BTN_LEFT
  106. join_views = true
  107.  
  108. # Resize them with right mouse button + Super.
  109. [resize]
  110. activate = <alt> BTN_RIGHT
  111.  
  112. # Zoom in the desktop by scrolling + Super.
  113. [zoom]
  114. modifier = <super>
  115.  
  116. # Change opacity by scrolling with Super + Alt.
  117. [alpha]
  118. modifier = <super> <alt>
  119.  
  120. # Rotate windows with the mouse.
  121. [wrot]
  122. activate = <super> <ctrl> BTN_RIGHT
  123.  
  124. # Fisheye effect.
  125. #[fisheye]
  126. #toggle = <super> <ctrl> KEY_F
  127.  
  128. # Startup commands ─────────────────────────────────────────────────────────────
  129.  
  130. [autostart]
  131.  
  132. # Automatically start background and panel.
  133. # Set to false if you want to override the default clients.
  134. autostart_wf_shell = false
  135.  
  136. # Set the wallpaper, start a panel and dock if you want one.
  137. # https://github.com/WayfireWM/wf-shell
  138. #
  139. # These are started by the autostart_wf_shell option above.
  140. #
  141. background = swaybg --image /home/evas/media/images/wallpapers/current.jpg
  142. #panel = wf-panel
  143. #dock = wf-dock
  144.  
  145. # Output configuration
  146. # https://wayland.emersion.fr/kanshi/
  147. outputs = kanshi
  148.  
  149. # Notifications
  150. # https://wayland.emersion.fr/mako/
  151. notifications = dunst
  152.  
  153. # Screen color temperature
  154. # https://sr.ht/~kennylevinsen/wlsunset/
  155. gamma = wlsunset
  156.  
  157. # Idle configuration
  158. # https://github.com/swaywm/swayidle
  159. # https://github.com/swaywm/swaylock
  160. idle = swayidle before-sleep swaylock
  161.  
  162. # XDG desktop portal
  163. # Needed by some GTK applications
  164. portal = /usr/libexec/xdg-desktop-portal
  165.  
  166. ulauncher = ulauncher --no-window-shadow --hide-window
  167.  
  168. # Example configuration:
  169. #
  170. # [idle]
  171. toggle = <super> KEY_Z
  172. screensaver_timeout = 300
  173. dpms_timeout = 600
  174. #
  175. # Disables the compositor going idle with Super + z.
  176. # This will lock your screen after 300 seconds of inactivity, then turn off
  177. # your displays after another 300 seconds.
  178.  
  179. # Applications ─────────────────────────────────────────────────────────────────
  180.  
  181. [command]
  182.  
  183. # Start a terminal
  184. # https://github.com/alacritty/alacritty
  185. binding_terminal = <super> KEY_ENTER
  186. command_terminal = kitty
  187.  
  188. # Start your launcher
  189. # https://hg.sr.ht/~scoopta/wofi
  190. # Note: Add mode=run or mode=drun to ~/.config/wofi/config.
  191. # You can also specify the mode with --show option.
  192. binding_launcher = <super> KEY_R
  193. command_launcher = ulauncher-toggle
  194.  
  195. # Screen locker
  196. # https://github.com/swaywm/swaylock
  197. binding_lock = <super> KEY_F2
  198. command_lock = swaylock -s stretch -i /home/evas/media/images/wallpapers/current.jpg
  199.  
  200. # Suspend
  201. binding_suspend = <super> KEY_F1
  202. command_suspend = /home/evas/bin/str
  203.  
  204. # Logout
  205. # https://github.com/ArtsyMacaw/wlogout
  206. binding_logout = <super> KEY_ESC
  207. command_logout = wlogout
  208.  
  209. # Screenshots
  210. # https://wayland.emersion.fr/grim/
  211. # https://wayland.emersion.fr/slurp/
  212. binding_screenshot = KEY_PRINT
  213. command_screenshot = grim $(date '+%F_%T').webp
  214. binding_screenshot_interactive = <shift> KEY_PRINT
  215. command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp
  216.  
  217. # Volume controls
  218. # https://alsa-project.org
  219. repeatable_binding_volume_up = <super> KEY_F12
  220. command_volume_up = amixer set Master 5%+
  221. repeatable_binding_volume_down = <super> KEY_F11
  222. command_volume_down = amixer set Master 5%-
  223. binding_mute = KEY_MUTE
  224. command_mute = amixer set Master toggle
  225.  
  226. # Screen brightness
  227. # https://haikarainen.github.io/light/
  228. #repeatable_binding_light_up = KEY_BRIGHTNESSUP
  229. #command_light_up = light -A 5
  230. #repeatable_binding_light_down = KEY_BRIGHTNESSDOWN
  231. #command_light_down = light -U 5
  232.  
  233. binding_nautilus = <super> KEY_F
  234. command_nautilus = nautilus
  235.  
  236. binding_info = <super> KEY_A
  237. command_info = /home/evas/bin/notif_info
  238.  
  239. binding_dunst_clear = <super> KEY_C
  240. command_dunst_clear = dunstctl close-all
  241.  
  242. binding_dunst_history = <super> KEY_H
  243. command_dunst_history = dunstctl history-pop
  244.  
  245.  
  246.  
  247. # Windows ──────────────────────────────────────────────────────────────────────
  248.  
  249. # Position the windows in certain regions of the output.
  250. [grid]
  251. #
  252. # ⇱ ↑ ⇲ │ 7 8 9
  253. # ← f → │ 4 5 6
  254. # ⇱ ↓ ⇲ d │ 1 2 3 0
  255. # ‾ ‾
  256. slot_bl = <super> KEY_KP1
  257. slot_b = <super> KEY_KP2
  258. slot_br = <super> KEY_KP3
  259. slot_l = <super> KEY_LEFT | <super> KEY_KP4
  260. slot_c = <super> KEY_UP | <super> KEY_KP5
  261. slot_r = <super> KEY_RIGHT | <super> KEY_KP6
  262. slot_tl = <super> KEY_KP7
  263. slot_t = <super> KEY_KP8
  264. slot_tr = <super> KEY_KP9
  265. # Restore default.
  266. restore = <super> KEY_DOWN | <super> KEY_KP0
  267.  
  268. # Change active window with an animation.
  269. [switcher]
  270. #next_view = <super> KEY_TAB
  271. #prev_view = <alt> <shift> KEY_TAB
  272.  
  273. # Simple active window switcher.
  274. [fast-switcher]
  275. activate = <alt> KEY_TAB
  276.  
  277. [scale]
  278. toggle = <super> KEY_S
  279. duration = 220
  280.  
  281. # Workspaces ───────────────────────────────────────────────────────────────────
  282.  
  283. # Switch to workspace.
  284. [vswitch]
  285. binding_left = <super> KEY_J
  286. #binding_down = <ctrl> <super> KEY_DOWN
  287. #binding_up = <ctrl> <super> KEY_UP
  288. binding_right = <super> KEY_L
  289. # Move the focused window with the same key-bindings, but add Shift.
  290. binding_win_left = <ctrl> <super> <shift> KEY_LEFT
  291. binding_win_down = <ctrl> <super> <shift> KEY_DOWN
  292. binding_win_up = <ctrl> <super> <shift> KEY_UP
  293. binding_win_right = <ctrl> <super> <shift> KEY_RIGHT
  294. duration = 220
  295.  
  296. # Show the current workspace row as a cube.
  297. [cube]
  298. activate = <ctrl> <alt> BTN_LEFT
  299. # Switch to the next or previous workspace.
  300. #rotate_left = <super> <ctrl> KEY_H
  301. #rotate_right = <super> <ctrl> KEY_L
  302.  
  303. # Show an overview of all workspaces.
  304. [expo]
  305. toggle = <super>
  306. # Select a workspace.
  307. # Workspaces are arranged into a grid of 3 × 3.
  308. # The numbering is left to right, line by line.
  309. #
  310. # ⇱ k ⇲
  311. # h ⏎ l
  312. # ⇱ j ⇲
  313. # ‾ ‾
  314. # See core.vwidth and core.vheight for configuring the grid.
  315. select_workspace_1 = KEY_1
  316. select_workspace_2 = KEY_2
  317. select_workspace_3 = KEY_3
  318. select_workspace_4 = KEY_4
  319. select_workspace_5 = KEY_5
  320. select_workspace_6 = KEY_6
  321. select_workspace_7 = KEY_7
  322. select_workspace_8 = KEY_8
  323. select_workspace_9 = KEY_9
  324.  
  325. duration = 220
  326.  
  327. # Outputs ──────────────────────────────────────────────────────────────────────
  328.  
  329. # Change focused output.
  330. #[oswitch]
  331. # Switch to the next output.
  332. #next_output = <super> KEY_O
  333. # Same with the window.
  334. #next_output_with_win = <super> <shift> KEY_O
  335.  
  336. # Invert the colors of the whole output.
  337. #[invert]
  338. #toggle = <super> KEY_I
  339.  
  340. [simple-tile]
  341. tile_by_default = none
  342. inner_gap_size = 0
  343. keep_fullscreen_on_adjacent = 0
  344. button_move = <alt> BTN_LEFT
  345. button_resize = <alt> BTN_RIGHT
  346. key_toggle = <super> KEY_T
  347. key_toggle_fullscreen = <super> KEY_M
  348. key_focus_left = <super> KEY_LEFT
  349. key_focus_right = <super> KEY_RIGHT
  350. key_focus_above = <super> KEY_UP
  351. key_focus_below = <super> KEY_DOWN
  352.  
  353. [animate]
  354. duration = 220
  355. zoom_duration = 220
  356.  
  357. [follow-focus]
  358. raise_on_top = false
  359.  
  360. # Rules ────────────────────────────────────────────────────────────────────────
  361.  
  362. # Example configuration:
  363. #
  364. # [window-rules]
  365. # maximize_alacritty = on created if app_id is "Alacritty" then maximize
  366. #
  367. # You can get the properties of your applications with the following command:
  368. # $ WAYLAND_DEBUG=1 alacritty 2>&1 | kak
  369. #
  370. # See Window rules for a complete reference.
  371. # https://github.com/WayfireWM/wayfire/wiki/Configuration#window-rules
  372.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement