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
e1fcaede3f
i3-companion: add a binding to show window info
2021-07-07 12:30:30 +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
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
4dcf46c2ed
i3-companion: when no app, remove trailing ":" in workspace name
2021-07-06 08:25:14 +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
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
2e53b86fea
i3-companion: icon for inkscape and zathura
2021-07-05 17:21:51 +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
fa58f9f7eb
xsettingsd: fix creation of ~/.xsettingsd
2021-07-05 09:46:41 +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
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
dd4449ef63
xss-lock: shorter timeouts for DPMS
2021-02-22 15:46:55 +01:00
Vincent Bernat
36951ef8ee
xss-lock: derive notify from timeout
2021-01-23 11:50:49 +01:00
Vincent Bernat
a336b0d8df
xss-lock: shift DPMS timeout multipliers
2021-01-04 23:28:41 +01:00
Vincent Bernat
c002f9c09e
xss-lock: double timeout
2021-01-03 11:15:13 +01:00
Vincent Bernat
057c3daf07
ssh: add all SSH keys in ssh-agent on start
2020-11-22 10:45:20 +01:00
Vincent Bernat
15a1063460
xss-lock: add some debug to understand while it may fail recently
2020-11-18 09:49:08 +01:00
Vincent Bernat
9f68632f4c
xss-lock: use playerctl to pause music player
2020-09-24 21:21:32 +02:00
Vincent Bernat
590a3b6662
input-event: make 3 tries to setup blade profile
2020-09-09 17:09:26 +02:00
Vincent Bernat
ce9021003f
input-event: sleep a bit before trying to switch to Blade profile
...
DP training can take some time.
2020-09-08 16:15:55 +02:00
Vincent Bernat
db26403508
xss-lock: clear modifiers when calling XF86AudioStop
...
Otherwise, when using Mod4+Del to lock, it won't stop audio player
since it issues Mod4+XF86AudioStop.
2020-08-26 13:37:26 +02:00
Vincent Bernat
9b000caa1f
Revert "picom: switch from compton to picom"
...
This reverts commit e6d1acc4ba
. While
compton is unmaintained, it works for me. Unfortunately, I am unable
to find a solution to get picom working correctly. Both xr_gl_hybrid
and glx backends introduce some flickering while the xrender backend
is unable to remove tearing.
2020-08-19 14:55:52 +02:00
Vincent Bernat
e6d1acc4ba
picom: switch from compton to picom
...
compton is unmaintained.
2020-07-31 21:30:37 +02:00
Vincent Bernat
667d50d496
bin: center xdg-chooser-app on the current screen
2020-05-17 15:47:51 +02:00
Vincent Bernat
7d6866e3f9
bin: explain how to change default MIME type
2020-05-17 15:33:42 +02:00
Vincent Bernat
81715cabc7
bin: add xdg-app-chooser
2020-05-17 13:23:47 +02:00
Vincent Bernat
0d7c70a2ec
systemd: don't use a script to update defaults
...
Just update ~/.config/mimeapps.list manually (and sync it).
2020-05-10 16:31:56 +02:00
Vincent Bernat
3ffca01c5a
systemd: move XDG MIME defaults to a script
2020-05-10 16:31:24 +02:00
Vincent Bernat
003c91e1db
input-event: sleep a bit if we are not able to load blade profile
2020-02-24 18:35:05 +01:00
Vincent Bernat
efe686b534
xss-lock: use more descriptive flags
2020-02-08 17:53:12 +01:00
Vincent Bernat
675ae761df
xsettings: remove reference to xsettingsd.local
2020-02-08 16:44:17 +01:00
Vincent Bernat
a42edf621a
wallpaper: use a per-display wallpaper
...
Just to be coherent with having a per-display service and timer.
2020-02-07 09:58:02 +01:00
Vincent Bernat
01622fd884
wallpaper: don't create symlinks
...
This is useless.
2020-02-06 22:06:24 +01:00
Vincent Bernat
aaaebf3302
wallpaper: lower compression level
...
Otherwise, we use quite a lot of CPU to save the PNG image.
2020-02-06 22:04:14 +01:00
Vincent Bernat
ffeef58722
wallpaper: change default target name to .png
...
We are using PNG because i3lock is using PNG.
2020-02-06 22:00:58 +01:00