Commit graph

74 commits

Author SHA1 Message Date
Aleksei Bavshin
e980f01b61
sddm-theme: fix missing images with Qt6
Qt6 defers the URL resolution to the component that actually uses the
property. Which means that the images are now resolved relatively to the
corresponding sddm component (Background, ComboBox) instead of a theme.
Work around that by pinning resource URLs to the theme path with
`Qt.resolvedUrl()`.

Fixes following error:
```
file:///usr/lib64/qt6/qml/SddmComponents/ComboBox.qml:105:9: QML Image: Cannot open: file:///usr/lib64/qt6/qml/SddmComponents/angle-down.png
```
2024-02-01 18:57:06 -08:00
Aleksei Bavshin
5b41228334
sddm: install and use the theme 2024-02-01 18:57:05 -08:00
Aleksei Bavshin
02e8e661e4
sddm: update theme metadata
Drop mentions of unused third-party sources from README
2024-02-01 18:57:04 -08:00
Aleksei Bavshin
146cd500db
Merge branch 'upstream' into fedora 2024-02-01 18:56:37 -08:00
Aleksei Bavshin
a1185ef887
sddm: import Maldives theme as sddm/03-sway-fedora
The background and the screenshot are omitted, as we don't intend to use
these images.

Source: github.com/sddm/sddm@501129294be1487f753482c29949fc1c19ef340e
License: CC-BY-SA-3.0 AND MIT
2024-02-01 18:51:47 -08:00
Aleksei Bavshin
2382f71767
Merge branch 'upstream' into fedora 2024-02-01 18:49:19 -08:00
Aleksei Bavshin
314e5108b7
sway: sync config with v1.9-rc1 2024-02-01 18:47:30 -08:00
Aleksei Bavshin
6948ef6f3c
waybar: sync config with v0.9.24 2024-02-01 18:47:18 -08:00
Aleksei Bavshin
0f9e12422b
sway: fix swayidle config for live images
```
swayidle[5956]: 2024-01-15 17:06:41 - [Line 921] Unsupported command '\'
```
2024-01-15 17:11:34 -08:00
Neal Gompa
0d152ac355 Add configuration for Anaconda Initial Setup
With initial-setup-gui >= 0.3.99, it is now possible to use a Wayland
compositor to run the firstboot initial setup experience.
2024-01-14 05:56:09 -05:00
Landon LaSmith
cd158ff63d Update 90-bar.conf with waybar information 2023-10-21 14:44:00 +00:00
Aleksei Bavshin
463bfb8291
sway: stop passing commands from rofi to swaymsg exec 0.3.1
There are issues with escaping and arguments splitting that we're unable
to solve at the moment. For example, `.desktop` files with whitespaces
and other characters treated specially by Sway in the `Exec=` field
are known to be broken[1][2].

Removing `-run-command`/`-run-shell-command` costs us pid-based
workspace assignment. I.e. the applications that take a while to load
will appear on the current workspace instead of the one they were
launched on.
That is at least partially mitigated by the fact that the app will
inherit `XDG_ACTIVATION_TOKEN` and `DESKTOP_STARTUP_ID` variables
created for for `exec rofi` command with a default lifetime of 30s[3].
But not all applications or UI frameworks support that.

This could be revisited later, once we have a solution that correctly
escapes the command to pass it through `swaymsg exec`.

[1]: https://i3wm.org/docs/userguide.html#exec_quoting
[2]: https://github.com/swaywm/sway/issues/5931
[3]: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.16/types/wlr_xdg_activation_v1.c#L361
2023-03-30 20:40:30 -07:00
Aleksei Bavshin
80bded49a4
sway: update XDG user dirs on startup 2023-03-27 19:21:11 -07:00
Aleksei Bavshin
2ae27356aa
sway: enable floating for pavucontrol window 0.3.0 2023-03-23 00:37:55 -07:00
Aleksei Bavshin
967a54323c
sway: limit volume boost via helper script
Fixes: SIG#22
2023-03-23 00:37:54 -07:00
Aleksei Bavshin
bcff48b7ae
sddm: fix fullscreen command invocation
sddm-greeter now starts as a fullscreen window, so the `fullscreen`
command without explicit `enable` was reverting it to a regular window.
2023-03-22 22:19:12 -07:00
Aleksei Bavshin
2beafa9c25
sway: silence swaymsg exec output from launcher command.
The output pollutes the journal and doesn't seem to be useful:
```
unknown[657924]: [
unknown[657924]:   {
unknown[657924]:     "success": true
unknown[657924]:   }
unknown[657924]: ]
```
2023-03-22 21:38:07 -07:00
Aleksei Bavshin
a3ccaebd56
sway: use output power instead of deprecated dpms
BREAKING: this change requires Sway >= 1.8.

