Compare commits

...

7 commits

Author SHA1 Message Date
119954200e talos: fix Firefox inhibit behavior
See https://github.com/flatpak/xdg-desktop-portal-gtk/issues/465 for
details about the issue.

TL;DR: x-d-p-gtk doesn't report a failure to handle the idle inhibit to
Firefox, so Firefox doesn't fallback to the Wayland protocol.
2025-02-28 11:54:50 +01:00
9045c7dcd4 talos: home: setup darkman 2025-02-28 11:54:31 +01:00
ced4f2be27 talos: home: setup wlsunset 2025-02-28 11:54:31 +01:00
428fb20ecf home: tmux: switch to catppuccin for tmux theme 2025-02-28 11:51:45 +01:00
1068a3a041 talos: home: tweak colors for focused windows 2025-02-28 11:51:15 +01:00
49de758a72 talos: home: enable touchpad swipe 2025-02-28 11:50:42 +01:00
732f513eb5 talos: home: tweak font size 2025-02-28 11:49:45 +01:00
3 changed files with 43 additions and 11 deletions

View file

@ -34,9 +34,10 @@ in {
'';
}
{
plugin = tmuxPlugins.tmux-colors-solarized;
plugin = pkgs.tmuxPlugins.catppuccin;
extraConfig = ''
set -g @colors-solarized 'light'
set -g @catppuccin_flavor 'latte'
set -g @catppuccin_window_status_style "rounded"
'';
}
];

View file

@ -158,6 +158,8 @@
environment.systemPackages = [
pkgs.foot
# FIXME: is this needed?
pkgs.darkman
];
#programs.hyprland.enable = true;
@ -166,6 +168,14 @@
wrapperFeatures.gtk = true;
};
# TODO: These are overriden by files from
# ~/.config/xdg-desktop-portal/sway-portals.conf so they should be moved to
# home
xdg.portal.config.sway = {
"org.freedesktop.impl.portal.Settings" = "darkman";
"org.freedesktop.impl.portal.Inhibit" = "none";
};
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.

View file

@ -23,8 +23,26 @@ in {
my.theme = config.home-manager.users.alarsyo.my.themes.solarizedLight;
# TODO: place in global home conf
services.dunst.enable = true;
services = {
# TODO: place in global home conf
dunst.enable = true;
wlsunset = {
enable = true;
latitude = 48.9;
longitude = 2.3;
temperature = {
day = 6500;
night = 3500;
};
};
darkman = {
enable = true;
settings = {
lat = 48.9;
lng = 2.3;
};
};
};
home.packages = builtins.attrValues {
inherit
@ -71,7 +89,7 @@ in {
};
fonts = {
names = ["Iosevka Fixed" "FontAwesome6Free"];
size = 8.0;
size = 9.0;
};
bars = [];
@ -115,6 +133,9 @@ in {
bindswitch --reload --locked lid:off output eDP-1 enable;
bindswitch --reload --locked lid:on output eDP-1 disable;
bindgesture swipe:right workspace prev
bindgesture swipe:left workspace next
set $rosewater #dc8a78
set $flamingo #dd7878
set $pink #ea76cb
@ -142,12 +163,12 @@ in {
set $mantle #e6e9ef
set $crust #dce0e8
# target title bg text indicator border
client.focused $lavender $base $text $rosewater $lavender
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
client.unfocused $overlay0 $base $text $rosewater $overlay0
client.urgent $peach $base $peach $overlay0 $peach
client.placeholder $overlay0 $base $text $overlay0 $overlay0
# target title bg text indicator border
client.focused $lavender $lavender $base $rosewater $lavender
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
client.unfocused $overlay0 $base $text $rosewater $overlay0
client.urgent $peach $base $peach $overlay0 $peach
client.placeholder $overlay0 $base $text $overlay0 $overlay0
client.background $base
smart_borders on