Vincent Bernat
f0a7eca578
i3-companion: cosmetic fixes
...
Also update immediately if active connection change.
2021-07-12 08:11:05 +02:00
Vincent Bernat
7df5011824
i3-companion: replace network module by custom IPC for Network Manager
2021-07-12 07:32:39 +02:00
Vincent Bernat
b3c386b778
i3-companion: rename network_manager_update
...
The goal is only to display notifications.
2021-07-11 22:52:50 +02:00
Vincent Bernat
d56b44114a
i3-companion: ensure variables are captured when wrapping event
2021-07-11 22:46:53 +02:00
Vincent Bernat
83ba6b5a23
i3-companion: also listen to DBus for NetworkManager
...
As a proof of concept add notifications for events.
2021-07-11 22:06:23 +02:00
Vincent Bernat
e8b7487512
i3: unconditionally restart i3-companion on reload
2021-07-11 22:06:23 +02:00
Vincent Bernat
674a4eab56
i3-companion: run black with max line length to 79
2021-07-11 20:47:51 +02:00
Vincent Bernat
812ce97360
polybar: use a greater interval for network
...
No stats to update.
2021-07-11 14:14:51 +02:00
Vincent Bernat
63eec74986
dunst: more icons
2021-07-11 14:14:51 +02:00
Vincent Bernat
0e88b0f545
i3-companion: blacken the code
2021-07-11 12:23:00 +02:00
Vincent Bernat
0984436348
i3-companion: move notify helper function at top
2021-07-11 12:20:42 +02:00
Vincent Bernat
f98b530813
i3-companion: use dbussy to interact with DBus
...
`notify-send` is too limited, notably to get the notification ID.
2021-07-11 12:18:19 +02:00
Vincent Bernat
4f28e682e1
i3-companion: encapsulate state into function object
...
This avoids littering the code with global variables.
2021-07-11 11:42:23 +02:00
Vincent Bernat
b25442dfd9
polybar: add back disk module
...
I am using my own compiled version of polybar.
2021-07-11 11:27:37 +02:00
Vincent Bernat
fdbfd3c68c
dunst: add a frame to notifications
...
It's easier to read this way.
2021-07-11 11:21:47 +02:00
Vincent Bernat
e007711578
picom: also add fading for tooltips, notifications and menus
2021-07-11 08:58:43 +02:00
Vincent Bernat
61c9eb7fd8
picom: drop shadows for some window types
2021-07-11 08:53:30 +02:00
Vincent Bernat
5426dcefdc
picom: exclude utility windows from opacity
...
That's what Firefox is using for some menus.
2021-07-11 08:51:28 +02:00
Vincent Bernat
f3a0a870b1
input-event: increase acceleration for TPPS/2 device
...
Also, remove configuration for Synaptics Touchpad. Not needed.
2021-07-11 00:29:09 +02:00
Vincent Bernat
78aa09fc65
xsession: don't try to sync Firefox' user.js
...
Glob is not extended after variable expansion. Not worth it. It's not
like Firefox can be configured just by this way.
2021-07-11 00:28:24 +02:00
Vincent Bernat
c8af3d585a
i3-companion: wait longer to debounce XRandR events
2021-07-11 00:28:11 +02:00
Vincent Bernat
c13fb9f387
i3-companion: use double exec for Quake console as well
2021-07-11 00:26:52 +02:00
Vincent Bernat
b7a878d8f7
i3: trigger reload through systemd service
2021-07-10 21:45:02 +02:00
Vincent Bernat
1d46b1a4e5
polybar: move back all modules except pulseaudio to primary
2021-07-10 18:29:27 +02:00
Vincent Bernat
7d83943adf
polybar: keep volume when muting
...
Otherwise, the layout change.
2021-07-10 18:22:10 +02:00
Vincent Bernat
6638bfdb36
i3-companion: log to systemd
2021-07-10 13:17:07 +02:00
Vincent Bernat
6a2db7ed4b
polybar: try to display disks when full
...
This is not possible yet. The trick we did use for battery is not
possible either as it is not possible to use tokens inside ramps.
2021-07-10 13:08:29 +02:00
Vincent Bernat
5583ecdc52
i3-companion: add icon for gitg
2021-07-10 13:07:14 +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
a918e1c01d
polybar: use Font Awesome 6
2021-07-10 00:13:08 +02:00
Vincent Bernat
14aee903fc
polybar: do not prevent use of click/scroll for i3 workspaces
...
There is no real point to this. I don't click on them by accident, I
just usually don't click on them.
2021-07-09 23:58:17 +02:00
Vincent Bernat
e9a1b3101e
dunst: use left click to execute action, other clicks close
2021-07-09 23:57:58 +02:00
Vincent Bernat
c218150bc5
i3: switch default workspace layout to tabbed
2021-07-09 20:35:59 +02:00
Vincent Bernat
a2588342ff
i3-companion: fix logic for container layout
...
Only empty workspaces are special. They follow `workspace_layout`
value, except if `default`, in this case `layout`.
2021-07-09 20:35:59 +02:00
Vincent Bernat
8490fed7bc
i3-companion: don't display layout for leaves, it does not make sense
...
If we change the direction of a window, this creates a new container.
I don't think layout is used at all for windows.
2021-07-09 20:18:53 +02:00
Vincent Bernat
47d4fc848c
i3-companion: don't display layout for workspaces unless empty
2021-07-09 20:11:56 +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
4e06e54f64
polybar: move back date to center
2021-07-09 17:14:54 +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
1afcfcec71
polybar: enable scroll to change brightness
2021-07-09 14:38:56 +02:00
Vincent Bernat
ae73f4c60f
input: fix configuration between guybrush/chocobo
2021-07-08 22:54:38 +02:00
Vincent Bernat
f4f7a1c617
input: fix touchpad configuration
2021-07-08 22:53:18 +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
9545dd36c6
systemd: do not start tmux on boot
...
Dunno why I did that. It has absolutely no effect as the process does
not stay. Maybe this wasn't the case in the past.
2021-07-08 22:29:52 +02:00
Vincent Bernat
ade2fd64c7
polybar: consider battery full at 98%
2021-07-08 22:29:37 +02:00
Vincent Bernat
f731de2528
input: reenable natural scrolling on SynPS/2
2021-07-08 21:15:54 +02:00
Vincent Bernat
af5f11e483
wallpaper: use hsetroot instead of fvwm-root
...
I was using fvwm-root because it was able to retain pixmap in some X
property for use by some programs. These days are gone and programs
are now using ARGB visual and the compositor. Let's switch to simpler
hsetroot.
2021-07-08 21:08:25 +02:00
Vincent Bernat
6477e0a0be
xsettingsd: remove SKIP_RELOAD environment variable from systemd unit
...
It is unused.
2021-07-08 17:57:38 +02:00
Vincent Bernat
5141bf86cd
xsettinsd: restart i3-cmd on DPI change as well
...
It reads DPI value from Xft.dpi.
2021-07-08 17:54:34 +02:00