Commit graph

870 commits

Author SHA1 Message Date
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
Vincent Bernat
4fad468738 polybar: move clock to the right 2021-07-05 08:37:31 +02:00
Vincent Bernat
0ae67786c4 polybar: stop displaying upload/download speeds
Not really useful.
2021-07-05 08:32:09 +02:00
Vincent Bernat
043fce1a58 polybar: display brightness 2021-07-05 08:28:06 +02:00
Vincent Bernat
d2e9eb6aa3 i3-companion: remove autosplit
Not sure if this is really useful. When windows become too small, it
would be smarter to have something different.
2021-07-05 08:12:51 +02:00
Vincent Bernat
a77a5e27ce More configuration
Including a Quake console and autosplit in i3-companion.
2021-07-05 08:04:35 +02:00
Vincent Bernat
43ab22dee5 i3-companion: add a companion for i3
This is a Python script implementing what's missing from i3.
Currently, it will only rename workspace to add icons with their
content.
2021-07-04 19:08:48 +02:00
Vincent Bernat
662db00e36 More configuration
Notably polybar
2021-07-04 18:25:28 +02:00
Vincent Bernat
f306d92a0d More initial configuration
Notably add Dunst for notifications.
2021-07-04 14:54:07 +02:00
Vincent Bernat
d85a504c53 Initial i3 configuration
This is derived from my Awesome configuration. Still a lot to do from
a WM perspective. The organization is a bit different and I am giving
it up on the per-display systemd units as it does not really work due
to the fact we only have one user DBus and one environment.
2021-07-04 08:38:39 +02:00
Vincent Bernat
d3af9e4890 picom: try again! 2021-06-30 20:45:53 +02:00
Vincent Bernat
dd042ae594 xss-lock: don't suspend compositor on lock
Let's see if the confidentiality issue is still here. The problem with
suspending the compositor is that Firefox with EGL will freeze its
rendering. See https://bugzilla.mozilla.org/show_bug.cgi?id=1712665.

OK, the problem was that when screens are added/removed, i3lock is
unable to stay on top. I'll live with that for now.
2021-06-30 20:26:30 +02:00
Vincent Bernat
678f8f68a9 firefox: remove x11-egl.force-disabled
This should be false and it is already false by default.
2021-06-21 19:29:00 +02:00
Vincent Bernat
b126e474a0 firefox: enable video acceleration through VAAPI
This is not done for VP9 yet because it seems more experimental and
may break WebRTC. See
https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration.
2021-06-21 19:25:30 +02:00
Vincent Bernat
a65d6371e8 systemd: make service restart on failure
xiccd crashed for some reason.
2021-06-18 08:18:04 +02:00
Vincent Bernat
1b2c3b55b3 systemd: fix location of inputplug binary 2021-06-09 20:48:15 +02:00
Vincent Bernat
d74eecf9cd firefox: stop disabling HTTP/3
Let's check if that's OK now.
2021-06-05 16:24:17 +02:00
Vincent Bernat
3416e78891 xsession: let zshenv set locale 2021-05-22 14:52:44 +02:00
Vincent Bernat
513fe9207b firefox: don't display "close tab" button 2021-04-24 10:01:05 +02:00
Vincent Bernat
328bc1db20 firefox: prefer light mode
Dark mode is often low-contrast.
2021-04-22 13:54:42 +02:00