first round of bug hunting

This commit is contained in:
Jet Pham 2024-03-22 23:43:34 -07:00
parent cac7203033
commit 03985749c6
6 changed files with 8 additions and 11 deletions

View file

@ -5,7 +5,6 @@
imports = [
# gui
./firefox
./foot
./eww
./dunst
./hyprland

View file

@ -223,7 +223,7 @@
(defwidget launch []
(button :class "reg-btn launchbutton"
: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 []

View file

@ -2,7 +2,7 @@ monitor=eDP-1,1920x1080@60,0x0,1
monitor=eDP-1,addreserved,0,0,48,0
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=eww daemon
exec-once=eww open bar
@ -48,7 +48,7 @@ dwindle {
# example window rules
# for windows named/classed as abc and xyz
windowrule=float,move 0 0,pqiv
windowrule=float,foot-notes
windowrule=float,kitty-notes
#windowrule=size 420 69,abc
#windowrule=tile,xyz
#windowrule=float,abc
@ -56,11 +56,10 @@ windowrule=float,foot-notes
#windowrule=monitor 0,xyz
# example binds
bind=ALT,Return,exec,footclient
bind=ALT,Return,exec,kittyclient
bind=ALTSHIFT,Q,killactive,
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,N,exec,cd ~/stuff/notes && footclient -a foot-notes sh -c "nvim ~/stuff/notes/$(date '+%Y-%m-%d').md"
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,F,fullscreen,0
bind=ALT,h,movefocus,l

View file

@ -1,10 +1,10 @@
{ pkgs, lib, config, ... }:
with lib;
let cfg = config.modules.foot;
let cfg = config.modules.kitty;
in {
options.modules.foot = { enable = mkEnableOption "foot"; };
options.modules.kitty = { enable = mkEnableOption "kitty"; };
config = mkIf cfg.enable {
programs.kitty = {
enable = true;