Vincent Bernat
d0f03901e6
dimmer: remove deprecated use of cairo_create()
2021-08-07 14:10:43 +02:00
Vincent Bernat
96f1f7235b
Revert "dimmer: tentative to not use cairo_create() which is deprecated"
...
This reverts commit b77d74171e
.
2021-08-07 09:53:27 +02:00
Vincent Bernat
b77d74171e
dimmer: tentative to not use cairo_create() which is deprecated
...
However, this does not work...
2021-08-07 09:49:47 +02:00
Vincent Bernat
ce96bd5b32
dimmer: don't set wmclass
...
Gtk automatically does that.
2021-08-07 09:30:39 +02:00
Vincent Bernat
bfda96a86c
dimmer: integration into main loop
...
Just for fun.
2021-08-07 09:25:37 +02:00
Vincent Bernat
3aa4d9686c
dimmer: quit when i3lock window is ready
2021-08-07 08:48:01 +02:00
Vincent Bernat
b05514177f
dimmer: remove previous tentative to detect i3lock
2021-08-06 21:57:23 +02:00
Vincent Bernat
ad1fa52a73
dimmer: try to quit when i3lock window appear
...
Using Wnck, we could be able to detect i3lock window. However, being
unmanaged, it is not detected...
2021-08-06 21:56:16 +02:00
Vincent Bernat
22262cce1c
spotify: don't sort clients when cleaning up
...
It seems that the ID is not strictly increasing.
2021-08-06 14:33:31 +02:00
Vincent Bernat
45e503f017
i3-companion: keep a bit more history for workspace switcher
...
Useful if we make a workspace disappear.
2021-08-06 10:45:27 +02:00
Vincent Bernat
c96c93ac02
i3-companion: make other browsers exclusive as well
2021-08-06 08:09:22 +02:00
Vincent Bernat
56806a7aea
Revert "dimmer: tentative to quit if we are obscured (presumably by i3lock)"
...
This reverts commit d72855073a
. So, this
doesn't work.
2021-08-06 00:19:41 +02:00
Vincent Bernat
d72855073a
dimmer: tentative to quit if we are obscured (presumably by i3lock)
...
This does not happend because, I suppose, we are using a compositor.
2021-08-06 00:16:58 +02:00
Vincent Bernat
6e75c87102
dimmer: no need to stay above (and fight with other clients)
2021-08-05 23:31:40 +02:00
Vincent Bernat
959aa992bf
dimmer: use override_redirect to stay on top
...
Otherwise, we are just floating and we are not on top of fullscreen
windows. This also allows us to remove some of window-manager-related
attributes.
2021-08-05 21:55:12 +02:00
Vincent Bernat
66f8fcbef7
i3-companion: simplify static decorator
2021-08-05 20:48:06 +02:00
Vincent Bernat
e51bb453f6
xss-lock: remove unused function
2021-08-04 11:44:21 +02:00
Vincent Bernat
6729429c57
dimmer: display a countdown
2021-08-04 11:27:27 +02:00
Vincent Bernat
e06eda914e
dimmer: add a mode
...
And remove some useless comments.
2021-08-04 08:31:52 +02:00
Vincent Bernat
96035be8cb
i3-companion: ignore dimmer for icons
2021-08-04 08:23:19 +02:00
Vincent Bernat
3d9c3e458c
xss-lock: use a dimmer service to start/stop dimmer
...
This way, we can lock the screen before stopping dimmer.
2021-08-04 08:21:27 +02:00
Vincent Bernat
8d70ce8106
xss-lock: fix dimmer invocation
...
It should run in background.
2021-08-04 00:32:17 +02:00
Vincent Bernat
b1ae3bd89d
xss-lock: dimmer don't need to be killed when there is movement
...
We redraw correctly when needed.
2021-08-04 00:04:52 +02:00
Vincent Bernat
00b6359835
xss-lock: provide a dimmer written in Python
2021-08-04 00:01:48 +02:00
Vincent Bernat
7283f44742
i3-companion: make Alt-Tab local to a given output
2021-08-03 19:22:17 +02:00
Vincent Bernat
7264c2ead5
i3-companion: partially revert layout indicator
...
Ideally, it should be per output, but then it is a bit complicated to
know which polybar is on which output. While this seems a cool hack to
have, I don't think that's really useful. Keeping some of
the (unrelated) changes.
2021-08-03 16:01:45 +02:00
Vincent Bernat
41705ca492
i3-companion: add an icon with the layout of the focused container
2021-08-03 15:55:45 +02:00
Vincent Bernat
cb9e692c8d
polybar: generate mountpoints automatically
2021-08-02 22:59:26 +02:00
Vincent Bernat
0e76f2c3ad
i3-companion: icon for wireshark
2021-08-02 22:34:29 +02:00
Vincent Bernat
9689158b0a
i3-companion: exclude sticky windows from exclusive apps
2021-08-02 10:36:15 +02:00
Vincent Bernat
af3ba1dd57
i3-companion: simplify workspace duplicate renames
...
It seems we can initialize a lock without having a loop.
2021-08-01 18:02:45 +02:00
Vincent Bernat
ce60feac8d
i3-companion: rename duplicated workspaces
...
This happens easily when an output is left empty or on start.
2021-08-01 18:01:05 +02:00
Vincent Bernat
1a30417043
i3-companion: use monitors to detect RandR changes
2021-08-01 17:31:37 +02:00
Vincent Bernat
7ed896496f
polybar: make it compatible with RandR monitors
...
Other uses of RandR do not need to be aware of monitors. Wallpapers
could be, but it works just fine without that.
2021-08-01 15:30:21 +02:00
Vincent Bernat
325d7778d7
systemd: schedule cleaning of spotify PA streams
2021-08-01 12:06:03 +02:00
Vincent Bernat
9f346c2cc4
i3-companion: add icon for easyeffects
2021-07-31 13:14:17 +02:00
Vincent Bernat
e4489699c7
systemd: add easyeffects
2021-07-31 12:52:27 +02:00
Vincent Bernat
8ae51fab23
systemd: only add SSH keys if agent is empty
2021-07-30 15:49:09 +02:00
Vincent Bernat
bee46da365
i3-companion: handle windows without a workspace
2021-07-30 15:41:20 +02:00
Vincent Bernat
fbc9821d36
wallpaper: use integers for aspect ratios
2021-07-30 14:17:10 +02:00
Vincent Bernat
1c9a2b1272
wallpaper: use argparse
2021-07-30 14:11:48 +02:00
Vincent Bernat
6b44c8a0f9
i3-companion: add icon for Calibre
2021-07-29 11:54:29 +02:00
Vincent Bernat
0cf312b7aa
rofi-wifi: do not wait to be connected
2021-07-29 07:35:55 +02:00
Vincent Bernat
2584edba96
i3-companion: icon for Webex
2021-07-28 18:32:58 +02:00
Vincent Bernat
b263cc0d74
i3-companion: icon for Gnome Boxes and QEMU
2021-07-28 17:55:40 +02:00
Vincent Bernat
99cc3a2582
i3-companion: fix workspace icon when no match
2021-07-24 20:39:08 +02:00
Vincent Bernat
a954b5ff57
i3-companion: turn polybar function into a decorator
2021-07-24 19:54:06 +02:00
Vincent Bernat
d9aafa54a4
rofi-mediaplayer: grab keyboard as soon as possible
...
Otherwise, we may miss the shortcut input. With -no-lazy-grab, rofi
grabs the keyboard early and wait for half a second before giving up.
Without, it will try for 0 second. So, if i3 still has the grab, it
will try again every millisecond for 5 seconds. However, this needs to
get scheduled after everything else, so in practice, this can take
some time. I get better results with -no-lazy-grab.
Also, we could use --release from i3. In this case, we are guaranteed
that rofi can grab the keyboard during the first try. But, after
trying a bit, I think this is still better with -no-lazy-grab: the
shell script needs to be executed, rofi needs to be executed. It's
better to do that while the user did not depress the key yet.
2021-07-23 20:27:22 +02:00
Vincent Bernat
45a86fee23
i3-companion: fix icon for libreoffice
2021-07-23 19:02:58 +02:00
Vincent Bernat
dcad9cfbd3
i3-companion: handle windows disappearing too fast
2021-07-23 11:19:50 +02:00