Fixes: #3
2023-03-22 21:34:37 -07:00
Aleksei Bavshin
d2212f6672
doc: remove obsolete docs 0.2.0
The configuration guide was moved to sericea-docs.
2023-02-26 16:12:49 -08:00
Aleksei Bavshin
accad0c34b
sddm: apply system keyboard configuration 2023-02-22 07:23:50 -08:00
Aleksei Bavshin
8e37d24784
sway: XDG desktop autostart support 2023-02-22 07:23:43 -08:00
Aleksei Bavshin
66f553d999
sway: restrict WLR_RENDERER workaround to kvm
pixman is known to not work at least on vmware, so we don't want to be
setting WLR_RENDERER indiscriminately.
2023-02-20 23:28:30 -08:00
Jiri Konecny
239dd22eea
Fix Anaconda startup from app launcher on Live 0.1.3
We recommend use of application launcher in installation instructions
but Anaconda won't start until xhost application is started.

It's already solved by starting xhost app in ~/.bashrc, however, that
won't work for a launcher because it's not sourcing ~/.bashrc. To solve
this, start xhost by Sway configuration file on Live.
2023-02-16 18:25:01 +01:00
Aleksei Bavshin
0e4e76fee0
sway: screenshot shortcut confilct with modifier=Alt 2023-02-11 12:36:06 -08:00
Jiri Konecny
942a3881dd Add configs for Live to show install instructions 0.1.2
These configuration files will be used by nwg-wrapper on live media to
show installation instructions on background.
2023-01-14 20:13:10 +00:00
Aleksei Bavshin
c5d0b5cbb1
sway: use combined drun+run mode for rofi 2023-01-10 21:04:44 -08:00
Aleksei Bavshin
b38cab6afc
sddm: don't check for virtualization if start-sway is sourced 0.1.1 2023-01-03 22:55:30 -08:00
Aleksei Bavshin
5ca76fd3af
sway: move /etc/sway/env -> /etc/sway/environment
Add example environment file.
2023-01-03 22:55:29 -08:00
Aleksei Bavshin
606813b03d
sway: use set -o allexport to source variables 2023-01-03 21:48:40 -08:00
Aleksei Bavshin
7a28b90e3b
rpkg: sync with Fedora review 2023-01-03 07:56:21 -08:00
Aleksei Bavshin
87ec1df08c
rpkg: minor cleanups
- Drop %%check - as Sway does not report the result in an exit code, it
  wasn't useful during the package build.
- Update sddm version requirement. The patch is now applied in Fedora.
2022-12-24 11:58:43 -08:00
Aleksei Bavshin
43c6da5b5c
rpkg: switch to the current snapshot versioning scheme v0.1.0
As documented in https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots
2022-12-19 08:10:41 -08:00
Aleksei Bavshin
642fdebf8c
sway: add initial configuration guide 2022-12-12 20:05:22 -08:00
Aleksei Bavshin
46c46d09af
sway: add keybindings for taking screenshots 2022-12-12 19:38:04 -08:00
Aleksei Bavshin
2e6b23c123
sway: reorder configuration snippets 2022-12-12 19:37:51 -08:00
Aleksei Bavshin
c8dd5c9ad6
sway: add configs for live installer environment 2022-12-11 20:42:01 -08:00
Aleksei Bavshin
dfef15b7ee
Merge branch 'upstream' into fedora 2022-12-11 18:51:21 -08:00
Aleksei Bavshin
118f33f269
waybar: sync config with upstream release 0.9.16 2022-12-11 18:49:14 -08:00
Aleksei Bavshin
4afc81251d
sway: sync config with upstream release 1.8-rc2 2022-12-11 18:46:37 -08:00
Aleksei Bavshin
f6a6ff63f9
sway: use unprocessed upstream config 2022-12-11 18:44:55 -08:00
Aleksei Bavshin
ec2501952c
Update copyright 2022-11-29 20:51:54 -08:00
Aleksei Bavshin
40ee7dc617
rpm: rename the package 2022-11-28 22:40:28 -08:00
Aleksei Bavshin
72c832df04
sddm: disable displays on idle 2022-08-29 19:05:32 -07:00
Aleksei Bavshin
cbdafe7db9
sddm: wrap greeter command 2022-08-29 19:05:31 -07:00
Aleksei Bavshin
5447210ffd
sway: ensure that sway can start on typical VM configurations 2022-08-29 19:04:26 -07:00
Aleksei Bavshin
d6b3f65539
sway: install wrapper script with some initial environment 2022-08-29 19:04:24 -07:00
Aleksei Bavshin
0b3da29d76
sway: switch launcher application to rofi-wayland
As decided on the 2022-08-24 SIG meeting, we're going to use
rofi-wayland as a default launcher.
2022-08-27 20:19:04 -07:00
Jiri Konecny
e2f9d627d0
Add Brave browser next to Chromium and Firefox to rules-browser.conf
Why not Brave, it's getting more and more attention.
2022-08-11 21:21:02 +02:00
Aleksei Bavshin
e2ffb80b47
layered-include: save generated config to XDG_RUNTIME_DIR
Seems like a safer and more appropriate place.
2022-08-05 06:56:20 -07:00
Aleksei Bavshin
8b62660eb4
sway: more generic config names
As we're no longer using 50-fedora.conf as an entrypoint, it's better to
make config names stable and remove underlying tools from the names.

This way we are free to change the implementation while users will use
the same filename for overrides. I.e. 90-bar.conf should be created in
the user config directory no matter which bar we use in the default
config.
2022-08-05 06:48:44 -07:00