diff --git a/.bin/start-audio b/.bin/start-audio index bc7b528..4f108f7 100755 --- a/.bin/start-audio +++ b/.bin/start-audio @@ -48,8 +48,8 @@ start_audio_pipewire () { pw-link 'default-sink:monitor_FL' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FL' pw-link 'default-sink:monitor_FR' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FR' - pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FL' - pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FR' + #pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FL' + #pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FR' } diff --git a/.config/aliasrc b/.config/aliasrc index d5dcaa2..0bb198d 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -50,6 +50,7 @@ alias mv='mv -iv' alias nixos-rebuild-tinker='sudo nixos-rebuild switch -p tinkering --no-build-nix' alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)' +alias pacman-autoremove-opts='sudo pacman -Rns $(pacman -Qttdq)' alias ps-grep='ps aux | grep -v grep | grep' alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG_CONFIG_HOME/qutebrowser/config-kiosk.py' diff --git a/.config/environment b/.config/environment index 7a4eddb..63cd061 100644 --- a/.config/environment +++ b/.config/environment @@ -1,6 +1,7 @@ #!/bin/sh set -a +. "/etc/profile" . "$HOME/.config/user-dirs.dirs" . "$XDG_CONFIG_HOME/locale.conf" set +a diff --git a/.config/nixpkgs/graphical.nix b/.config/nixpkgs/graphical.nix index 96a9146..74edac1 100644 --- a/.config/nixpkgs/graphical.nix +++ b/.config/nixpkgs/graphical.nix @@ -5,6 +5,7 @@ home.packages = with pkgs; [ #alacritty # terminal emulator bc # calculator (bsp-layout dependency) + bemenu # tool to display menus bsp-layout # automatic layouts for bpswm ckb-next # corsair hardware control conky # shows stuff on the wallpaper @@ -12,26 +13,14 @@ feh # image viewer and wallpaper-tool flameshot # screenshot tool helvum # Pipewire GUI + j4-dmenu-desktop # collects .desktop files for a menu parcellite # clipboard-manager pavucontrol # Pulseaudio GUI + polybar # desktop bar solaar # Logitech tool + sxhkd # hotkey daemon #vagrant # tool for automated virtual machines #virtualbox # tool for virtual machines xclip # clipboard CLI for X ]; - - # This value determines the Home Manager release that your - # configuration is compatible with. This helps avoid breakage - # when a new Home Manager release introduces backwards - # incompatible changes. - # - # You can update Home Manager without changing this value. See - # the Home Manager release notes for a list of state version - # changes in each release. - home.stateVersion = "22.11"; - - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; - - targets.genericLinux.enable = true; } diff --git a/.profile b/.profile index b346467..66bfe6b 100644 --- a/.profile +++ b/.profile @@ -1,2 +1 @@ -. "/etc/profile" . "$HOME/.config/environment" diff --git a/.zprofile b/.zprofile index f63257c..193fe11 100644 --- a/.zprofile +++ b/.zprofile @@ -1,4 +1,3 @@ -. /etc/profile . "$HOME/.config/environment" . "$HOME/.config/aliasrc" @@ -9,6 +8,6 @@ then gpgconf --launch gpg-agent >/dev/null fi -if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then +if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 3 ]; then exec $AUTOSTART_DISPLAY fi