added alacritty, foot doesnt support dynamic themeing :c

This commit is contained in:
foxora 2026-02-23 19:33:14 +00:00
parent cf5b772204
commit 79af2ce80f
11 changed files with 184 additions and 137 deletions

View file

@ -1,10 +1,19 @@
# window rules
# ---------------------------------------------------------------------------- #
# terminal - blur
windowrule {
name = terminal-blur
match:class = ^(foot|Alacritty)$
match:fullscreen = false
opacity = 0.95
}
# ---------------------------------------------------------------------------- #
# task manager
windowrule {
name = task-manager
match:class = ^(foot)$
name = terminal-manager
match:class = ^(foot|Alacritty)$
match:title = ^(btop)$
float = true
center = true
@ -15,33 +24,13 @@ windowrule {
# terminal filechooser
windowrule {
name = terminal-filechooser
match:class = ^(foot)$
match:class = ^(foot|Alacritty)$
match:title = ^(filechooser)$
float = true
center = true
size = (monitor_w*0.85) (monitor_h*0.85)
}
# ---------------------------------------------------------------------------- #
# yazi explorer
#windowrule {
#name = yazi
#match:class = ^(foot)$
#match:title = ^(yazi)$
#float = true
#center = true
#size = (monitor_w*0.85) (monitor_h*0.85)
#}
# ---------------------------------------------------------------------------- #
# foot - blur
windowrule {
name = foot-blur
match:class = ^(foot)$
match:fullscreen = false
opacity = 0.95
}
# ---------------------------------------------------------------------------- #
# imhex - blur
windowrule {

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
wayland.windowManager.hyprland = {
enable = true;
package = null;
@ -23,8 +24,8 @@
"$mod" = "SUPER";
# applications
"$terminal" = "foot";
"$explorer" = "foot -e yazi";
"$terminal" = "alacritty";
"$explorer" = "alacritty -e yazi";
"$browser" = "zen-twilight";
# menu
@ -278,15 +279,15 @@
];
layerrule = [
#"blur, aurorashell"
#"ignorealpha 0.7, aurorashell"
#"blur, aurorashell"
#"ignorealpha 0.7, aurorashell"
"blur on, match:namespace waybar"
"ignore_alpha 0, match:namespace waybar"
"blur on, match:namespace waybar"
"ignore_alpha 0, match:namespace waybar"
"blur on, match:namespace rofi"
"xray on, match:namespace rofi"
"ignore_alpha 0, match:namespace rofi"
"blur on, match:namespace rofi"
"xray on, match:namespace rofi"
"ignore_alpha 0, match:namespace rofi"
];
env = [

View file

@ -73,8 +73,8 @@ accel_profile = 0
################################################################################
# applications
bind = SUPER, t, spawn, foot
bind = SUPER, e, spawn, foot -e yazi
bind = SUPER, t, spawn, alacritty
bind = SUPER, e, spawn, alacritty -e yazi
bind = SUPER, r, spawn, zen-twilight
# rofi

View file

@ -1,3 +1,3 @@
# ---------------------------------------------------------------------------- #
# foot - blur
windowrule=focused_opacity:0.95,unfocused_opacity:0.95,appid:^(foot)$
# terminal - blur
windowrule=focused_opacity:0.95,unfocused_opacity:0.95,appid:^(foot|alacritty)$

View file

@ -1,79 +1,84 @@
{spkgs, ...}: {
wayland.windowManager.river = let
layout = "rivertile";
in {
enable = true;
xwayland.enable = true;
package = spkgs.river-classic; # FIX: using spkgs version as zls is broken rn ;-;
{ spkgs, ... }:
{
wayland.windowManager.river =
let
layout = "rivertile";
in
{
enable = true;
xwayland.enable = true;
package = spkgs.river-classic; # FIX: using spkgs version as zls is broken rn ;-;
settings = let
main = "Super";
settings =
let
main = "Super";
# applications
terminal = "foot";
browser = "firefox";
in {
default-layout = "${layout}";
output-layout = "${layout}";
border-width = 1;
# applications
terminal = "alacritty";
browser = "firefox";
in
{
default-layout = "${layout}";
output-layout = "${layout}";
border-width = 1;
spawn = [
''${layout}''
spawn = [
"${layout}"
"awww-daemon"
"waybar"
];
"awww-daemon"
"waybar"
];
map.normal = {
"${main} C" = "close"; # close focused window
"${main}+Alt Delete" = "exit"; # exit river
map.normal = {
"${main} C" = "close"; # close focused window
"${main}+Alt Delete" = "exit"; # exit river
# app launcher
"${main} D" = ''spawn "pkill -x rofi || rofi -show drun -show-icons"'';
"Alt Tab" = ''spawn "pkill -x rofi || rofi -modi window -show window -show-icons"'';
# app launcher
"${main} D" = ''spawn "pkill -x rofi || rofi -show drun -show-icons"'';
"Alt Tab" = ''spawn "pkill -x rofi || rofi -modi window -show window -show-icons"'';
# spawn applications
"${main} T" = ''spawn "${terminal}"'';
"${main} R" = ''spawn "${browser}"'';
# spawn applications
"${main} T" = ''spawn "${terminal}"'';
"${main} R" = ''spawn "${browser}"'';
# move focused view to top of layout stack
"${main} N" = ''zoom'';
# move focused view to top of layout stack
"${main} N" = "zoom";
# focus next/previous view
"${main} J" = "focus-view previous";
"${main} K" = "focus-view next";
# move to next/previous output
"${main} H" = "focus-output previous";
"${main} L" = "focus-output next";
# focus next/previous view
"${main} J" = "focus-view previous";
"${main} K" = "focus-view next";
# move to next/previous output
"${main} H" = "focus-output previous";
"${main} L" = "focus-output next";
# swap next/previous view
"${main}+Alt J" = "swap previous";
"${main}+Alt K" = "swap next";
# send view to next/previous output
# and switch to that output (wip)
"${main}+Alt H" = "send-to-output previous";
#"${main}+Alt H" = "focus-output previous";
"${main}+Alt L" = "send-to-output next";
#"${main}+Alt L" = "focus-output next";
# swap next/previous view
"${main}+Alt J" = "swap previous";
"${main}+Alt K" = "swap next";
# send view to next/previous output
# and switch to that output (wip)
"${main}+Alt H" = "send-to-output previous";
#"${main}+Alt H" = "focus-output previous";
"${main}+Alt L" = "send-to-output next";
#"${main}+Alt L" = "focus-output next";
# move views
#"${main}+Alt H" = "move left 100";
#"${main}+Alt J" = "move down 100";
#"${main}+Alt K" = "move up 100";
#"${main}+Alt L" = "move right 100";
# move views
#"${main}+Alt H" = "move left 100";
#"${main}+Alt J" = "move down 100";
#"${main}+Alt K" = "move up 100";
#"${main}+Alt L" = "move right 100";
# snap views
#"${main}+Control H" = "snap left";
#"${main}+Control J" = "snap down";
#"${main}+Control K" = "snap up";
#"${main}+Control L" = "snap right";
# snap views
#"${main}+Control H" = "snap left";
#"${main}+Control J" = "snap down";
#"${main}+Control K" = "snap up";
#"${main}+Control L" = "snap right";
# resize views
#"${main}+Shift H" = "resize horizontal -100";
#"${main}+Shift J" = "resize vertical -100";
#"${main}+Shift K" = "resize vertical 100";
#"${main}+Shift L" = "resize horizontal 100";
};
# resize views
#"${main}+Shift H" = "resize horizontal -100";
#"${main}+Shift J" = "resize vertical -100";
#"${main}+Shift K" = "resize vertical 100";
#"${main}+Shift L" = "resize horizontal 100";
};
};
};
};
}

View file

@ -1,49 +1,52 @@
{config, ...}: {
{ config, ... }:
{
wayland.windowManager.sway = {
enable = true;
config = rec {
modifier = "Mod4"; # Mod4 = Super/Meta
terminal = "foot";
terminal = "alacritty";
# disable sway bar
bars = [];
bars = [ ];
# set border colors
#colors = {
#focused =
startup = [
{command = "awww-daemon";}
{command = "waybar";}
{ command = "awww-daemon"; }
{ command = "waybar"; }
];
keybindings = let
main = config.wayland.windowManager.sway.config.modifier;
terminal = config.wayland.windowManager.sway.config.terminal;
browser = "firefox";
in {
"${main}+c" = "kill"; # close focused window
"${main}+Alt+Delete" = "exit"; # exit sway
keybindings =
let
main = config.wayland.windowManager.sway.config.modifier;
terminal = config.wayland.windowManager.sway.config.terminal;
browser = "firefox";
in
{
"${main}+c" = "kill"; # close focused window
"${main}+Alt+Delete" = "exit"; # exit sway
# open launcher
"${main}+d" = "exec pkill -x rofi || rofi -show drun -show-icons";
"Alt+Tab" = "exec pkill -x rofi || rofi -modi window -show window -show-icons";
# open launcher
"${main}+d" = "exec pkill -x rofi || rofi -show drun -show-icons";
"Alt+Tab" = "exec pkill -x rofi || rofi -modi window -show window -show-icons";
"${main}+t" = "exec ${terminal}"; # open terminal
"${main}+r" = "exec ${browser}"; # open browser
"${main}+t" = "exec ${terminal}"; # open terminal
"${main}+r" = "exec ${browser}"; # open browser
# move focus
"${main}+h" = "focus left";
"${main}+j" = "focus down";
"${main}+k" = "focus up";
"${main}+l" = "focus right";
# move focus
"${main}+h" = "focus left";
"${main}+j" = "focus down";
"${main}+k" = "focus up";
"${main}+l" = "focus right";
# move focused window
"${main}+Alt+h" = "move left";
"${main}+Alt+j" = "move down";
"${main}+Alt+k" = "move up";
"${main}+Alt+l" = "move right";
};
# move focused window
"${main}+Alt+h" = "move left";
"${main}+Alt+j" = "move down";
"${main}+Alt+k" = "move up";
"${main}+Alt+l" = "move right";
};
};
};
}