254 lines
5.5 KiB
Nix
254 lines
5.5 KiB
Nix
{ lib, config, ... }:
|
|
|
|
let
|
|
theme = "dark";
|
|
in
|
|
{
|
|
##########
|
|
# FUZZEL #
|
|
##########
|
|
home.file.".config/fuzzel/fuzzel_dark.ini".text = ''
|
|
# output=<not set>
|
|
font=Monocraft
|
|
# dpi-aware=auto
|
|
# use-bold=no
|
|
# prompt="> "
|
|
placeholder=Start typing...
|
|
icon-theme=Papirus-Dark
|
|
icons-enabled=no
|
|
# hide-before-typing=no
|
|
# fields=filename,name,generic
|
|
# password-character=*
|
|
# filter-desktop=no
|
|
# match-mode=fzf
|
|
# sort-result=yes
|
|
match-counter=yes
|
|
# delayed-filter-ms=300
|
|
# delayed-filter-limit=20000
|
|
# show-actions=no
|
|
# terminal=$TERMINAL -e # Note: you cannot actually use environment variables here
|
|
# launch-prefix=<not set>
|
|
# list-executables-in-path=no
|
|
|
|
anchor=top
|
|
# x-margin=0
|
|
# y-margin=0
|
|
# lines=15
|
|
width=50
|
|
# tabs=8
|
|
# horizontal-pad=40
|
|
# vertical-pad=8
|
|
# inner-pad=0
|
|
|
|
# image-size-ratio=0.5
|
|
|
|
# line-height=<use font metrics>
|
|
line-height=25
|
|
# letter-spacing=0
|
|
|
|
# layer=overlay
|
|
# keyboard-focus=on-demand
|
|
# exit-on-keyboard-focus-loss=yes
|
|
|
|
# cache=<not set>
|
|
|
|
# render-workers=<number of logical CPUs>
|
|
# match-workers=<number of logical CPUs>
|
|
|
|
[colors]
|
|
background=282828FF
|
|
text=9EA0A1FF
|
|
prompt=9EA0A1FF
|
|
input=9EA0A1FF
|
|
placeholder=9EA0A1FF
|
|
# match=cb4b16ff
|
|
selection=458588FF
|
|
selection-text=A2BDBBFF
|
|
# selection-match=cb4b16ff
|
|
counter=9EA0A1FF
|
|
border=3C3836FF
|
|
|
|
[border]
|
|
width=2
|
|
radius=0
|
|
|
|
[dmenu]
|
|
# mode=text # text|index
|
|
# exit-immediately-if-empty=no
|
|
|
|
[key-bindings]
|
|
# cancel=Escape Control+g Control+c Control+bracketleft
|
|
# execute=Return KP_Enter Control+y
|
|
# execute-or-next=Tab
|
|
# execute-input=Shift+Return Shift+KP_Enter
|
|
# cursor-left=Left Control+b
|
|
# cursor-left-word=Control+Left Mod1+b
|
|
# cursor-right=Right Control+f
|
|
# cursor-right-word=Control+Right Mod1+f
|
|
# cursor-home=Home Control+a
|
|
# cursor-end=End Control+e
|
|
# delete-prev=BackSpace Control+h
|
|
# delete-prev-word=Mod1+BackSpace Control+BackSpace Control+w
|
|
# delete-line-backward=Control+u
|
|
# delete-next=Delete KP_Delete Control+d
|
|
# delete-next-word=Mod1+d Control+Delete Control+KP_Delete
|
|
# delete-line-forward=Control+k
|
|
# prev=Up Control+p
|
|
# prev-with-wrap=ISO_Left_Tab
|
|
# prev-page=Page_Up KP_Page_Up
|
|
# next=Down Control+n
|
|
# next-with-wrap=none
|
|
# next-page=Page_Down KP_Page_Down
|
|
# expunge=Shift+Delete
|
|
# clipboard-paste=Control+v XF86Paste
|
|
# primary-paste=Shift+Insert Shift+KP_Insert
|
|
|
|
# custom-N: *dmenu mode only*. Like execute, but with a non-zero
|
|
# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
|
|
# with 12, and so on.
|
|
|
|
# custom-1=Mod1+1
|
|
# custom-2=Mod1+2
|
|
# custom-3=Mod1+3
|
|
# custom-4=Mod1+4
|
|
# custom-5=Mod1+5
|
|
# custom-6=Mod1+6
|
|
# custom-7=Mod1+7
|
|
# custom-8=Mod1+8
|
|
# custom-9=Mod1+9
|
|
# custom-10=Mod1+0
|
|
# custom-11=Mod1+exclam
|
|
# custom-12=Mod1+at
|
|
# custom-13=Mod1+numbersign
|
|
# custom-14=Mod1+dollar
|
|
# custom-15=Mod1+percent
|
|
# custom-16=Mod1+dead_circumflex
|
|
# custom-17=Mod1+ampersand
|
|
# custom-18=Mod1+asterix
|
|
# custom-19=Mod1+parentleft
|
|
'';
|
|
|
|
home.file.".config/fuzzel/fuzzel_light.ini".text = ''
|
|
# output=<not set>
|
|
font=Monocraft
|
|
# dpi-aware=auto
|
|
# use-bold=no
|
|
# prompt="> "
|
|
placeholder=Start typing...
|
|
icon-theme=Papirus-Dark
|
|
icons-enabled=no
|
|
# hide-before-typing=no
|
|
# fields=filename,name,generic
|
|
# password-character=*
|
|
# filter-desktop=no
|
|
# match-mode=fzf
|
|
# sort-result=yes
|
|
match-counter=yes
|
|
# delayed-filter-ms=300
|
|
# delayed-filter-limit=20000
|
|
# show-actions=no
|
|
# terminal=$TERMINAL -e # Note: you cannot actually use environment variables here
|
|
# launch-prefix=<not set>
|
|
# list-executables-in-path=no
|
|
|
|
anchor=top
|
|
# x-margin=0
|
|
# y-margin=0
|
|
# lines=15
|
|
width=50
|
|
# tabs=8
|
|
# horizontal-pad=40
|
|
# vertical-pad=8
|
|
# inner-pad=0
|
|
|
|
# image-size-ratio=0.5
|
|
|
|
# line-height=<use font metrics>
|
|
line-height=25
|
|
# letter-spacing=0
|
|
|
|
# layer=overlay
|
|
# keyboard-focus=on-demand
|
|
# exit-on-keyboard-focus-loss=yes
|
|
|
|
# cache=<not set>
|
|
|
|
# render-workers=<number of logical CPUs>
|
|
# match-workers=<number of logical CPUs>
|
|
|
|
[colors]
|
|
background=EBDBB2FF
|
|
text=72654FFF
|
|
prompt=72654FFF
|
|
input=72654FFF
|
|
placeholder=72654FFF
|
|
# match=cb4b16ff
|
|
selection=076678FF
|
|
selection-text=84ADB2FF
|
|
# selection-match=cb4b16ff
|
|
counter=72654FFF
|
|
border=D5C4A1FF
|
|
|
|
[border]
|
|
width=2
|
|
radius=0
|
|
|
|
[dmenu]
|
|
# mode=text # text|index
|
|
# exit-immediately-if-empty=no
|
|
|
|
[key-bindings]
|
|
# cancel=Escape Control+g Control+c Control+bracketleft
|
|
# execute=Return KP_Enter Control+y
|
|
# execute-or-next=Tab
|
|
# execute-input=Shift+Return Shift+KP_Enter
|
|
# cursor-left=Left Control+b
|
|
# cursor-left-word=Control+Left Mod1+b
|
|
# cursor-right=Right Control+f
|
|
# cursor-right-word=Control+Right Mod1+f
|
|
# cursor-home=Home Control+a
|
|
# cursor-end=End Control+e
|
|
# delete-prev=BackSpace Control+h
|
|
# delete-prev-word=Mod1+BackSpace Control+BackSpace Control+w
|
|
# delete-line-backward=Control+u
|
|
# delete-next=Delete KP_Delete Control+d
|
|
# delete-next-word=Mod1+d Control+Delete Control+KP_Delete
|
|
# delete-line-forward=Control+k
|
|
# prev=Up Control+p
|
|
# prev-with-wrap=ISO_Left_Tab
|
|
# prev-page=Page_Up KP_Page_Up
|
|
# next=Down Control+n
|
|
# next-with-wrap=none
|
|
# next-page=Page_Down KP_Page_Down
|
|
# expunge=Shift+Delete
|
|
# clipboard-paste=Control+v XF86Paste
|
|
# primary-paste=Shift+Insert Shift+KP_Insert
|
|
|
|
# custom-N: *dmenu mode only*. Like execute, but with a non-zero
|
|
# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
|
|
# with 12, and so on.
|
|
|
|
# custom-1=Mod1+1
|
|
# custom-2=Mod1+2
|
|
# custom-3=Mod1+3
|
|
# custom-4=Mod1+4
|
|
# custom-5=Mod1+5
|
|
# custom-6=Mod1+6
|
|
# custom-7=Mod1+7
|
|
# custom-8=Mod1+8
|
|
# custom-9=Mod1+9
|
|
# custom-10=Mod1+0
|
|
# custom-11=Mod1+exclam
|
|
# custom-12=Mod1+at
|
|
# custom-13=Mod1+numbersign
|
|
# custom-14=Mod1+dollar
|
|
# custom-15=Mod1+percent
|
|
# custom-16=Mod1+dead_circumflex
|
|
# custom-17=Mod1+ampersand
|
|
# custom-18=Mod1+asterix
|
|
# custom-19=Mod1+parentleft
|
|
'';
|
|
|
|
home.file.".config/fuzzel/fuzzel.ini".source = config.home.file.".config/fuzzel/fuzzel_${theme}.ini".source;
|
|
}
|