mirror of
https://github.com/mrfluffy-dev/dotfiles.git
synced 2026-01-16 21:30:33 +00:00
some nix spesific stuff
This commit is contained in:
@@ -16,33 +16,34 @@ env = XDG_SESSION_DESKTOP,hyprland
|
|||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = LIBVA_DRIVER_NAME,amdgpu
|
env = LIBVA_DRIVER_NAME,amdgpu
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||||
|
env = WLR_DRM_NO_ATOMIC,1
|
||||||
exec-once=eww open bar
|
exec-once=eww open bar
|
||||||
exec-once=systemctl --user restart xdg-desktop-portal
|
exec-once=systemctl --user restart xdg-desktop-portal
|
||||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
exec-once=~/.config/script/waylock.sh
|
exec-once=~/.config/script/waylock.sh
|
||||||
exec-once=~/.azotebg-hyprland
|
exec-once=hyprpaper
|
||||||
exec-once=foot -s
|
exec-once=foot -s
|
||||||
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
# exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Arch way
|
||||||
|
exec-once=/nix/store/$(ls -la /nix/store | grep 'polkit-gnome' | grep '^d' | awk '$0=$NF')/libexec/polkit-gnome-authentication-agent-1
|
||||||
exec-once=autoadb scrcpy -s '{}'
|
exec-once=autoadb scrcpy -s '{}'
|
||||||
exec-once=hyprctl setcursor oreo_purple_cursors 16
|
exec-once=hyprctl setcursor oreo_purple_cursors 16
|
||||||
exec-once=fcitx5 -d
|
exec-once=fcitx5 -d
|
||||||
monitor=DP-2,1920x1080@60,0x0,1
|
monitor=HDMI-A-2,1920x1080@60,0x0,1
|
||||||
monitor=DP-1,1920x1080@60,1920x0,1
|
monitor=DP-1,2560x1440@60,1920x0,1
|
||||||
#,bitdepth,10
|
#,bitdepth,10
|
||||||
#monitor=DP-3,1920x1080@60,4480x0,1
|
#monitor=DP-3,1920x1080@60,4480x0,1
|
||||||
#monitor=DP-3,transform,1
|
#monitor=DP-3,transform,1
|
||||||
workspace=HDMI-A-1,10
|
workspace=HDMI-A-2,10
|
||||||
#workspace=HDMI-A-1,1
|
#workspace=HDMI-A-1,1
|
||||||
workspace=DP-2,1
|
workspace=DP-1,1
|
||||||
workspace=DP-2,2
|
workspace=DP-1,2
|
||||||
workspace=DP-2,3
|
workspace=DP-1,3
|
||||||
workspace=DP-2,4
|
workspace=DP-1,4
|
||||||
workspace=DP-2,5
|
workspace=DP-1,5
|
||||||
workspace=DP-2,6
|
workspace=DP-1,6
|
||||||
workspace=DP-2,7
|
workspace=DP-1,7
|
||||||
workspace=DP-2,8
|
workspace=DP-1,8
|
||||||
workspace=DP-2,9
|
workspace=DP-1,9
|
||||||
workspace=HDMI-A-1,10
|
|
||||||
|
|
||||||
|
|
||||||
misc:disable_hyprland_logo=true
|
misc:disable_hyprland_logo=true
|
||||||
@@ -71,6 +72,7 @@ general {
|
|||||||
col.inactive_border=0x66333333
|
col.inactive_border=0x66333333
|
||||||
layout=master
|
layout=master
|
||||||
apply_sens_to_raw=1 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
|
apply_sens_to_raw=1 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
|
||||||
|
allow_tearing = true
|
||||||
}
|
}
|
||||||
|
|
||||||
group {
|
group {
|
||||||
@@ -122,6 +124,9 @@ windowrule=float,scrcpy
|
|||||||
windowrule=size 412 876, scrcpy
|
windowrule=size 412 876, scrcpy
|
||||||
windowrule=center, scrcpy
|
windowrule=center, scrcpy
|
||||||
|
|
||||||
|
#tearing rules
|
||||||
|
windowrulev2 = immediate, title:^(DOOMEternal)$
|
||||||
|
|
||||||
# rofi
|
# rofi
|
||||||
windowrule = float, Rofi
|
windowrule = float, Rofi
|
||||||
blurls=rofi
|
blurls=rofi
|
||||||
@@ -137,6 +142,11 @@ windowrule=move 724 358,title:^(kami)$
|
|||||||
windowrule=tile,WebApp-ytmusic4224
|
windowrule=tile,WebApp-ytmusic4224
|
||||||
windowrule=tile,WebApp-discord5149
|
windowrule=tile,WebApp-discord5149
|
||||||
|
|
||||||
|
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||||||
#windowrule=workspace 10,krita
|
#windowrule=workspace 10,krita
|
||||||
#windowrule=workspace 10,inkscape
|
#windowrule=workspace 10,inkscape
|
||||||
#windowrule=workspace 10,Gimp-2.10
|
#windowrule=workspace 10,Gimp-2.10
|
||||||
|
|||||||
18
hyprland/.config/hypr/hyprpaper.conf
Normal file
18
hyprland/.config/hypr/hyprpaper.conf
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
preload = ~/Pictures/Wallpapers/133.png
|
||||||
|
#if more than one preload is desired then continue to preload other backgrounds
|
||||||
|
preload = ~/Pictures/Wallpapers/138.png
|
||||||
|
# .. more preloads
|
||||||
|
|
||||||
|
|
||||||
|
#set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used
|
||||||
|
wallpaper = DP-1,~/Pictures/Wallpapers/133.png
|
||||||
|
#if more than one monitor in use, can load a 2nd image
|
||||||
|
wallpaper = HDMI-A-2,~/Pictures/Wallpapers/138.png
|
||||||
|
# .. more monitors
|
||||||
|
#
|
||||||
|
|
||||||
|
#enable splash text rendering over the wallpaper
|
||||||
|
# splash = true
|
||||||
|
|
||||||
|
#fully disable ipc
|
||||||
|
# ipc = off
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
source ~/Documents/python/wisper/activate
|
source ~/Documents/python/wisper/activate
|
||||||
python ~/Documents/python/wisper/main.py
|
nix-shell -p openai-whisper ffmpeg python3 python311Packages.pyaudio python311Packages.whisper python311Packages.pyperclip --command "python ~/Documents/python/wisper/main.py"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -18,7 +18,6 @@ export FZF_CTRL_R_OPTS='--sort'
|
|||||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||||
export TERMINAL="alacritty"
|
export TERMINAL="alacritty"
|
||||||
export LIBVIRT_DEFAULT_URI="qemu:///system"
|
export LIBVIRT_DEFAULT_URI="qemu:///system"
|
||||||
export NIX_PATH="$HOME/.nix-defexpr/channels"
|
|
||||||
export LD_LIBRARY_PATH=/usr/local/lib:$HOME/.nix-profile/lib:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=/usr/local/lib:$HOME/.nix-profile/lib:$LD_LIBRARY_PATH
|
||||||
|
|
||||||
autoload -U up-line-or-beginning-search
|
autoload -U up-line-or-beginning-search
|
||||||
@@ -28,13 +27,13 @@ zle -N up-line-or-beginning-search
|
|||||||
zle -N down-line-or-beginning-search
|
zle -N down-line-or-beginning-search
|
||||||
bindkey "^[[A" up-line-or-beginning-search
|
bindkey "^[[A" up-line-or-beginning-search
|
||||||
bindkey "^[[N" down-line-or-beginning-search
|
bindkey "^[[N" down-line-or-beginning-search
|
||||||
alias switch="sudo nixos-rebuild switch"
|
alias nix-switch="sudo nixos-rebuild switch"
|
||||||
alias steam="nixVulkanIntel steam"
|
alias nix-upgrade="sudo nixos-rebuild switch --upgrade"
|
||||||
alias steam="nixVulkanIntel heroic"
|
|
||||||
alias nix-edit="sudo vim /etc/nixos/configuration.nix"
|
alias nix-edit="sudo vim /etc/nixos/configuration.nix"
|
||||||
alias ls="exa -lag --icons"
|
alias ls="exa -lag --icons"
|
||||||
alias upload="~/.config/script/upload.sh"
|
alias upload="~/.config/script/upload.sh"
|
||||||
alias record="~/.config/script/record.sh"
|
alias record="~/.config/script/record.sh"
|
||||||
|
alias speak="~/.config/script/wisper.sh"
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias cat="bat"
|
alias cat="bat"
|
||||||
alias anime="~/repos/ani-cli/ani-cli"
|
alias anime="~/repos/ani-cli/ani-cli"
|
||||||
|
|||||||
Reference in New Issue
Block a user