2024-01-05 13:02:09 -05:00
{ config , lib , pkgs , . . . }:
2024-01-04 21:21:04 -05:00
{
enable = true ;
2024-01-05 16:38:09 -05:00
config = rec {
2024-01-04 21:21:04 -05:00
terminal = " k i t t y " ;
modifier = " M o d 4 " ;
2024-01-05 13:02:09 -05:00
fonts = {
2024-01-05 22:01:44 -05:00
names = [ " R e d H a t D i s p l a y " ] ;
2024-01-05 13:02:09 -05:00
style = " R e g u l a r " ;
size = 12 .0 ;
} ;
2024-01-04 21:21:04 -05:00
input = { " t y p e : t o u c h p a d " = { natural_scroll = " e n a b l e d " ; } ; } ;
2024-01-05 16:38:09 -05:00
bars = let config = config ; in [ {
position = " t o p " ;
inherit fonts ;
statusCommand = " ${ pkgs . i3status } / b i n / i 3 s t a t u s " ;
} ] ;
2024-01-04 21:21:04 -05:00
window = {
border = 2 ;
titlebar = true ;
} ;
2024-01-05 22:01:44 -05:00
menu = " j 4 - d m e n u - d e s k t o p - - n o - g e n e r i c - - t e r m = k i t t y - - d m e n u = ' b e m e n u - i - - f n R e d H a t D i s p l a y 1 2 - H 2 0 - p \" \" - B 2 - - h p 5 ' " ; # I don't like hardcoding kitty here, TODO think of better way to do it
2024-01-05 13:02:09 -05:00
focus . followMouse = false ;
2024-01-04 21:21:04 -05:00
} ;
2024-01-05 13:02:09 -05:00
extraConfig =
''
output ' eDP-1' scale 1 .50
'' + # F r a c t i o n a l s c a l i n g t o 1 . 5 0
''
input type:touchpad {
natural_scroll disabled
dwt disabled
click_method clickfinger
}
'' ; # D i s a b l e f a k e s c r o l l d i r e c t i o n a n d d i s a b l i n g t o u c h p a d w h i l e t y p i n g , e n a b l e m u l t i f i n g e r c l i c k i n g
}