Commit graph

839 commits

Author SHA1 Message Date
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
Vincent Bernat
2e53b86fea i3-companion: icon for inkscape and zathura 2021-07-05 17:21:51 +02:00
Vincent Bernat
8ef8f0ce41 i3: change default font 2021-07-05 16:11:28 +02:00
Vincent Bernat
84d4a93c92 i3: prefer tabbed windows 2021-07-05 16:05:34 +02:00
Vincent Bernat
aaaa820585 i3: try to be more visible with the indicator border
This is an essential information to understand the layout of the
current container.
2021-07-05 15:15:11 +02:00
Vincent Bernat
3806a661d9 i3: give up on the tabbed mode
We can either get stacking ($mod+e) or tiling ($mod+w)
2021-07-05 15:15:06 +02:00
Vincent Bernat
627cde02b5 i3: no need to change split orientation, just switch to tiling mode
So, we can use $mod+e for that. The border color gives a hint and now
we just need to know if we are stacked or tabbed.
2021-07-05 15:06:22 +02:00
Vincent Bernat
c1117ba343 Revert "i3-companion: tentative to display workspace layout"
This reverts commit c3f12f311f.
2021-07-05 15:02:30 +02:00
Vincent Bernat
c3f12f311f i3-companion: tentative to display workspace layout
Unfortunately, we don't modify workspace layout, we modify container
layout. We could modify workspace layout, but this seems a bit
useless.
2021-07-05 14:58:48 +02:00
Vincent Bernat
a21074190c i3-companion: add icons for Discord and Signal 2021-07-05 10:50:33 +02:00
Vincent Bernat
1b05771dd0 i3-companion: add icon for Zoom 2021-07-05 10:29:45 +02:00
Vincent Bernat
b6291798e4 xsettingsd: do not restart polybar if it is not already running 2021-07-05 10:05:34 +02:00
Vincent Bernat
4fc09dda39 systemd: revert to use of a specific target activated by i3 2021-07-05 09:55:49 +02:00
Vincent Bernat
ab7ab873b0 systemd: try to use socket activation for i3
Unfortunately, this does not work as not everything is using
I3SOCK (notably `i3 --get-socketpath` does not).
2021-07-05 09:54:51 +02:00
Vincent Bernat
fa58f9f7eb xsettingsd: fix creation of ~/.xsettingsd 2021-07-05 09:46:41 +02:00
Vincent Bernat
cbafa1bfd5 Revert "systemd: ensure i3 is ready when we start stuff depending on its socket"
This reverts commit 1bb2603157.
2021-07-05 09:34:02 +02:00
Vincent Bernat
1bb2603157 systemd: ensure i3 is ready when we start stuff depending on its socket 2021-07-05 09:08:01 +02:00