fix formatting

This commit is contained in:
2023-11-28 00:30:21 +01:00
parent 9cb2787aab
commit 08f821f8e0
20 changed files with 465 additions and 2042 deletions

View File

@@ -7,7 +7,10 @@
size = 12;
};
window = {
padding = { x = 16; y = 16; };
padding = {
x = 16;
y = 16;
};
opacity = 0.8;
};
};

View File

@@ -1,5 +1,8 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
wayland.windowManager.hyprland = {
enable = true;
enableNvidiaPatches = true;
@@ -151,7 +154,7 @@
};
programs.fuzzel = import ./fuzzel.nix;
# programs.alacritty = import ./alacritty.nix;
programs.kitty = import ./kitty.nix { inherit pkgs; };
programs.kitty = import ./kitty.nix {inherit pkgs;};
programs.wofi = import ./wofi.nix;
programs.swaylock = import ./swaylock.nix;
@@ -170,13 +173,15 @@
wl-clipboard
polkit_gnome
xdg-desktop-portal-gtk
/* TODO: (flameshot.overrideAttrs(prev: {
/*
TODO: (flameshot.overrideAttrs(prev: {
nativeBuildInputs = prev.nativeBuildInputs ++ [ git grim ];
cmakeFlags = [
"-DUSE_WAYLAND_CLIPBOARD=1"
"-DUSE_WAYLAND_GRIM=true"
];
}))*/
}))
*/
swww
# ags
glib
@@ -232,12 +237,16 @@
file.profile = {
enable = true;
target = ".zprofile"; # change to .profile if you're not using zsh
text = /* sh */ ''
Hyprland && echo "goodbye" && exit 0 \
|| echo "$? couldn't launch Hyprland" && tty | grep tty1 \
&& echo "refusing to autologin without Hyprland on tty1" && exit 0 \
|| echo "not on tty1, letting in"
'';
text =
/*
sh
*/
''
Hyprland && echo "goodbye" && exit 0 \
|| echo "$? couldn't launch Hyprland" && tty | grep tty1 \
&& echo "refusing to autologin without Hyprland on tty1" && exit 0 \
|| echo "not on tty1, letting in"
'';
};
file.".config/hypr/shaders" = {
@@ -246,4 +255,3 @@
};
};
}

View File

@@ -3,7 +3,7 @@
"SUPER,T,exec,kitty"
"SUPER,C,togglespecialworkspace,calc"
"SUPER_SHIFT,C,exec,hyprpicker"
",PRINT,exec,slurp | grim -g - - | wl-copy"
"SUPER_SHIFT,V,exec,slurp | grim -g - - | wl-copy"
"SUPER,P,pseudo,"
"SUPER_SHIFT,up,movewindow,u"
@@ -11,8 +11,8 @@
"SUPER_SHIFT,left,movewindow,l"
"SUPER_SHIFT,right,movewindow,r"
"SUPER_SHIFT,S,movetoworkspace,special"
"SUPER,S,togglespecialworkspace,special"
"SUPER_SHIFT,S,movetoworkspace,special:terminal"
"SUPER,S,togglespecialworkspace,terminal"
"SUPER,up,movefocus,u"
"SUPER,down,movefocus,d"

View File

@@ -1,5 +1,4 @@
{ pkgs }:
{
{pkgs}: {
enable = true;
shellIntegration.enableFishIntegration = true;
font = {
@@ -8,9 +7,9 @@
size = 12;
};
extraConfig = ''
symbol_map U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6AA,U+E700-U+E7C5,U+EA60-U+EBEB,U+F000-U+F2E0,U+F300-U+F32F,U+F400-U+F4A9,U+F500-U+F8FF,U+F0001-U+F1AF0 Symbols Nerd Font Mono
symbol_map U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6AA,U+E700-U+E7C5,U+EA60-U+EBEB,U+F000-U+F2E0,U+F300-U+F32F,U+F400-U+F4A9,U+F500-U+F8FF,U+F0001-U+F1AF0 Symbols Nerd Font Mono
include ./current-theme.conf
include ./current-theme.conf
'';
settings = {
background_opacity = "0.8";

View File

@@ -1,3 +0,0 @@
{
enable = true;
}

View File

@@ -6,9 +6,9 @@
position = "top";
height = 48;
output = "HDMI-A-1";
modules-left = [ "wlr/workspaces" ];
modules-center = [ "wlr/taskbar" ];
modules-right = [ "custom/weather" "clock" ];
modules-left = ["wlr/workspaces"];
modules-center = ["wlr/taskbar"];
modules-right = ["custom/weather" "clock"];
"wlr/taskbar" = {
all-outputs = true;