Vincent Bernat
b241fe9ce7
systemd: order i3 after xsession target
...
This way, we have simpler dependencies, even if it is a bit less
efficient. As most services don't advertise readiness correctly, this
is mostly equivalent.
2021-07-26 09:17:37 +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
68496a33c6
systemd: switch to pipewire
2021-07-24 14:21:58 +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
de6be5e89d
i3: just invoke "flameshot gui" to get a screenshot
...
It seems flameshot keeps running in background even if we ask for a
raw capture. No point in trying to avoid that.
2021-07-23 11:31:55 +02:00
Vincent Bernat
dcad9cfbd3
i3-companion: handle windows disappearing too fast
2021-07-23 11:19:50 +02:00
Vincent Bernat
1f61b8b208
dunst: don't push back on full screen
2021-07-23 11:15:59 +02:00
Vincent Bernat
f91e751f56
i3-companion: add icon for nestopia
2021-07-22 17:12:28 +02:00
Vincent Bernat
f40da7fd87
dunst: use rofi for context menu
2021-07-22 12:54:22 +02:00
Vincent Bernat
a03d67bd38
picom: handle transparency corrected for tabbed windows
2021-07-22 12:23:40 +02:00
Vincent Bernat
78866d87df
polybar: switch to Iosevka Aile
2021-07-21 17:47:52 +02:00
Vincent Bernat
26d3ad5fb7
i3: wait for being online before spawning Firefox
2021-07-21 11:12:11 +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
ef77d239b1
rofi: use em instead of px
...
px are device pixels, not CSS pixels
2021-07-21 00:12:11 +02:00
Vincent Bernat
e0fea39d47
rofi: switch to Iosevka Aile
...
No need for monospace.
2021-07-20 23:55:03 +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
110db5aa34
rofi: update to 1.6.1
2021-07-20 22:03:50 +02:00
Vincent Bernat
1bc9ea92e1
i3-companion: icon for qalculate
2021-07-20 21:28:19 +02:00
Vincent Bernat
802bac72a0
rofi: small tweak to theme
2021-07-20 19:57:06 +02:00
Vincent Bernat
cc226769d3
i3: make a 1:1 split for Emacs workspace
2021-07-19 16:59:05 +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
c339655b4d
dunst: use a snapshot from dunst able to do proper path lookup icon
...
See dc7e456f03
.
2021-07-18 19:32:49 +02:00
Vincent Bernat
fa94dabe58
rofi: format error message same as message
2021-07-18 17:27:00 +02:00
Vincent Bernat
5d59d3b7f5
i3: give more space to terms on Emacs workspace
2021-07-18 15:24:02 +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
69e027f250
i3: no need to have "run" as a rofi modi
2021-07-17 22:32:34 +02:00
Vincent Bernat
a8a86ad590
i3: don't start Spotify automatically
...
Not needed.
2021-07-17 22:25:47 +02:00
Vincent Bernat
45bb6c3194
i3: switch to rofi for running apps
2021-07-17 22:13:00 +02:00
Vincent Bernat
8d8402e8b8
i3: do not display generic names when using j4-dmenu-desktop
2021-07-17 21:01:13 +02:00
Vincent Bernat
6bcfe92d2f
polybar: simplify date display
2021-07-17 20:32:33 +02:00