refactor: home-manager to home/autumn
This commit is contained in:
@@ -1,220 +0,0 @@
|
|||||||
{ config, ... }:
|
|
||||||
{
|
|
||||||
wayland.windowManager.mango = {
|
|
||||||
enable = true;
|
|
||||||
settings = ''
|
|
||||||
# More option see https://github.com/DreamMaoMao/mango/wiki/
|
|
||||||
|
|
||||||
# Window effect
|
|
||||||
blur=0
|
|
||||||
blur_layer=0
|
|
||||||
blur_optimized=1
|
|
||||||
blur_params_num_passes = 2
|
|
||||||
blur_params_radius = 5
|
|
||||||
blur_params_noise = 0.02
|
|
||||||
blur_params_brightness = 0.9
|
|
||||||
blur_params_contrast = 0.9
|
|
||||||
blur_params_saturation = 1.2
|
|
||||||
|
|
||||||
shadows = 1
|
|
||||||
layer_shadows = 0
|
|
||||||
shadow_only_floating = 0
|
|
||||||
shadows_size = 10
|
|
||||||
shadows_blur = 15
|
|
||||||
shadows_position_x = 0
|
|
||||||
shadows_position_y = 0
|
|
||||||
shadowscolor= 0x00000099
|
|
||||||
|
|
||||||
border_radius=10
|
|
||||||
no_radius_when_single=0
|
|
||||||
focused_opacity=1.0
|
|
||||||
unfocused_opacity=1.0
|
|
||||||
|
|
||||||
# Animation Configuration(support type:zoom,slide)
|
|
||||||
# tag_animation_direction: 0-horizontal,1-vertical
|
|
||||||
animations=1
|
|
||||||
layer_animations=1
|
|
||||||
animation_type_open=zoom
|
|
||||||
animation_type_close=zoom
|
|
||||||
animation_fade_in=1
|
|
||||||
animation_fade_out=1
|
|
||||||
tag_animation_direction=1
|
|
||||||
zoom_initial_ratio=0.3
|
|
||||||
zoom_end_ratio=0.8
|
|
||||||
fadein_begin_opacity=0.5
|
|
||||||
fadeout_begin_opacity=0.8
|
|
||||||
animation_duration_move=500
|
|
||||||
animation_duration_open=400
|
|
||||||
animation_duration_tag=350
|
|
||||||
animation_duration_close=800
|
|
||||||
animation_curve_open=0.46,1.0,0.29,1
|
|
||||||
animation_curve_move=0.46,1.0,0.29,1
|
|
||||||
animation_curve_tag=0.46,1.0,0.29,1
|
|
||||||
animation_curve_close=0.08,0.92,0,1
|
|
||||||
|
|
||||||
# Master-Stack Layout Setting
|
|
||||||
new_is_master=1
|
|
||||||
default_mfact=0.55
|
|
||||||
default_nmaster=1
|
|
||||||
smartgaps=0
|
|
||||||
|
|
||||||
# Overview Setting
|
|
||||||
hotarea_size=10
|
|
||||||
enable_hotarea=1
|
|
||||||
ov_tab_mode=0
|
|
||||||
overviewgappi=5
|
|
||||||
overviewgappo=30
|
|
||||||
|
|
||||||
# Misc
|
|
||||||
no_border_when_single=0
|
|
||||||
axis_bind_apply_timeout=100
|
|
||||||
focus_on_activate=1
|
|
||||||
inhibit_regardless_of_visibility=0
|
|
||||||
sloppyfocus=1
|
|
||||||
warpcursor=1
|
|
||||||
focus_cross_monitor=1
|
|
||||||
focus_cross_tag=0
|
|
||||||
enable_floating_snap=0
|
|
||||||
snap_distance=30
|
|
||||||
cursor_size=24
|
|
||||||
drag_tile_to_tile=1
|
|
||||||
|
|
||||||
# keyboard
|
|
||||||
repeat_rate=25
|
|
||||||
repeat_delay=600
|
|
||||||
numlockon=0
|
|
||||||
xkb_rules_layout=us
|
|
||||||
|
|
||||||
# Trackpad
|
|
||||||
# need relogin to make it apply
|
|
||||||
disable_trackpad=0
|
|
||||||
tap_to_click=1
|
|
||||||
tap_and_drag=1
|
|
||||||
drag_lock=1
|
|
||||||
trackpad_natural_scrolling=0
|
|
||||||
disable_while_typing=1
|
|
||||||
left_handed=0
|
|
||||||
middle_button_emulation=0
|
|
||||||
swipe_min_threshold=1
|
|
||||||
|
|
||||||
# mouse
|
|
||||||
# need relogin to make it apply
|
|
||||||
mouse_natural_scrolling=0
|
|
||||||
|
|
||||||
# Appearance
|
|
||||||
gappih=5
|
|
||||||
gappiv=5
|
|
||||||
gappoh=10
|
|
||||||
gappov=10
|
|
||||||
scratchpad_width_ratio=0.8
|
|
||||||
scratchpad_height_ratio=0.9
|
|
||||||
borderpx=2
|
|
||||||
rootcolor=0x201b14ff
|
|
||||||
bordercolor=0x595959aa
|
|
||||||
focuscolor=${config.stylix.base16Scheme.palette.base0D}ff
|
|
||||||
maximizescreencolor=0x89aa61ff
|
|
||||||
urgentcolor=0xad401fff
|
|
||||||
scratchpadcolor=0x516c93ff
|
|
||||||
globalcolor=0xb153a7ff
|
|
||||||
overlaycolor=0x14a57cff
|
|
||||||
|
|
||||||
# layout support:
|
|
||||||
# tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller
|
|
||||||
tagrule=id:1,layout_name:tile
|
|
||||||
tagrule=id:2,layout_name:tile
|
|
||||||
tagrule=id:3,layout_name:tile
|
|
||||||
tagrule=id:4,layout_name:tile
|
|
||||||
tagrule=id:5,layout_name:tile
|
|
||||||
tagrule=id:6,layout_name:tile
|
|
||||||
tagrule=id:7,layout_name:tile
|
|
||||||
tagrule=id:8,layout_name:tile
|
|
||||||
tagrule=id:9,layout_name:tile
|
|
||||||
|
|
||||||
# Key Bindings
|
|
||||||
# key name refer to `xev` or ``grid command output,
|
|
||||||
# mod keys name: super,ctrl,alt,shift,none
|
|
||||||
|
|
||||||
# reload config
|
|
||||||
bind=SUPER,r,reload_config
|
|
||||||
|
|
||||||
# menu and terminal
|
|
||||||
bind=SUPER,q,spawn,foot
|
|
||||||
bind=SUPER,d,spawn,rofi -show drun
|
|
||||||
bind=SUPER+SHIFT,p,spawn,rofi -show power-menu -modi power-menu:rofi-power-menu
|
|
||||||
|
|
||||||
# exit
|
|
||||||
bind=SUPER,c,killclient
|
|
||||||
bind=SUPER,m,quit
|
|
||||||
|
|
||||||
# switch window focus
|
|
||||||
bind=SUPER,Tab,focusstack,next
|
|
||||||
bind=SUPER,Left,focusdir,left
|
|
||||||
bind=SUPER,Right,focusdir,right
|
|
||||||
bind=SUPER,Up,focusdir,up
|
|
||||||
bind=SUPER,Down,focusdir,down
|
|
||||||
|
|
||||||
# swap window
|
|
||||||
bind=SUPER+SHIFT,Up,exchange_client,up
|
|
||||||
bind=SUPER+SHIFT,Down,exchange_client,down
|
|
||||||
bind=SUPER+SHIFT,Left,exchange_client,left
|
|
||||||
bind=SUPER+SHIFT,Right,exchange_client,right
|
|
||||||
|
|
||||||
# switch window status
|
|
||||||
bind=SUPER,g,toggleglobal,
|
|
||||||
bind=SUPER,Tab,toggleoverview,
|
|
||||||
bind=SUPER,v,togglefloating
|
|
||||||
bind=SUPER,f,togglefullscreen,
|
|
||||||
bind=SUPER,o,toggleoverlay,
|
|
||||||
bind=SUPER,z,toggle_scratchpad
|
|
||||||
|
|
||||||
# tag switch
|
|
||||||
bind=SUPER,1,view,1,0
|
|
||||||
bind=SUPER,2,view,2,0
|
|
||||||
bind=SUPER,3,view,3,0
|
|
||||||
bind=SUPER,4,view,4,0
|
|
||||||
bind=SUPER,5,view,5,0
|
|
||||||
bind=SUPER,6,view,6,0
|
|
||||||
bind=SUPER,7,view,7,0
|
|
||||||
bind=SUPER,8,view,8,0
|
|
||||||
bind=SUPER,9,view,9,0
|
|
||||||
|
|
||||||
# tag: move client to the tag and focus it
|
|
||||||
# tagsilent: move client to the tag and not focus it
|
|
||||||
# bind=Alt,1,tagsilent,1
|
|
||||||
bind=SUPER+SHIFT,1,tag,1,0
|
|
||||||
bind=SUPER+SHIFT,2,tag,2,0
|
|
||||||
bind=SUPER+SHIFT,3,tag,3,0
|
|
||||||
bind=SUPER+SHIFT,4,tag,4,0
|
|
||||||
bind=SUPER+SHIFT,5,tag,5,0
|
|
||||||
bind=SUPER+SHIFT,6,tag,6,0
|
|
||||||
bind=SUPER+SHIFT,7,tag,7,0
|
|
||||||
bind=SUPER+SHIFT,8,tag,8,0
|
|
||||||
bind=SUPER+SHIFT,9,tag,9,0
|
|
||||||
|
|
||||||
# Mouse Button Bindings
|
|
||||||
# NONE mode key only work in ov mode
|
|
||||||
mousebind=SUPER,btn_left,moveresize,curmove
|
|
||||||
mousebind=NONE,btn_middle,togglemaximizescreen,0
|
|
||||||
mousebind=SUPER,btn_right,moveresize,curresize
|
|
||||||
mousebind=NONE,btn_left,toggleoverview,-1
|
|
||||||
mousebind=NONE,btn_right,killclient,0
|
|
||||||
|
|
||||||
# Axis Bindings
|
|
||||||
axisbind=SUPER,UP,viewtoleft_have_client
|
|
||||||
axisbind=SUPER,DOWN,viewtoright_have_client
|
|
||||||
|
|
||||||
# layer rule
|
|
||||||
layerrule=animation_type_open:zoom,layer_name:rofi
|
|
||||||
layerrule=animation_type_close:zoom,layer_name:rofi
|
|
||||||
|
|
||||||
exec-once=swww-daemon
|
|
||||||
exec=swww img ${config.stylix.image}
|
|
||||||
exec=pkill waybar; waybar
|
|
||||||
|
|
||||||
env=XCURSOR_SIZE,24
|
|
||||||
|
|
||||||
monitorrule=DP-2,0.55,1,tile,0,1,0,0,2560,1440,180
|
|
||||||
monitorrule=HDMI-A-1,0.55,1,tile,0,1,2560,0,1920,1080,60
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# Rofi
|
|
||||||
- [x] package search (nix-search-tv + television)
|
|
||||||
- [x] power menu log out -> sddm // remove log out all together; super+m works just fine
|
|
||||||
- [ ] package search (nix-search-tv + rofi) // can use -dmenu with pipes
|
|
||||||
- [ ] figure out rofi-calc | dict.sh
|
|
||||||
|
|
||||||
# Misc.
|
|
||||||
- [x] setup some proper shell shortcuts
|
|
||||||
- [x] ❌ cancelled : dynamic auto-tab depending on filetype // just deal with the standards, silly !
|
|
||||||
- [ ] COMMENTS
|
|
||||||
|
|
||||||
# Nix
|
|
||||||
- [ ] combine home-manager and nixos configuration
|
|
||||||
- [ ] custom nixos iso
|
|
||||||
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
anki
|
|
||||||
arduino-ide
|
|
||||||
audacity
|
|
||||||
bitwarden-desktop
|
|
||||||
blender
|
|
||||||
cava
|
|
||||||
cmus
|
|
||||||
eza
|
|
||||||
fd
|
|
||||||
file
|
|
||||||
ffmpeg
|
|
||||||
fzf
|
|
||||||
gimp3-with-plugins
|
|
||||||
git
|
|
||||||
ghidra-bin
|
|
||||||
grim
|
|
||||||
imagemagick
|
|
||||||
jellycli
|
|
||||||
jugglinglab
|
|
||||||
kdePackages.kdenlive
|
|
||||||
kicad
|
|
||||||
killall
|
|
||||||
krita
|
|
||||||
lazygit
|
|
||||||
ldtk
|
|
||||||
libresprite
|
|
||||||
live-server
|
|
||||||
localsend
|
|
||||||
logisim-evolution
|
|
||||||
lunar-client
|
|
||||||
man-pages
|
|
||||||
man-pages-posix
|
|
||||||
musikcube
|
|
||||||
nextcloud-client
|
|
||||||
obs-studio
|
|
||||||
pandoc
|
|
||||||
python3
|
|
||||||
prismlauncher
|
|
||||||
ripgrep
|
|
||||||
rusty-man
|
|
||||||
slurp
|
|
||||||
stm32cubemx
|
|
||||||
telegram-desktop
|
|
||||||
texlive.combined.scheme-small
|
|
||||||
tokei
|
|
||||||
tor-browser
|
|
||||||
unzip
|
|
||||||
vial
|
|
||||||
virtualboxKvm
|
|
||||||
vlc
|
|
||||||
wiki-tui
|
|
||||||
wl-clipboard
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
audacity
|
||||||
|
bitwarden-desktop
|
||||||
|
cava
|
||||||
|
cmus
|
||||||
|
fd
|
||||||
|
file
|
||||||
|
ffmpeg
|
||||||
|
fzf
|
||||||
|
gimp3-with-plugins
|
||||||
|
git
|
||||||
|
grim
|
||||||
|
killall
|
||||||
|
lazygit
|
||||||
|
libresprite
|
||||||
|
man-pages
|
||||||
|
man-pages-posix
|
||||||
|
python3
|
||||||
|
ripgrep
|
||||||
|
rusty-man
|
||||||
|
slurp
|
||||||
|
stm32cubemx
|
||||||
|
tor-browser
|
||||||
|
unzip
|
||||||
|
vial
|
||||||
|
vlc
|
||||||
|
wl-clipboard
|
||||||
|
];
|
||||||
|
}
|
||||||
+1
@@ -22,6 +22,7 @@
|
|||||||
nvim-tree.enable = true;
|
nvim-tree.enable = true;
|
||||||
nvim-autopairs.enable = true;
|
nvim-autopairs.enable = true;
|
||||||
quickmath.enable = true;
|
quickmath.enable = true;
|
||||||
|
rainbow.enable = true;
|
||||||
render-markdown.enable = true;
|
render-markdown.enable = true;
|
||||||
treesj.enable = true;
|
treesj.enable = true;
|
||||||
ts-autotag.enable = true;
|
ts-autotag.enable = true;
|
||||||
@@ -92,14 +92,8 @@ in
|
|||||||
SearchBar = "unified";
|
SearchBar = "unified";
|
||||||
ExtensionSettings = builtins.listToAttrs (
|
ExtensionSettings = builtins.listToAttrs (
|
||||||
builtins.map (name: installExtension name) [
|
builtins.map (name: installExtension name) [
|
||||||
# uBlock Origin:
|
# BitWarden
|
||||||
"uBlock0@raymondhill.net"
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}"
|
||||||
|
|
||||||
# SponsorBlocker
|
|
||||||
"sponsorBlocker@ajay.app"
|
|
||||||
|
|
||||||
# Return dislikes to YouTube
|
|
||||||
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}"
|
|
||||||
|
|
||||||
# Catppuccin Mocha Mauve
|
# Catppuccin Mocha Mauve
|
||||||
"{76aabc99-c1a8-4c1e-832b-d4f2941d5a7a}"
|
"{76aabc99-c1a8-4c1e-832b-d4f2941d5a7a}"
|
||||||
@@ -107,8 +101,17 @@ in
|
|||||||
# Dark Reader
|
# Dark Reader
|
||||||
"addon@darkreader.org"
|
"addon@darkreader.org"
|
||||||
|
|
||||||
# BitWarden
|
# Language Tool
|
||||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}"
|
"languagetool-webextension@languagetool.org"
|
||||||
|
|
||||||
|
# Return dislikes to YouTube
|
||||||
|
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}"
|
||||||
|
|
||||||
|
# SponsorBlocker
|
||||||
|
"sponsorBlocker@ajay.app"
|
||||||
|
|
||||||
|
# uBlock Origin:
|
||||||
|
"uBlock0@raymondhill.net"
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user