not working, idk why, removed awesomewm and changed xdg stuff
This commit is contained in:
parent
a7a8304e04
commit
7b8a6a4e23
7 changed files with 80 additions and 13 deletions
|
@ -90,7 +90,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = false;
|
||||||
package = pkgs.catppuccin-kde;
|
package = pkgs.catppuccin-kde;
|
||||||
name = "Catppuccin-Mocha-Dark";
|
name = "Catppuccin-Mocha-Dark";
|
||||||
variant = "mocha";
|
variant = "mocha";
|
||||||
|
|
|
@ -5,7 +5,5 @@ _: {
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./profile.nix
|
./profile.nix
|
||||||
./i3
|
./i3
|
||||||
./awesome.nix
|
|
||||||
./hypr/default.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
_: {
|
_: {
|
||||||
imports = [
|
imports = [
|
||||||
./i3.nix
|
./i3.nix
|
||||||
|
# ./i3-new.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
68
hosts/vali/mars/i3/i3-new.nix
Normal file
68
hosts/vali/mars/i3/i3-new.nix
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
{pkgs, lib, config, ... }:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.myOptions.programs.i3;
|
||||||
|
username = config.myOptions.other.system.username;
|
||||||
|
mod = "Mod4";
|
||||||
|
in {
|
||||||
|
options.myOptions.programs.i3.enable = mkEnableOption "i3";
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
xkb.layout = "de";
|
||||||
|
};
|
||||||
|
xsession.windowManager.i3 = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
modifier = mod;
|
||||||
|
terminal = "alacritty";
|
||||||
|
fonts ={
|
||||||
|
names = [ "JetBrains Mono" "pango:monospace"];
|
||||||
|
size = 12;
|
||||||
|
style = "Bold Semi-Condensed";
|
||||||
|
};
|
||||||
|
keybindings = lib.mkOptionDefault {
|
||||||
|
# Run stuff
|
||||||
|
"${mod}+d" = "exec --no-startup-id ${pkgs.dmenu}/bin/dmenu_run";
|
||||||
|
"${mod}+Return" = "exec --no-startup-id alacritty";
|
||||||
|
"${mod}+Shift+q" = "kill";
|
||||||
|
# Focus
|
||||||
|
"${mod}+h" = "focus left";
|
||||||
|
"${mod}+j" = "focus down";
|
||||||
|
"${mod}+k" = "focus up";
|
||||||
|
"${mod}+l" = "focus right";
|
||||||
|
# Move
|
||||||
|
"${mod}+Shift+h" = "move left";
|
||||||
|
"${mod}+Shift+j" = "move down";
|
||||||
|
"${mod}+Shift+k" = "move up";
|
||||||
|
"${mod}+Shift+l" = "move right";
|
||||||
|
"XF86RaiseVolume" = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && $refresh_i3status";
|
||||||
|
# Toggle stuff
|
||||||
|
"${mod}+f" = "fullscreen toggle";
|
||||||
|
};
|
||||||
|
window = {
|
||||||
|
titlebar = false;
|
||||||
|
border = 3;
|
||||||
|
hideEdgeBorders = true;
|
||||||
|
};
|
||||||
|
floating = {
|
||||||
|
titlebar = false;
|
||||||
|
};
|
||||||
|
bars = [
|
||||||
|
{
|
||||||
|
position = "bottom";
|
||||||
|
statusCommand = "${pkgs.i3status}/bin/i3status";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
startup ={
|
||||||
|
command =
|
||||||
|
"xrandr --output HDMI-1 --rotate normal --output DP-2 --rotate normal --left-of HDMI-1 --output HDMI-0 --right-of HDMI-1";
|
||||||
|
#"dex --autostart --environment i3";
|
||||||
|
#"nm-applet";
|
||||||
|
#"keepassxc";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ in {
|
||||||
alacritty
|
alacritty
|
||||||
alsa-utils
|
alsa-utils
|
||||||
asciinema
|
asciinema
|
||||||
betterbird
|
# betterbird
|
||||||
bibata-cursors
|
bibata-cursors
|
||||||
dig
|
dig
|
||||||
easyeffects
|
easyeffects
|
||||||
|
@ -57,6 +57,7 @@ in {
|
||||||
spotube
|
spotube
|
||||||
st
|
st
|
||||||
steam
|
steam
|
||||||
|
strawberry
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
texliveFull
|
texliveFull
|
||||||
thunderbird
|
thunderbird
|
||||||
|
|
|
@ -58,8 +58,8 @@ in {
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
#QT_STYLE_OVERRIDE = "kvantum";
|
#QT_STYLE_OVERRIDE = "kvantum";
|
||||||
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||||
QT_QPA_PLATFORM = "wayland;xcb";
|
# QT_QPA_PLATFORM = "wayland;xcb";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
# QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
DISABLE_QT_COMPAT = "0";
|
DISABLE_QT_COMPAT = "0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
username = config.myOptions.other.system.username;
|
username = config.myOptions.other.system.username;
|
||||||
hmCfg = config.home-manager.users.${username};
|
hmCfg = config.home-manager.users.${username};
|
||||||
|
|
||||||
primary_browser = "firefox-schizo.desktop";
|
primary_browser = "schizofox.desktop";
|
||||||
secondary_browser = "firefox-unschizo.desktop";
|
|
||||||
mail_client = "betterbird.desktop";
|
mail_client = "betterbird.desktop";
|
||||||
file_manager = "pcmanfm.desktop";
|
file_manager = "pcmanfm.desktop";
|
||||||
media_player = "mpv.desktop";
|
media_player = "mpv.desktop";
|
||||||
|
@ -74,10 +73,10 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"text/html" = [ primary_browser secondary_browser ];
|
"text/html" = [ primary_browser secondary_browser ];
|
||||||
"x-scheme-handler/http" = [ primary_browser secondary_browser ];
|
"x-scheme-handler/http" = [ primary_browser ];
|
||||||
"x-scheme-handler/https" = [ primary_browser secondary_browser ];
|
"x-scheme-handler/https" = [ primary_browser ];
|
||||||
"x-scheme-handler/about" = [ primary_browser secondary_browser ];
|
"x-scheme-handler/about" = [ primary_browser ];
|
||||||
"x-scheme-handler/unknown" = [ primary_browser secondary_browser ];
|
"x-scheme-handler/unknown" = [ primary_browser ];
|
||||||
"x-scheme-handler/mailto" = [ mail_client ];
|
"x-scheme-handler/mailto" = [ mail_client ];
|
||||||
"message/rfc822" = [ mail_client ];
|
"message/rfc822" = [ mail_client ];
|
||||||
"x-scheme-handler/mid" = [ mail_client ];
|
"x-scheme-handler/mid" = [ mail_client ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue