Commit graph

1315 commits

Author SHA1 Message Date
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
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
b0ba3f72fd doc: add links to things I'd like to do but I didn't 2021-07-17 13:27:24 +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
333c32e7df firefox: allow autoplay of muted video
This is unfair to other formats like GIF.
2021-07-17 12:41:59 +02:00
Vincent Bernat
25427b2390 i3: switch to j4-dmenu-desktop 2021-07-17 11:49:43 +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
97d59dd795 i3: switch to i3-dmenu-desktop to exec commands
No point in running commands requiring a terminal
2021-07-17 10:59:25 +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
352c40f264 i3: Firefox WebRTC indicator has lost its role, match on title 2021-07-16 11:33:09 +02:00
Vincent Bernat
78378278c3 i3-companion: moar bluetooth icons
And rearrange the matching code
2021-07-16 10:15:39 +02:00
Vincent Bernat
4d76aedb61 i3-companion: reduce CPU usage by avoiding f-string for logger.debug 2021-07-16 08:22:59 +02:00
Vincent Bernat
bf08c327a3 i3-companion: make debounce decorator composable
This allows us to move the retry behavior into a separate decorator.
The semantic is a bit different as, now, if there is another iteration
pending, it is lost.
2021-07-16 08:03:03 +02:00
Vincent Bernat
a5e5b23ec8 i3-companion: fix bluetooth on/off 2021-07-16 07:27:59 +02:00
Vincent Bernat
fc3563777a i3-companion: make more properties of DBusSignal optional 2021-07-16 01:18:19 +02:00
Vincent Bernat
c974b59082 i3-companion: make DBusSignal accept more filters 2021-07-16 01:15:33 +02:00
Vincent Bernat
2fd855e191 i3-companion: push bluetooth status to polybar 2021-07-16 00:52:54 +02:00
Vincent Bernat
e79b7291ad i3-companion: avoid leaking X11 file descriptor 2021-07-15 21:26:54 +02:00
Vincent Bernat
ae6e89e27e xss-lock: correctly stop redshift 2021-07-15 20:55:46 +02:00
Vincent Bernat
0f4e668b51 i3-companion: avoid leaking window name in logs 2021-07-15 20:52:32 +02:00
Vincent Bernat
ce25d4d970 polybar: only takes the primary screen if connected 2021-07-15 19:15:16 +02:00
Vincent Bernat
1ee8138fbf firefox: mention Firefox 91 as fixing the dark/light mix 2021-07-15 18:57:36 +02:00
Vincent Bernat
ea4905bc9d i3-companion: enable autoreconnect to i3 2021-07-15 18:20:59 +02:00
Vincent Bernat
11044c6f3e xsettingsd: optimize a bit the shell script 2021-07-15 18:17:18 +02:00
Vincent Bernat
550ad9deac i3-companion: switch to Xlib to query XRandR state 2021-07-15 15:28:24 +02:00
Vincent Bernat
753eca739c wallpaper: optimize use of XRandR
Don't ask for hardware update.
2021-07-15 15:26:03 +02:00
Vincent Bernat
84b1aa99cc i3-companion: don't restart everything on spurious RandR events 2021-07-15 15:14:39 +02:00
Vincent Bernat
390597ecd7 polybar: avoid querying xrandr for changes too much
For some reason, this makes X probe again the monitors. Switch to
`xrandr --current` seems to make this problem goes away. Maybe, this
is also `polybar --list-monitors` keeping a grab while polybar is
starting.
2021-07-15 14:32:00 +02:00
Vincent Bernat
dfb7cb555e xss-lock: do not trigger a XRandR event
I need to fix that later...
2021-07-15 11:35:19 +02:00
Vincent Bernat
c7365a8886 i3-companion: add icon for d-feet 2021-07-14 20:47:46 +02:00
Vincent Bernat
e4adc69a71 firefox: mention patch about dark theme/light pages 2021-07-14 20:41:19 +02:00
Vincent Bernat
8cb90e03da firefox: don't resist fingerprinting
So many stuff are breaking, including switching tabs use Alt+N. Switch
back to systemUsesDarkTheme 0 for the moment...
2021-07-14 19:01:53 +02:00