Compare commits
No commits in common. "f74758c82deaba1c91fe8887dd7caf40988d1ec3" and "1980443bc6fa13c8714cdc4f0d58c42a28cf1e82" have entirely different histories.
f74758c82d
...
1980443bc6
18
flake.lock
18
flake.lock
|
@ -81,15 +81,15 @@
|
||||||
},
|
},
|
||||||
"catppuccin": {
|
"catppuccin": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718475615,
|
"lastModified": 1718339789,
|
||||||
"narHash": "sha256-sFrx1xlce6uaCLVtrTm4PH4PESXBpCd9vTqjXKhFZCg=",
|
"narHash": "sha256-Q3fgY7huFE+uaw7BNsAl1x+FvjDAi3EDWPnlALJt5pM=",
|
||||||
"owner": "Laurent2916",
|
"owner": "catppuccin",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "e632faeda1ca013e983e45f78cff13a36ca64b1e",
|
"rev": "73e06d5bd7ed34bdd0168030893ef8364fdc1d4a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "Laurent2916",
|
"owner": "catppuccin",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -352,11 +352,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718468441,
|
"lastModified": 1718461895,
|
||||||
"narHash": "sha256-yLoQC4IaaM3xijxoGMkyPgwKKr3xYLdToA7j3zNRn7A=",
|
"narHash": "sha256-qlNHD6ScCIQ6lzTyy9cDj5h+jZOC55FM3JHp8p3qMQ0=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "91fe58f8f278d126852877eadc87c50ca7b9b78d",
|
"rev": "fb82f6bcd7d829a3ab2d2cb7d9a27f3837abfb80",
|
||||||
"revCount": 4836,
|
"revCount": 4832,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
url = "github:Laurent2916/nix";
|
url = "github:catppuccin/nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
# cesium nginx sites
|
# cesium nginx sites
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
"git.enableSmartCommit" = true;
|
"git.enableSmartCommit" = true;
|
||||||
"gitmoji.showEmojiCode" = true;
|
"gitmoji.showEmojiCode" = true;
|
||||||
"terminal.integrated.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
|
"terminal.integrated.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Color Emoji'";
|
||||||
"terminal.integrated.scrollback" = 100000;
|
|
||||||
"window.menuBarVisibility" = "toggle";
|
"window.menuBarVisibility" = "toggle";
|
||||||
"window.zoomLevel" = -0.75;
|
"window.zoomLevel" = -0.75;
|
||||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||||
|
@ -53,10 +52,6 @@
|
||||||
"diffEditor.ignoreTrimWhitespace" = false;
|
"diffEditor.ignoreTrimWhitespace" = false;
|
||||||
"remote.SSH.useExecServer" = false;
|
"remote.SSH.useExecServer" = false;
|
||||||
"python.analysis.typeCheckingMode" = "strict";
|
"python.analysis.typeCheckingMode" = "strict";
|
||||||
"python.analysis.inlayHints.functionReturnTypes" = true;
|
|
||||||
"python.analysis.inlayHints.pytestParameters" = true;
|
|
||||||
"python.analysis.inlayHints.callArgumentNames" = "partial";
|
|
||||||
"python.analysis.inlayHints.variableTypes" = true;
|
|
||||||
"files.exclude" = {
|
"files.exclude" = {
|
||||||
# defaults
|
# defaults
|
||||||
"**/.git" = true;
|
"**/.git" = true;
|
||||||
|
@ -69,7 +64,6 @@
|
||||||
"**/__pycache__" = true;
|
"**/__pycache__" = true;
|
||||||
"**/.mypy_cache" = true;
|
"**/.mypy_cache" = true;
|
||||||
"**/.ruff_cache" = true;
|
"**/.ruff_cache" = true;
|
||||||
"**/.pytest_cache" = true;
|
|
||||||
"**/*.egg-info" = true;
|
"**/*.egg-info" = true;
|
||||||
"**/.direnv" = true;
|
"**/.direnv" = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./eww
|
./eww
|
||||||
|
./hyprland
|
||||||
./fuzzel.nix
|
./fuzzel.nix
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
./hyprland.nix
|
|
||||||
./kanshi.nix
|
./kanshi.nix
|
||||||
./mako.nix
|
./mako.nix
|
||||||
./swayidle.nix
|
./swayidle.nix
|
||||||
|
|
|
@ -12,10 +12,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
size = "compact";
|
size = "compact";
|
||||||
tweaks = ["rimless" "normal"];
|
tweaks = ["rimless" "normal"];
|
||||||
cursor = {
|
cursor.accent = "dark";
|
||||||
enable = true;
|
|
||||||
accent = "dark";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,166 +0,0 @@
|
||||||
{
|
|
||||||
inputs,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
hyprland = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
|
||||||
cursor = config.gtk.catppuccin.cursor;
|
|
||||||
in {
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types
|
|
||||||
"$mod" = "SUPER";
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Keywords/#executing
|
|
||||||
exec-once = [
|
|
||||||
"env XDG_CACHE_HOME=`${pkgs.coreutils}/bin/mktemp -d --suffix '-eww'` ${lib.getExe pkgs.eww} open bar"
|
|
||||||
"${lib.getExe pkgs.swaybg} -i ${inputs.wallpaper}"
|
|
||||||
"${lib.getExe pkgs.mako}"
|
|
||||||
"${lib.getExe pkgs.thunderbird}"
|
|
||||||
"${pkgs.wl-clipboard}/bin/wl-paste --watch ${lib.getExe pkgs.cliphist} store"
|
|
||||||
"${pkgs.gnome.gnome-keyring}/bin/gnome-keyring-daemon --start --components=secrets"
|
|
||||||
"${hyprland}/bin/hyprctl setcursor catppuccin-${cursor.flavor}-${cursor.accent}-cursors 24" # FIXME: shouldn't be necessary
|
|
||||||
];
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Monitors/
|
|
||||||
monitor = [
|
|
||||||
"DP-3,1920x1080@120,0x0,1"
|
|
||||||
"eDP-1,1920x1200,0x1080,1"
|
|
||||||
];
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
|
||||||
general = {
|
|
||||||
gaps_in = 2;
|
|
||||||
gaps_out = 4;
|
|
||||||
border_size = 0;
|
|
||||||
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
|
||||||
"col.inactive_border" = "rgba(595959aa)";
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
|
||||||
input = {
|
|
||||||
kb_layout = "fr";
|
|
||||||
sensitivity = 0;
|
|
||||||
follow_mouse = 2;
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#touchpad
|
|
||||||
touchpad = {
|
|
||||||
natural_scroll = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
|
||||||
decoration = {
|
|
||||||
rounding = 2;
|
|
||||||
drop_shadow = true;
|
|
||||||
shadow_range = 4;
|
|
||||||
shadow_render_power = 3;
|
|
||||||
"col.shadow" = "rgba(1a1a1aee)";
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
|
||||||
blur = {
|
|
||||||
enabled = true;
|
|
||||||
size = 3;
|
|
||||||
passes = 3;
|
|
||||||
new_optimizations = 3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Animations/
|
|
||||||
animations = {
|
|
||||||
enabled = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Dwindle-Layout/
|
|
||||||
general.layout = "dwindle";
|
|
||||||
dwindle = {
|
|
||||||
pseudotile = true;
|
|
||||||
preserve_split = true;
|
|
||||||
no_gaps_when_only = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Master-Layout/
|
|
||||||
master = {
|
|
||||||
new_is_master = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
|
||||||
gestures = {
|
|
||||||
workspace_swipe = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
|
||||||
misc = {
|
|
||||||
disable_hyprland_logo = true;
|
|
||||||
disable_splash_rendering = true;
|
|
||||||
|
|
||||||
mouse_move_enables_dpms = true;
|
|
||||||
key_press_enables_dpms = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
bind = [
|
|
||||||
"$mod, Return, exec, ${lib.getExe pkgs.alacritty}"
|
|
||||||
"$mod, Q, killactive,"
|
|
||||||
"$mod, S, togglefloating,"
|
|
||||||
"$mod, L, exec, ${lib.getExe pkgs.swaylock-effects} -f"
|
|
||||||
"$mod, space, exec, ${lib.getExe pkgs.fuzzel}"
|
|
||||||
"$mod, C, exec, ${lib.getExe pkgs.cliphist} list | ${lib.getExe pkgs.fuzzel} -d --tabs 2 --width 100 | ${lib.getExe pkgs.cliphist} decode | ${pkgs.wl-clipboard}/bin/wl-copy"
|
|
||||||
"$mod, E, exec, BEMOJI_PICKER_CMD='${lib.getExe pkgs.fuzzel} -d' ${lib.getExe pkgs.bemoji} -n"
|
|
||||||
|
|
||||||
# Screenshot
|
|
||||||
", Print, exec, ${lib.getExe pkgs.grim} `date +'%Y-%m-%dT%H:%M:%S'`.png"
|
|
||||||
"SHIFT, Print, exec, ${lib.getExe pkgs.grim} - | wl-copy -t 'image/png'"
|
|
||||||
"$mod, Print, exec, ${lib.getExe pkgs.slurp} -d | ${lib.getExe pkgs.grim} -g - `date +'%Y-%m-%dT%H:%M:%S'`.png"
|
|
||||||
"$mod SHIFT, Print, exec, ${lib.getExe pkgs.slurp} -d | ${lib.getExe pkgs.grim} -g - - | ${pkgs.wl-clipboard}/bin/wl-copy -t 'image/png'"
|
|
||||||
|
|
||||||
# Backlight
|
|
||||||
", XF86MonBrightnessUp, exec, ${lib.getExe pkgs.light} -A 5"
|
|
||||||
", XF86MonBrightnessDown, exec, ${lib.getExe pkgs.light} -U 5"
|
|
||||||
|
|
||||||
# Audio
|
|
||||||
", XF86AudioMute, exec, ${lib.getExe pkgs.pamixer} --sink 0 -t"
|
|
||||||
", XF86AudioRaiseVolume, exec, ${lib.getExe pkgs.pamixer} -i 5"
|
|
||||||
", XF86AudioLowerVolume, exec, ${lib.getExe pkgs.pamixer} -d 5"
|
|
||||||
", XF86AudioMicMute, exec, ${lib.getExe pkgs.pamixer} --source 0 -t"
|
|
||||||
", XF86AudioPlay, exec, ${lib.getExe pkgs.playerctl} play-pause"
|
|
||||||
", XF86AudioStop, exec, ${lib.getExe pkgs.playerctl} stop"
|
|
||||||
", XF86AudioNext, exec, ${lib.getExe pkgs.playerctl} next"
|
|
||||||
", XF86AudioPrev, exec, ${lib.getExe pkgs.playerctl} previous"
|
|
||||||
|
|
||||||
# Switch workspaces
|
|
||||||
"$mod, ampersand, workspace, 1"
|
|
||||||
"$mod, eacute, workspace, 2"
|
|
||||||
"$mod, quotedbl, workspace, 3"
|
|
||||||
"$mod, apostrophe, workspace, 4"
|
|
||||||
"$mod, parenleft, workspace, 5"
|
|
||||||
"$mod, minus, workspace, 6"
|
|
||||||
"$mod, egrave, workspace, 7"
|
|
||||||
"$mod, underscore, workspace, 8"
|
|
||||||
"$mod, ccedilla, workspace, 9"
|
|
||||||
"$mod, agrave, workspace, 10"
|
|
||||||
|
|
||||||
# Switch window to workspace
|
|
||||||
"$mod SHIFT, ampersand, movetoworkspacesilent, 1"
|
|
||||||
"$mod SHIFT, eacute, movetoworkspacesilent, 2"
|
|
||||||
"$mod SHIFT, quotedbl, movetoworkspacesilent, 3"
|
|
||||||
"$mod SHIFT, apostrophe, movetoworkspacesilent, 4"
|
|
||||||
"$mod SHIFT, parenleft, movetoworkspacesilent, 5"
|
|
||||||
"$mod SHIFT, minus, movetoworkspacesilent, 6"
|
|
||||||
"$mod SHIFT, egrave, movetoworkspacesilent, 7"
|
|
||||||
"$mod SHIFT, underscore, movetoworkspacesilent, 8"
|
|
||||||
"$mod SHIFT, ccedilla, movetoworkspacesilent, 9"
|
|
||||||
"$mod SHIFT, agrave, movetoworkspacesilent, 10"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindm = [
|
|
||||||
# Move/resize windows
|
|
||||||
"$mod, mouse:272, movewindow"
|
|
||||||
"$mod, mouse:273, resizewindow"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
20
home/desktop/hyprland/default.nix
Normal file
20
home/desktop/hyprland/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraConfig =
|
||||||
|
''
|
||||||
|
exec-once=env XDG_CACHE_HOME=/tmp ${pkgs.eww}/bin/eww open bar
|
||||||
|
exec-once=${pkgs.swaybg}/bin/swaybg -i ${inputs.wallpaper}
|
||||||
|
exec-once=${pkgs.mako}/bin/mako
|
||||||
|
exec-once=${pkgs.thunderbird}/bin/thunderbird
|
||||||
|
exec-once=${pkgs.wl-clipboard}/bin/wl-paste --watch ${pkgs.cliphist}/bin/cliphist store
|
||||||
|
exec-once=${pkgs.gnome.gnome-keyring}/bin/gnome-keyring-daemon --start --components=secrets
|
||||||
|
''
|
||||||
|
+ builtins.readFile ./hyprland.conf;
|
||||||
|
};
|
||||||
|
}
|
151
home/desktop/hyprland/hyprland.conf
Normal file
151
home/desktop/hyprland/hyprland.conf
Normal file
|
@ -0,0 +1,151 @@
|
||||||
|
# https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=DP-3,1920x1080@120,0x0,1
|
||||||
|
monitor=eDP-1,1920x1200,0x1080,1
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|
||||||
|
# Some default env vars.
|
||||||
|
env = XCURSOR_SIZE,20
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
input {
|
||||||
|
kb_layout = fr
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options =
|
||||||
|
kb_rules =
|
||||||
|
|
||||||
|
follow_mouse = 2
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = no
|
||||||
|
}
|
||||||
|
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
general {
|
||||||
|
gaps_in = 2
|
||||||
|
gaps_out = 4
|
||||||
|
|
||||||
|
border_size = 0
|
||||||
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
col.inactive_border = rgba(595959aa)
|
||||||
|
|
||||||
|
layout = dwindle
|
||||||
|
}
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
decoration {
|
||||||
|
rounding = 2
|
||||||
|
|
||||||
|
blur {
|
||||||
|
enabled = yes
|
||||||
|
size = 3
|
||||||
|
passes = 3
|
||||||
|
new_optimizations = 3
|
||||||
|
}
|
||||||
|
|
||||||
|
drop_shadow = yes
|
||||||
|
shadow_range = 4
|
||||||
|
shadow_render_power = 3
|
||||||
|
col.shadow = rgba(1a1a1aee)
|
||||||
|
}
|
||||||
|
|
||||||
|
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/
|
||||||
|
animations {
|
||||||
|
enabled = no
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Dwindle-Layout/
|
||||||
|
dwindle {
|
||||||
|
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
preserve_split = yes # you probably want this
|
||||||
|
no_gaps_when_only = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Master-Layout/
|
||||||
|
master {
|
||||||
|
new_is_master = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = off
|
||||||
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
# no thanks
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
disable_splash_rendering = true
|
||||||
|
|
||||||
|
# turn on screen when mouse moves or key is pressed
|
||||||
|
mouse_move_enables_dpms = true
|
||||||
|
key_press_enables_dpms = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Window-Rules/
|
||||||
|
# None
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
$mainMod = SUPER
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Binds/
|
||||||
|
|
||||||
|
# Main binds
|
||||||
|
bind = $mainMod, Return, exec, alacritty
|
||||||
|
bind = $mainMod, Q, killactive,
|
||||||
|
bind = $mainMod, S, togglefloating,
|
||||||
|
bind = $mainMod, L, exec, swaylock -f
|
||||||
|
bind = $mainMod, space, exec, fuzzel
|
||||||
|
bind = $mainMod, C, exec, cliphist list | fuzzel -d --tabs 2 --width 100 | cliphist decode | wl-copy
|
||||||
|
bind = $mainMod, E, exec, BEMOJI_PICKER_CMD="fuzzel -d" bemoji -n
|
||||||
|
|
||||||
|
# Screenshot
|
||||||
|
bind = , Print, exec, grim `date +'%Y-%m-%dT%H:%M:%S'`.png
|
||||||
|
bind = SHIFT, Print, exec, grim - | wl-copy -t 'image/png'
|
||||||
|
bind = $mainMod, Print, exec, slurp -d | grim -g - `date +'%Y-%m-%dT%H:%M:%S'`.png
|
||||||
|
bind = $mainMod SHIFT, Print, exec, slurp -d | grim -g - - | wl-copy -t 'image/png'
|
||||||
|
|
||||||
|
# Backlight
|
||||||
|
bind = , XF86MonBrightnessUp, exec, light -A 5
|
||||||
|
bind = , XF86MonBrightnessDown, exec, light -U 5
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
bind = , XF86AudioMute, exec, pamixer --sink 0 -t
|
||||||
|
bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
|
||||||
|
bind = , XF86AudioLowerVolume, exec, pamixer -d 5
|
||||||
|
bind = , XF86AudioMicMute, exec, pamixer --source 0 -t
|
||||||
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bind = , XF86AudioStop, exec, playerctl stop
|
||||||
|
bind = , XF86AudioNext, exec, playerctl next
|
||||||
|
bind = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
# Switch workspaces
|
||||||
|
bind = $mainMod, ampersand, workspace, 1
|
||||||
|
bind = $mainMod, eacute, workspace, 2
|
||||||
|
bind = $mainMod, quotedbl, workspace, 3
|
||||||
|
bind = $mainMod, apostrophe, workspace, 4
|
||||||
|
bind = $mainMod, parenleft, workspace, 5
|
||||||
|
bind = $mainMod, minus, workspace, 6
|
||||||
|
bind = $mainMod, egrave, workspace, 7
|
||||||
|
bind = $mainMod, underscore, workspace, 8
|
||||||
|
bind = $mainMod, ccedilla, workspace, 9
|
||||||
|
bind = $mainMod, agrave, workspace, 10
|
||||||
|
|
||||||
|
# Switch window to workspace
|
||||||
|
bind = $mainMod SHIFT, ampersand, movetoworkspacesilent, 1
|
||||||
|
bind = $mainMod SHIFT, eacute, movetoworkspacesilent, 2
|
||||||
|
bind = $mainMod SHIFT, quotedbl, movetoworkspacesilent, 3
|
||||||
|
bind = $mainMod SHIFT, apostrophe, movetoworkspacesilent, 4
|
||||||
|
bind = $mainMod SHIFT, parenleft, movetoworkspacesilent, 5
|
||||||
|
bind = $mainMod SHIFT, minus, movetoworkspacesilent, 6
|
||||||
|
bind = $mainMod SHIFT, egrave, movetoworkspacesilent, 7
|
||||||
|
bind = $mainMod SHIFT, underscore, movetoworkspacesilent, 8
|
||||||
|
bind = $mainMod SHIFT, ccedilla, movetoworkspacesilent, 9
|
||||||
|
bind = $mainMod SHIFT, agrave, movetoworkspacesilent, 10
|
||||||
|
|
||||||
|
# Move/resize windows
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
hyprland_pkg = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
hyprland_pkg = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||||
|
@ -16,13 +15,13 @@ in {
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
event = "before-sleep";
|
event = "before-sleep";
|
||||||
command = "${lib.getExe pkgs.swaylock-effects} -f";
|
command = "${pkgs.swaylock-effects}/bin/swaylock -f";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
timeouts = [
|
timeouts = [
|
||||||
{
|
{
|
||||||
timeout = 120;
|
timeout = 120;
|
||||||
command = "${lib.getExe pkgs.swaylock-effects} -f --grace 3";
|
command = "${pkgs.swaylock-effects}/bin/swaylock -f --grace 3";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 150;
|
timeout = 150;
|
||||||
|
|
|
@ -2,23 +2,30 @@
|
||||||
services.mpris-proxy.enable = true; # media keys
|
services.mpris-proxy.enable = true; # media keys
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
bemoji
|
||||||
alejandra # nix formatter
|
alejandra # nix formatter
|
||||||
borgbackup # backup
|
borgbackup # backup
|
||||||
|
cliphist # clipboard manager
|
||||||
dconf # required by home-manager
|
dconf # required by home-manager
|
||||||
distrobox # docker utils
|
distrobox # docker utils
|
||||||
docker-compose # docker compose
|
docker-compose # docker compose
|
||||||
duf # replacement for df
|
duf # replacement for df
|
||||||
gnome.nautilus # file explorer
|
gnome.nautilus # file explorer
|
||||||
gnome.seahorse # key manager
|
gnome.seahorse # key manager
|
||||||
|
grim # screenshot utils
|
||||||
jaq # (fast) json utils
|
jaq # (fast) json utils
|
||||||
jmtpfs # for Android MTP
|
jmtpfs # for Android MTP
|
||||||
keepassxc # password manager
|
keepassxc # password manager
|
||||||
nil # nix language server
|
nil # nix language server
|
||||||
|
pamixer # volume mixer cli
|
||||||
pavucontrol # volume mixer
|
pavucontrol # volume mixer
|
||||||
|
playerctl # media keys
|
||||||
pwgen # password generator
|
pwgen # password generator
|
||||||
rsync # better scp
|
rsync # better scp
|
||||||
|
slurp # region selector
|
||||||
socat # socket cat
|
socat # socket cat
|
||||||
sysz # better systemctl
|
sysz # better systemctl
|
||||||
|
wl-clipboard # clipboard utils
|
||||||
xdg-utils
|
xdg-utils
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
programs.mpv = {
|
programs.mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.mpv;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.tmux;
|
||||||
|
|
||||||
clock24 = true;
|
clock24 = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,12 @@
|
||||||
./partitions.nix
|
./partitions.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# tests, temporary or move this shit to nixos-hardware public repo
|
||||||
|
# services.thermald.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
# Includes the Wi-Fi and Bluetooth firmware for the QCA6390. ??????
|
||||||
|
# hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
# enable finger print sensor.
|
# enable finger print sensor.
|
||||||
# this has to be configured with `sudo fprintd-enroll <username>`.
|
# this has to be configured with `sudo fprintd-enroll <username>`.
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
|
@ -42,7 +48,8 @@
|
||||||
# Allows for updating firmware via `fwupdmgr`.
|
# Allows for updating firmware via `fwupdmgr`.
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
# webcam
|
# webcam bullshit fuck you intel
|
||||||
|
# bugged my power down ? try to uninstall ? doesn't work anyway
|
||||||
# hardware.firmware = [
|
# hardware.firmware = [
|
||||||
# pkgs.ivsc-firmware
|
# pkgs.ivsc-firmware
|
||||||
# ];
|
# ];
|
||||||
|
|
Loading…
Reference in a new issue