mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-11 02:56:27 +00:00
hyprland stuff
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"GBM_BACKEND,nvidia-drm"
|
||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||
"WLR_NO_HARDWARE_CURSORS,1"
|
||||
"NIXOS_OZONE_WL,1"
|
||||
];
|
||||
exec-once = [
|
||||
"dunst"
|
||||
@@ -22,6 +23,9 @@
|
||||
};
|
||||
bind = import ./keybinds.nix;
|
||||
bindm = import ./mousebinds.nix;
|
||||
bindr = [
|
||||
"SUPER,SUPER_L,exec,pkill wofi || wofi --show=drun"
|
||||
];
|
||||
monitor = import ./monitors.nix;
|
||||
windowrule = [
|
||||
"pseudo,^(alacritty)$"
|
||||
@@ -34,6 +38,7 @@
|
||||
programs.alacritty.enable = true;
|
||||
programs.waybar = import ./waybar.nix;
|
||||
programs.wofi = import ./wofi.nix;
|
||||
programs.swaylock = import ./swaylock.nix;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
xwaylandvideobridge
|
||||
@@ -45,9 +50,17 @@
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "Adwaita";
|
||||
name = "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 = {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
[
|
||||
"SUPER,Q,killactive"
|
||||
"SUPER,T,exec,alacritty"
|
||||
",SUPER,exec,wofi --show=dmenu"
|
||||
"SUPER_SHIFT,C,exec,hyprpicker"
|
||||
]
|
||||
|
||||
3
desktops/hyprland/swaylock.nix
Normal file
3
desktops/hyprland/swaylock.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
enable = true;
|
||||
}
|
||||
@@ -2,5 +2,40 @@
|
||||
enable = true;
|
||||
settings = {};
|
||||
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;
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
url = "github:nix-community/home-manager";
|
||||
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, ...}:
|
||||
@@ -36,7 +30,6 @@
|
||||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
# hyprland.homeManagerModules.default
|
||||
home
|
||||
];
|
||||
};
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
(import ./packages/threema-desktop.nix { inherit pkgs; })
|
||||
(discord.override {
|
||||
withOpenASAR = true;
|
||||
withVencord = true;
|
||||
withVencord = false;
|
||||
})
|
||||
slack
|
||||
|
||||
|
||||
Reference in New Issue
Block a user