Vincent Bernat
e4a5aa99e8
i3: move screenshot to an helper script
2021-08-08 13:18:49 +02:00
Vincent Bernat
34946de658
i3: use maim for screenshots
...
No need for a complex tool like Flameshot. It is nice to have, but it
doesn't allow me to select a window... Most of the time, I need a
window or an area to the clipboard. Sometimes, I need a quick
screenshot of the whole screen.
2021-08-07 21:51:33 +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
d33c0a30df
i3: set a small border for Firefox sharing indicator
...
It seems it can continue to get focus, so it's useful to see when it has.
2021-08-02 10:42:20 +02:00
Vincent Bernat
b67d5aca14
i3: avoid Firefox sharing indicator to get focus
2021-08-02 10:36:47 +02:00
Vincent Bernat
e976afc1a3
i3: change font to Iosevka Aile
...
This matches the remaining configuration.
2021-07-28 18:47:25 +02:00
Vincent Bernat
772700e7a2
i3: disable CSD in i3 configuration
...
OK, not a fan of using LD_PRELOAD which may break at some point, may
not apply to Flatpaks, etc. Try a bit the workaround in i3
configuration and we will use preload if it's not enough.
2021-07-28 09:02:48 +02:00
Vincent Bernat
4ace8ac9a3
i3: disable GTK CSD in xsession
2021-07-28 08:53:31 +02:00
Vincent Bernat
546ff41ed2
i3: do not try to fix borders for floating windows
...
They are more likely to be a special case and usually, this is not the
way regular apps are run.
2021-07-28 08:41:19 +02:00
Vincent Bernat
2aaca78c3b
i3: ensure windows have a 3-pixel border even when using CSP
2021-07-28 08:36: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
26d3ad5fb7
i3: wait for being online before spawning Firefox
2021-07-21 11:12:11 +02:00
Vincent Bernat
24a07e8165
rofi-mediaplayer: display current track when playing
2021-07-20 23:48:41 +02:00
Vincent Bernat
99de0bc1fd
i3: replace media player mode by rofi
2021-07-20 22:33:02 +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
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
25427b2390
i3: switch to j4-dmenu-desktop
2021-07-17 11:49:43 +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
352c40f264
i3: Firefox WebRTC indicator has lost its role, match on title
2021-07-16 11:33:09 +02:00
Vincent Bernat
34ac2d7268
i3: move Firefox WebRTCGlobalIndicator to some fixed position
2021-07-12 20:17:33 +02:00
Vincent Bernat
b7a878d8f7
i3: trigger reload through systemd service
2021-07-10 21:45:02 +02:00
Vincent Bernat
2533706212
i3: temporarily disable focus wrapping
...
Just to force myself to use the directions as expected.
2021-07-10 00:26:43 +02:00
Vincent Bernat
c218150bc5
i3: switch default workspace layout to tabbed
2021-07-09 20:35:59 +02:00
Vincent Bernat
28688357a1
i3: don't use a layout for something that simple
...
New windows are not created as tabbed but follow the default layout of
the workspace. So, set this default and just run firefox from there.
2021-07-09 17:22:18 +02:00
Vincent Bernat
856ef13c02
i3-companion: display tree for the current workspace
...
This helps to understand what's happening.
2021-07-09 16:12:00 +02:00
Vincent Bernat
13e2c72123
i3: keep only a binding to toggle layout between splitv/splith/tabbed
2021-07-09 15:08:27 +02:00
Vincent Bernat
f9290c8cf3
i3: use "exec exec" to avoid extra shell lying around
...
Event for short command, we avoid an extra fork.
2021-07-08 22:36:28 +02:00
Vincent Bernat
5239148319
i3-companion: use bindings to communicate with companion
...
This avoids spawning an i3-msg process. The drawback is that we have
to listen to all keybindings.
2021-07-08 12:01:17 +02:00
Vincent Bernat
f7646037fa
i3: quote send_tick arguments for consistency
2021-07-07 22:08:29 +02:00
Vincent Bernat
14342c25b3
i3: use $mediaplayer if possible
2021-07-07 21:51:07 +02:00
Vincent Bernat
d99f158654
i3: use default directions
...
It makes sense as there is less need to move the right hand.
2021-07-07 21:50:49 +02:00
Vincent Bernat
2c98fcc062
i3: don't focus splash windows
2021-07-07 12:30:36 +02:00
Vincent Bernat
e1fcaede3f
i3-companion: add a binding to show window info
2021-07-07 12:30:30 +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
e31aafdd5d
i3: don't move quake console to scratchpad each time its title change
2021-07-06 08:50:03 +02:00
Vincent Bernat
3d10d1aa63
i3: also use a saved layout for firefox
2021-07-06 06:55:52 +02:00
Vincent Bernat
43697a0617
i3: ensure spotify starts on the right workspace
...
Spotify still does not assign the class before mapping the window...
2021-07-06 00:03:18 +02:00
Vincent Bernat
a22d8804bf
i3: add a binding to focus the next screen
...
Dunno if it's really convenient compared to moving from container to
container until the next screen? Let's try out a bit.
2021-07-05 22:29:40 +02:00
Vincent Bernat
75779554d7
i3: use a saved layout to spawn Emacs workspace
...
This works great!
2021-07-05 21:59:05 +02:00
Vincent Bernat
b17a6e2bfc
i3: add back a command to split a window
...
I was a bit confused. "layout toggle split" is changing the kind of
layout to tiling mode and change the split direction. However, "split
toggle" will change the direction the _current_ window will be split.
So, I need both.
2021-07-05 21:43:29 +02:00
Vincent Bernat
b714ed2407
i3: autostart some applications
...
This is a first try. I should use layout/restore, but maybe I can get
a good result with just that. This is a bit limited as it is not
possible to change layout this way, so the Emacs workspace will not be
as I expect it to be.
2021-07-05 21:42:59 +02:00
Vincent Bernat
e56e1210f7
i3: increase a bit resize steps for tiled window
2021-07-05 20:23:23 +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
a4ee2b92bb
i3: use same bindings as in Awesome for media player
2021-07-05 18:50:33 +02:00