mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
trying to get GTK4 apps working
This commit is contained in:
parent
625725b734
commit
e65d7c392e
4 changed files with 82 additions and 26 deletions
|
|
@ -22,6 +22,20 @@ in {
|
|||
wlsunset
|
||||
];
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [pkgs.xdg-desktop-portal-gnome pkgs.xdg-desktop-portal-gtk];
|
||||
# wlr.enable = true;
|
||||
config = {
|
||||
niri = {
|
||||
default = ["gnome" "gtk"];
|
||||
"org.freedesktop.impl.portal.Access" = ["gtk"];
|
||||
"org.freedesktop.impl.portal.Notification" = ["gtk"];
|
||||
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.shellAliases = {
|
||||
restart-shell = "${noctalia} kill && niri msg action spawn -- \"${noctalia}\"";
|
||||
};
|
||||
|
|
@ -176,11 +190,10 @@ in {
|
|||
|
||||
# You can change how the focus ring looks.
|
||||
focus-ring = {
|
||||
# // Uncomment this line to disable the focus ring.
|
||||
# // off
|
||||
enable = true;
|
||||
|
||||
# // How many logical pixels the ring extends out from the windows.
|
||||
# width 4
|
||||
# How many logical pixels the ring extends out from the windows.
|
||||
width = 4;
|
||||
|
||||
# // Colors can be set in a variety of ways:
|
||||
# // - CSS named colors: "red"
|
||||
|
|
@ -188,10 +201,10 @@ in {
|
|||
# // - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
|
||||
|
||||
# // Color of the ring on the active monitor.
|
||||
# active-color "#7fc8ff"
|
||||
active.color = "#7fc8ff";
|
||||
|
||||
# // Color of the ring on inactive monitors.
|
||||
# inactive-color "#505050"
|
||||
inactive.color = "#505050";
|
||||
|
||||
# // You can also use gradients. They take precedence over solid colors.
|
||||
# // Gradients are rendered the same as CSS linear-gradient(angle, from, to).
|
||||
|
|
@ -209,22 +222,20 @@ in {
|
|||
# // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
||||
};
|
||||
|
||||
# // You can also add a border. It's similar to the focus ring, but always visible.
|
||||
# border {
|
||||
# // The settings are the same as for the focus ring.
|
||||
# // If you enable the border, you probably want to disable the focus ring.
|
||||
# off
|
||||
# You can also add a border. It's similar to the focus ring, but always visible.
|
||||
border = {
|
||||
enable = false;
|
||||
|
||||
# width 4
|
||||
# active-color "#ffc87f"
|
||||
# inactive-color "#505050"
|
||||
# width 4
|
||||
# active-color "#ffc87f"
|
||||
# inactive-color "#505050"
|
||||
|
||||
# // Color of the border around windows that request your attention.
|
||||
# urgent-color "#9b0000"
|
||||
# // Color of the border around windows that request your attention.
|
||||
# urgent-color "#9b0000"
|
||||
|
||||
# // active-gradient from="#ffbb66" to="#ffc880" angle=45 relative-to="workspace-view"
|
||||
# // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
||||
# }
|
||||
# // active-gradient from="#ffbb66" to="#ffc880" angle=45 relative-to="workspace-view"
|
||||
# // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
||||
};
|
||||
|
||||
# // You can enable drop shadows for windows.
|
||||
# shadow {
|
||||
|
|
@ -330,7 +341,7 @@ in {
|
|||
{
|
||||
clip-to-geometry = true;
|
||||
geometry-corner-radius = let
|
||||
r = 20.0;
|
||||
r = 10.0;
|
||||
in {
|
||||
bottom-left = r;
|
||||
bottom-right = r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue