Manjaro i3 config file

i want to execute this command in the start of the system but it not working can someone help :
that what i do but it not working

exec --no-startup-id picom -b
exec --no-startup-id pkill picom

and i want to make F5 key lock the screen using betterlockscreen but i don’t know how to do it
i want when i press the F5 then exec (betterlockscreen -l)

bindsym F5 exec betterlockscreen -l

You mean ~/.config/i3/config ?

Please be more explicit … what exactly have you tried? What files have you modified?

that file /etc/skel/.i3/config

/etc/skel is used as template when you create a new user. It has zero effects on your user account.

i change in the /etc/i3/config and don’t work
i dont have this file ~/.config/i3/config

man i3

When starting, i3 looks for configuration files in the following order:
1. ~/.config/i3/config (or $XDG_CONFIG_HOME/i3/config if set)
2. /etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
3. ~/.i3/config
4. /etc/i3/config
You can specify a custom path using the -c option.

1 Like

Are you sure?
Its there by default.

1 Like

thank you all so mush i was editing on the wrong file
now i edit the ~/.i3/config and it work thank you cscs and megavolt for reply

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.