hyprland stuff

This commit is contained in:
2023-10-29 02:07:02 +02:00
parent 09e9968bb2
commit e7416f5bdf
6 changed files with 53 additions and 10 deletions

View File

@@ -10,6 +10,7 @@
"GBM_BACKEND,nvidia-drm" "GBM_BACKEND,nvidia-drm"
"__GLX_VENDOR_LIBRARY_NAME,nvidia" "__GLX_VENDOR_LIBRARY_NAME,nvidia"
"WLR_NO_HARDWARE_CURSORS,1" "WLR_NO_HARDWARE_CURSORS,1"
"NIXOS_OZONE_WL,1"
]; ];
exec-once = [ exec-once = [
"dunst" "dunst"
@@ -22,6 +23,9 @@
}; };
bind = import ./keybinds.nix; bind = import ./keybinds.nix;
bindm = import ./mousebinds.nix; bindm = import ./mousebinds.nix;
bindr = [
"SUPER,SUPER_L,exec,pkill wofi || wofi --show=drun"
];
monitor = import ./monitors.nix; monitor = import ./monitors.nix;
windowrule = [ windowrule = [
"pseudo,^(alacritty)$" "pseudo,^(alacritty)$"
@@ -34,6 +38,7 @@
programs.alacritty.enable = true; programs.alacritty.enable = true;
programs.waybar = import ./waybar.nix; programs.waybar = import ./waybar.nix;
programs.wofi = import ./wofi.nix; programs.wofi = import ./wofi.nix;
programs.swaylock = import ./swaylock.nix;
home.packages = with pkgs; [ home.packages = with pkgs; [
xwaylandvideobridge xwaylandvideobridge
@@ -45,9 +50,17 @@
gtk = { gtk = {
enable = true; enable = true;
theme = { theme = {
name = "Adwaita"; name = "adw-gtk3";
package = pkgs.adw-gtk3; package = pkgs.adw-gtk3;
}; };
cursorTheme = {
name = "capitaine-cursors";
package = pkgs.capitaine-cursors;
};
iconTheme = {
name = "Tela";
package = pkgs.tela-icon-theme;
};
}; };
home.file.profile = { home.file.profile = {

View File

@@ -1,6 +1,5 @@
[ [
"SUPER,Q,killactive" "SUPER,Q,killactive"
"SUPER,T,exec,alacritty" "SUPER,T,exec,alacritty"
",SUPER,exec,wofi --show=dmenu"
"SUPER_SHIFT,C,exec,hyprpicker" "SUPER_SHIFT,C,exec,hyprpicker"
] ]

View File

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

View File

@@ -2,5 +2,40 @@
enable = true; enable = true;
settings = {}; settings = {};
style = '' style = ''
window {
margin: 5px;
border: 2px solid red;
background-color: red;
}
#input {
margin: 5px;
border: 2px solid blue;
background-color: blue;
}
#inner-box {
margin: 5px;
border: 2px solid yellow;
background-color: yellow;
}
#outer-box {
margin: 5px;
border: 2px solid orange;
background-color: orange;
}
#scroll {
margin: 5px;
border: 2px solid orange;
background-color: orange;
}
#text {
margin: 5px;
border: 2px solid cyan;
background-color: cyan;
}
''; '';
} }

View File

@@ -6,12 +6,6 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# hyprland.url = "github:hyprwm/Hyprland";
# split-monitor-workspaces = {
# url = "github:Duckonaut/split-monitor-workspaces";
# inputs.hyprland.follows = "hyprland";
# };
}; };
outputs = {nixpkgs, home-manager, ...}: outputs = {nixpkgs, home-manager, ...}:
@@ -36,7 +30,6 @@
inherit pkgs; inherit pkgs;
modules = [ modules = [
# hyprland.homeManagerModules.default
home home
]; ];
}; };

View File

@@ -20,7 +20,7 @@
(import ./packages/threema-desktop.nix { inherit pkgs; }) (import ./packages/threema-desktop.nix { inherit pkgs; })
(discord.override { (discord.override {
withOpenASAR = true; withOpenASAR = true;
withVencord = true; withVencord = false;
}) })
slack slack