Commit Graph

50 Commits (10a63f585d3acd46e630235f59a882402d68e04f)

Author SHA1 Message Date
Simon Bruder 10a63f585d
mako: Remove notification inhibitor
Upstream wants to implement modes, which collide with the patch that I
used.
2021-05-27 18:07:00 +02:00
Simon Bruder 9bbc4a2f7a
sway: Use xwayland from unstable
20.09’s xwayland crashes (presumably because of sway 1.6).
2021-05-04 21:53:15 +02:00
Simon Bruder 09618443eb
sway: Manually implement systemd/dbus integration
The way provided by home-manager does not work reliably.

This also references (hopefully) all executables called by systemd
services by their full path.
2021-05-03 10:16:58 +02:00
Simon Bruder 236ac3488a
sway: Make shells reload environment every time
Otherwise changing environment variables requires me to log out.
2021-05-01 16:34:27 +02:00
Simon Bruder 267eecf000
sway: Make swaynag buttons easier to read 2021-04-30 19:22:08 +02:00
Simon Bruder 0ddb38e8f9
sway: Use package from unstable
Sway 1.6 is in nixos-unstable, so I don’t have to apply the patch
manually.

This also addds the WAYLAND_DISPLAY variable to dbus, which is required
to show the GCR prompter GTK3 window. This only happened after the
upgrade, so I assume sway changed some things that necessitate this.
2021-04-30 19:05:36 +02:00
Simon Bruder 1521f10806
waybar: Do not print status on mpc invocation 2021-03-29 16:20:24 +02:00
Simon Bruder b55144906f
Set user environment variables with home-manager 2021-03-11 19:08:08 +01:00
Simon Bruder d239f2ad5e
mako: Implement notification inhibition
Fixes #43.
2021-03-07 20:25:15 +01:00
Simon Bruder 442297ec85
sway: Use kanshi for output management
Fixes #46.
2021-03-07 17:38:35 +01:00
Simon Bruder 4d474043a0
sway/swaynag: Deduplicate config 2021-03-04 09:39:14 +01:00
Simon Bruder 4923f70389
sway/waybar: Use html entity for thinsp
This also moves it to waybar’s let binding, since it is only needed
there.
2021-03-03 21:49:35 +01:00
Simon Bruder a962fea3a8
sway/waybar: Use correct muted icon 2021-03-03 21:40:24 +01:00
Simon Bruder 05d2529db7
sway/waybar: Add abstraction for unit management
This also passes the unit state as a stream instead of requiring waybar
to poll for the state.
2021-03-02 12:36:50 +01:00
Simon Bruder 2bbe4e715b
sway: Decouple xdg.configFiles
This also adds an empty let binding to the waybar config to avoid an
upcoming commit to introduce a huge diff (twice, since this commit also
would have reformatted the entire waybar configuration).
2021-03-02 12:26:06 +01:00
Simon Bruder 57403a2d52
sway: Fix log pollution
Fixes #44.
2021-03-02 10:36:41 +01:00
Simon Bruder ceda178acf
sway: Manage mako with systemd 2021-03-02 09:49:15 +01:00
Simon Bruder e17aa4bc6b
sway: Manage swayidle with systemd 2021-03-02 09:31:53 +01:00
Simon Bruder d8f75f167a
sway: Manage waybar with systemd 2021-03-02 09:31:22 +01:00
Simon Bruder b3cc7cf907
sway: Redirect output to journal 2021-03-02 08:26:28 +01:00
Simon Bruder c77328af22
Replace builtins with lib where possible 2021-02-27 19:57:00 +01:00
Simon Bruder f03c1daa31
mpd: Export socket path as environment variable
This eliminates the need to specify it manually every time.
2021-02-27 18:34:35 +01:00
Simon Bruder a745d7353e
sway: Add autostart to zshrc instead of zprofile
home-manager’s sessionVariables are not loaded yet when sway starts.
2021-02-27 18:34:35 +01:00
Simon Bruder 1a7ef37376
home: Use nixosConfig instead of inheriting options 2021-02-12 21:12:03 +01:00
Simon Bruder 7a41da6f17
sway: Fix multimedia key bindings 2021-01-19 12:47:03 +01:00
Simon Bruder 2e33f18a3a
sway/wallpaper-unfree: Do not waifu2x wallpaper
I don’t have a screen wider than 1920 pixels and I only see my wallpaper
when switching to a new (empty) workspace.
2021-01-04 12:40:31 +01:00
Simon Bruder 3d73519a76
Make building without unfree software/assets work
This either removes the packages or replaces them with free packages.
2021-01-03 17:11:22 +01:00
Simon Bruder 337ef729e1
sway: wallpaper: Specify license 2021-01-03 15:46:08 +01:00
Simon Bruder fb488a8bb5
Use stdenvNoCC where possible
This makes them not rebuild when the compiler toolchain changes.
2021-01-03 12:55:56 +01:00
Simon Bruder 0b1c19b481
sway/waybar: Open pavucontrol on right click
Otherwise I open it accidentally all the time.
2021-01-01 14:05:23 +01:00
Simon Bruder 539befeba2
Make PTT in Mumble work with wayland
This still has some issues (notably the release not triggering when
switching workspaces while the PTT key is hold).
2020-12-10 20:23:53 +01:00
Simon Bruder c0c36b53d0
Revert "Manage waybar start with systemd"
This reverts commit 289f760252.

Since that commit breaks tray support.
2020-12-10 20:08:01 +01:00
Simon Bruder 9d155e1773
Set GTK2 scale factor to 1 2020-12-08 18:55:34 +01:00
Simon Bruder 571d5bd3ad
sway: Clean up zsh start script 2020-12-07 19:59:49 +01:00
Simon Bruder 29ddc36591
sway: Use proper systemd integration 2020-12-07 19:52:06 +01:00
Simon Bruder 289f760252
Manage waybar start with systemd 2020-12-07 19:49:43 +01:00
Simon Bruder e53f2882f4
Disable system-wide sway extra packages 2020-12-06 13:58:45 +01:00
Simon Bruder ba611b333b
mpd: Listen on socket 2020-12-05 18:53:35 +01:00
Simon Bruder 9b22c91170
config.sbruder.gui → config.sbruder.gui.enable 2020-12-05 15:44:58 +01:00
Simon Bruder f718f79192
home: Parametrise gui 2020-12-05 15:40:48 +01:00
Simon Bruder a04a0e1543
sway: Include wallpaper 2020-12-02 21:39:42 +01:00
Simon Bruder 10b9dd5a84
Add swaynag config 2020-11-26 07:29:04 +01:00
Simon Bruder 70cabe55ee
sway/waybar: Change mpd volume on scroll 2020-11-15 09:45:28 +01:00
Simon Bruder 555109df1b
sway: Add wdisplays 2020-11-14 10:15:54 +01:00
Simon Bruder b5616501b2
home: Move waybar exec commands into scripts 2020-11-08 16:03:13 +01:00
Simon Bruder e6f12b0b76
Use waybar from stable 2020-11-08 12:34:56 +01:00
Simon Bruder bb95194619
home: Add zsh
This imports my (historically evolved) functions. I have to clean them
up sometime.
2020-11-07 19:22:31 +01:00
Simon Bruder fa231a7196
sway: Fully move to home-manager (where possible) 2020-11-07 15:04:49 +01:00
Simon Bruder f02590d824
home: use xdg.configFile where appropriate 2020-11-07 14:37:17 +01:00
Simon Bruder 6557aeee25
home: Add sway 2020-11-07 14:13:43 +01:00