first round of bug hunting
This commit is contained in:
parent
cac7203033
commit
03985749c6
6 changed files with 8 additions and 11 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
mkSystem = pkgs: system: hostname:
|
mkSystem = pkgs: system: hostname:
|
||||||
let
|
let
|
||||||
hardwareConfig = {
|
hardwareConfig = {
|
||||||
"laptop" = "${inputs.nixos-hardware}.nixosModules.lenovo-thinkpad-x1-6th-gen";
|
"laptop" = nixos-hardware.nixosModules.lenovo-thinkpad-x1-6th-gen;
|
||||||
# Add other hostnames and their respective hardware configurations here
|
# Add other hostnames and their respective hardware configurations here
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
config.modules = {
|
config.modules = {
|
||||||
# gui
|
# gui
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
foot.enable = true;
|
|
||||||
eww.enable = true;
|
eww.enable = true;
|
||||||
dunst.enable = true;
|
dunst.enable = true;
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
# gui
|
# gui
|
||||||
./firefox
|
./firefox
|
||||||
./foot
|
|
||||||
./eww
|
./eww
|
||||||
./dunst
|
./dunst
|
||||||
./hyprland
|
./hyprland
|
||||||
|
|
|
||||||
|
|
@ -223,7 +223,7 @@
|
||||||
(defwidget launch []
|
(defwidget launch []
|
||||||
(button :class "reg-btn launchbutton"
|
(button :class "reg-btn launchbutton"
|
||||||
:hexpand true
|
:hexpand true
|
||||||
:onclick "wofi --show run --xoffset=1670 --yoffset=12 --width=230px --height=984 --style=$HOME/.config/wofi.css --term=footclient --prompt=Run &" "")
|
:onclick "wofi --show run --xoffset=1670 --yoffset=12 --width=230px --height=984 --style=$HOME/.config/wofi.css --term=kittyclient --prompt=Run &" "")
|
||||||
)
|
)
|
||||||
|
|
||||||
(defwidget powerbutton []
|
(defwidget powerbutton []
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ monitor=eDP-1,1920x1080@60,0x0,1
|
||||||
monitor=eDP-1,addreserved,0,0,48,0
|
monitor=eDP-1,addreserved,0,0,48,0
|
||||||
|
|
||||||
exec-once=swaybg -i $NIXOS_CONFIG_DIR/pics/wallpaper.png
|
exec-once=swaybg -i $NIXOS_CONFIG_DIR/pics/wallpaper.png
|
||||||
exec-once=foot --server
|
exec-once=kitty --server
|
||||||
exec-once=wlsunset -l -23 -L -46
|
exec-once=wlsunset -l -23 -L -46
|
||||||
exec-once=eww daemon
|
exec-once=eww daemon
|
||||||
exec-once=eww open bar
|
exec-once=eww open bar
|
||||||
|
|
@ -48,7 +48,7 @@ dwindle {
|
||||||
# example window rules
|
# example window rules
|
||||||
# for windows named/classed as abc and xyz
|
# for windows named/classed as abc and xyz
|
||||||
windowrule=float,move 0 0,pqiv
|
windowrule=float,move 0 0,pqiv
|
||||||
windowrule=float,foot-notes
|
windowrule=float,kitty-notes
|
||||||
#windowrule=size 420 69,abc
|
#windowrule=size 420 69,abc
|
||||||
#windowrule=tile,xyz
|
#windowrule=tile,xyz
|
||||||
#windowrule=float,abc
|
#windowrule=float,abc
|
||||||
|
|
@ -56,11 +56,10 @@ windowrule=float,foot-notes
|
||||||
#windowrule=monitor 0,xyz
|
#windowrule=monitor 0,xyz
|
||||||
|
|
||||||
# example binds
|
# example binds
|
||||||
bind=ALT,Return,exec,footclient
|
bind=ALT,Return,exec,kittyclient
|
||||||
bind=ALTSHIFT,Q,killactive,
|
bind=ALTSHIFT,Q,killactive,
|
||||||
bind=ALT,V,togglefloating,
|
bind=ALT,V,togglefloating,
|
||||||
bind=ALT,R,exec,wofi --show run --xoffset=1670 --yoffset=12 --width=230px --height=984 --style=$HOME/.config/wofi.css --term=footclient --prompt=Run
|
bind=ALT,R,exec,wofi --show run --xoffset=1670 --yoffset=12 --width=230px --height=984 --style=$HOME/.config/wofi.css --term=kittyclient --prompt=Run
|
||||||
bind=ALT,N,exec,cd ~/stuff/notes && footclient -a foot-notes sh -c "nvim ~/stuff/notes/$(date '+%Y-%m-%d').md"
|
|
||||||
bind=ALT,F,fullscreen,0
|
bind=ALT,F,fullscreen,0
|
||||||
|
|
||||||
bind=ALT,h,movefocus,l
|
bind=ALT,h,movefocus,l
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let cfg = config.modules.foot;
|
let cfg = config.modules.kitty;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
options.modules.foot = { enable = mkEnableOption "foot"; };
|
options.modules.kitty = { enable = mkEnableOption "kitty"; };
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue