Commit graph

855 commits

Author SHA1 Message Date
Vincent Bernat
b368fb65c5 i3-companion: not all containers have a window ID 2021-07-07 22:03:39 +02:00
Vincent Bernat
14342c25b3 i3: use $mediaplayer if possible 2021-07-07 21:51:07 +02:00
Vincent Bernat
d99f158654 i3: use default directions
It makes sense as there is less need to move the right hand.
2021-07-07 21:50:49 +02:00
Vincent Bernat
ecb245acb8 polybar: add audio volume on all screens 2021-07-07 20:19:37 +02:00
Vincent Bernat
2206d4f236 xss-lock: better comments 2021-07-07 18:55:50 +02:00
Vincent Bernat
fa589e3716 xss-lock: pause notifications when screen is locked 2021-07-07 18:54:18 +02:00
Vincent Bernat
d215c151a9 i3-companion: fix some edge cases for exclusive workspaces 2021-07-07 18:52:19 +02:00
Vincent Bernat
2172a05592 dunst: don't display notifications in front of fullscreen apps 2021-07-07 18:51:21 +02:00
Vincent Bernat
46462ebd4a i3-companion: make some workspace exclusives
When they contain some apps, new apps should go to a new workspace,
unless they can intrude.
2021-07-07 17:53:59 +02:00
Vincent Bernat
ed203771f1 i3-companion: add back missing event binding 2021-07-07 16:58:07 +02:00
Vincent Bernat
6f8b185735 picom: try switching to xr_glx_hybrid 2021-07-07 16:53:27 +02:00
Vincent Bernat
6b63b84fdf i3-companion: moar icons 2021-07-07 15:01:30 +02:00
Vincent Bernat
7a816e4292 i3-companion: enhance help with list of functions 2021-07-07 14:14:35 +02:00
Vincent Bernat
e089c59de5 i3-companion: organize code a bit differently to ease browsing
This is not ideal, but I don't want to split into several files yet.
2021-07-07 14:14:12 +02:00
Vincent Bernat
ec86d91c91 i3-companion: use decorators to declare event functions 2021-07-07 14:02:07 +02:00
Vincent Bernat
2c98fcc062 i3: don't focus splash windows 2021-07-07 12:30:36 +02:00
Vincent Bernat
e1fcaede3f i3-companion: add a binding to show window info 2021-07-07 12:30:30 +02:00
Vincent Bernat
a25e9f2a56 picom: also make Zoom floating window not transparent 2021-07-07 11:38:50 +02:00
Vincent Bernat
5a09a90944 picom: simplify configuration by using only opacity-rules
Otherwise, the interactions with inactive-opacity and wintypes are not
well-documented.
2021-07-07 11:10:21 +02:00
Vincent Bernat
28fc208332 dunst: update icon path
I don't know how icon lookup should happen in other notification
daemons, but all icons don't seem to be available in all resolutions.
2021-07-07 10:20:05 +02:00
Vincent Bernat
b5cf67df10 systemd: implement reload for i3 2021-07-07 10:08:52 +02:00
Vincent Bernat
a91cc6d56e i3-companion: reload xsettingsd and update wallpaper on XRandR changes 2021-07-07 06:34:19 +02:00
Vincent Bernat
b8a6ad1122 i3-companion: switch to asyncio 2021-07-07 00:24:23 +02:00
Vincent Bernat
1925a57b6d polybar: change date format 2021-07-06 15:06:25 +02:00
Vincent Bernat
d4b25aa2da i3-companion: log output events
This will be useful when trying to debug output changes. I need to
know what I need to restart. Awesome was restarted while i3 does not.
On top of my head, I need to reload xsettingsd.service and start
wallpaper.service.
2021-07-06 14:53:48 +02:00
Vincent Bernat
1caacfd679 i3-companion: swallow quake console functionality
While payload could be structured, we keep a string as it is easier to
express it in i3 configuration file.
2021-07-06 10:37:01 +02:00
Vincent Bernat
2a85902609 doc: add a minimal README 2021-07-06 09:31:55 +02:00
Vincent Bernat
38837e3038 dunst: use hicolor icons 2021-07-06 09:11:39 +02:00
Vincent Bernat
e31aafdd5d i3: don't move quake console to scratchpad each time its title change 2021-07-06 08:50:03 +02:00
Vincent Bernat
4dcf46c2ed i3-companion: when no app, remove trailing ":" in workspace name 2021-07-06 08:25:14 +02:00
Vincent Bernat
ed9b7c622e picom: disable fading
This is cool, but switching between workspaces can be a bit painful as
windows are unmapped (but not closed) and mapped, so there is some
time and a transition to the background. If we try to make it quicker,
the flicker is more important.
2021-07-06 07:45:45 +02:00
Vincent Bernat
f85aa0487c picom: speedup a bit fading
Otherwise, switching between workspaces is a bit slow.
2021-07-06 07:31:23 +02:00
Vincent Bernat
3d10d1aa63 i3: also use a saved layout for firefox 2021-07-06 06:55:52 +02:00
Vincent Bernat
43697a0617 i3: ensure spotify starts on the right workspace
Spotify still does not assign the class before mapping the window...
2021-07-06 00:03:18 +02:00
Vincent Bernat
a22d8804bf i3: add a binding to focus the next screen
Dunno if it's really convenient compared to moving from container to
container until the next screen? Let's try out a bit.
2021-07-05 22:29:40 +02:00
Vincent Bernat
75779554d7 i3: use a saved layout to spawn Emacs workspace
This works great!
2021-07-05 21:59:05 +02:00
Vincent Bernat
b17a6e2bfc i3: add back a command to split a window
I was a bit confused. "layout toggle split" is changing the kind of
layout to tiling mode and change the split direction. However, "split
toggle" will change the direction the _current_ window will be split.
So, I need both.
2021-07-05 21:43:29 +02:00
Vincent Bernat
b714ed2407 i3: autostart some applications
This is a first try. I should use layout/restore, but maybe I can get
a good result with just that. This is a bit limited as it is not
possible to change layout this way, so the Emacs workspace will not be
as I expect it to be.
2021-07-05 21:42:59 +02:00
Vincent Bernat
e56e1210f7 i3: increase a bit resize steps for tiled window 2021-07-05 20:23:23 +02:00
Vincent Bernat
b8bfc9d586 i3-companion: improve a bit code for new workspaces 2021-07-05 19:54:21 +02:00
Vincent Bernat
c5b2baca1e i3-companion: also offer possibility to move a window to a new workspace 2021-07-05 19:52:25 +02:00
Vincent Bernat
334f77449c dunst: modify geometry as dunst is now able to scale position as well 2021-07-05 19:31:02 +02:00
Vincent Bernat
f0c47af02e i3-companion: add a command to open a new workspace
This is quite a generic idea: use tick to trigger some actions without
spawning a whole Python process.
2021-07-05 19:09:58 +02:00
Vincent Bernat
84db9ccb13 picom: update a bit the configuration 2021-07-05 18:50:45 +02:00
Vincent Bernat
a4ee2b92bb i3: use same bindings as in Awesome for media player 2021-07-05 18:50:33 +02:00
Vincent Bernat
3c67187644 xsession: remove duplicate 2021-07-05 18:20:54 +02:00
Vincent Bernat
3ba1e7e45d picom: switch to a configuration file
It's easier to edit rules this way. Also, add some rules.
2021-07-05 18:20:36 +02:00
Vincent Bernat
c08a54aed0 xsession: set terminal in xsession as well
It is used for a pager in i3.
2021-07-05 17:39:48 +02:00
Vincent Bernat
b60e4cb73b i3: translate some rules from awesome 2021-07-05 17:35:46 +02:00
Vincent Bernat
74cf459f5d picom: do not change opacity of override_redirect windows 2021-07-05 17:22:03 +02:00