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
Vincent Bernat
f91e751f56
i3-companion: add icon for nestopia
2021-07-22 17:12:28 +02:00
Vincent Bernat
ac9beaa242
rofi-*: properly escape for pango markup
2021-07-21 09:56:11 +02:00
Vincent Bernat
40d8aece8d
rofi-mediaplayer: switch to playerctl
...
As rofi grabs the keyboard while running in a script, we can't use xdotool.
2021-07-21 09:52:36 +02:00
Vincent Bernat
16aa98a7fb
xsettings: format
2021-07-21 09:44:12 +02:00
Vincent Bernat
739885fcd1
xsettings: fix xsettings script
2021-07-21 09:43:38 +02:00
Vincent Bernat
d793630503
rofi-wifi: display current security and signal
2021-07-21 09:04:14 +02:00
Vincent Bernat
81380633de
rofi-wifi: add a menu to connect to wifi
2021-07-21 08:55:38 +02:00
Vincent Bernat
ce3b562617
rofi-mediaplayer: convert to /bin/sh
2021-07-21 07:31:27 +02:00
Vincent Bernat
bfd6735c3d
rofi-mediaplayer: switch to a module script
2021-07-21 02:19:59 +02:00
Vincent Bernat
cab4f6b8fd
rofi-mediaplayer: tentative to be more snappy when querying playerctl
2021-07-21 01:44:23 +02:00
Vincent Bernat
24a07e8165
rofi-mediaplayer: display current track when playing
2021-07-20 23:48:41 +02:00
Vincent Bernat
7f7bfd20ec
i3-companion: more icons
2021-07-20 23:23:14 +02:00
Vincent Bernat
8b7bdb3038
i3-companion: don't crash on windows without a class
2021-07-20 23:20:38 +02:00
Vincent Bernat
caac6d6a5c
rofi-mediaplayer: make it more readable
2021-07-20 23:01:50 +02:00
Vincent Bernat
4c5d00fad6
rofi-mediaplayer: focus pavucontrol if already opened
2021-07-20 22:49:39 +02:00
Vincent Bernat
99de0bc1fd
i3: replace media player mode by rofi
2021-07-20 22:33:02 +02:00
Vincent Bernat
1bc9ea92e1
i3-companion: icon for qalculate
2021-07-20 21:28:19 +02:00
Vincent Bernat
f267250c42
i3-companion: rework a bit Quake console to use events only
2021-07-19 09:52:48 +02:00
Vincent Bernat
6cf9a784f7
i3-companion: keep display open while running
...
This may be useful for some other uses. Notably, to achieve automatic
layout, not unlike:
https://gitlab.com/s3lect/awesome-i3-auto-layout/-/blob/master/awesome-auto-layout
2021-07-19 09:21:09 +02:00
Vincent Bernat
5994b8a0fd
i3-companion: remove duplicate code
2021-07-18 09:13:57 +02:00
Vincent Bernat
b6ab2d3c12
i3-companion: move create_new_workspace into helper section
2021-07-18 09:09:14 +02:00
Vincent Bernat
cc07dc35b4
i3-companion: get it into 1000 lines!
2021-07-18 00:47:59 +02:00
Vincent Bernat
b32462031b
i3-companion: simplify check for intruding windows
...
Sticky window is usually floating, as well as the non-normal windows.
So, no need for all these checks.
2021-07-18 00:42:07 +02:00
Vincent Bernat
f95d1e2b92
i3-companion: make i3-tabbed work by inhibiting exclusive workspaces
2021-07-18 00:42:07 +02:00
Vincent Bernat
adfec52532
i3-companion: use contextlib to simplify a bit some code
2021-07-17 15:00:54 +02:00
Vincent Bernat
e0569deacf
i3-companion: fix check of exclusive app in current workspace
2021-07-17 14:47:47 +02:00
Vincent Bernat
b1e88f0f93
bin: add i3-tabbed
...
Stolen from https://github.com/aduros/dotfiles/blob/master/home/bin/i3-tabbed .
2021-07-17 13:06:51 +02:00
Vincent Bernat
f167cf1f64
i3-companion: simplify the way we get application icons
...
Just rely on the class.
2021-07-17 13:01:05 +02:00
Vincent Bernat
764dc010b6
polybar: no need to keep the shell waiting, systemd can do it
2021-07-17 11:09:04 +02:00
Vincent Bernat
1db91fb0eb
polybar: optimize the case with one monitor
2021-07-17 11:03:50 +02:00
Vincent Bernat
1737177d2b
i3-companion: only log window classes
2021-07-17 09:21:58 +02:00
Vincent Bernat
5357f669e5
i3-companion: only use window classes to match exclusive apps
...
No need to match anything else as all the exclusive/intrusive apps I
use have a good value for class.
2021-07-17 09:16:34 +02:00
Vincent Bernat
8a78f68e77
i3-companion: reblacken at 88 line-length
...
And tell flake8 that's OK.
2021-07-17 09:14:45 +02:00
Vincent Bernat
de0b36587f
wallpaper: blacken
2021-07-17 09:13:26 +02:00
Vincent Bernat
84a535bb85
i3-companion: try to move windows in the same workspace as similar ones
2021-07-16 19:53:12 +02:00
Vincent Bernat
4e21366d7a
i3-companion: don't consider a win exclusive if it has the same window class
2021-07-16 16:41:07 +02:00
Vincent Bernat
78378278c3
i3-companion: moar bluetooth icons
...
And rearrange the matching code
2021-07-16 10:15:39 +02:00