This commit is contained in:
fqbn207
2025-01-08 14:29:12 +01:00
parent 3238b146d9
commit 5bc832385f
6 changed files with 34 additions and 78 deletions

View File

@ -27,11 +27,6 @@ in
mpd.environment = { mpd.environment = {
XDG_RUNTIME_DIR = "/run/user/1000"; XDG_RUNTIME_DIR = "/run/user/1000";
}; };
#pactl-pipe = {
# description = "Load Pactl Pipe for Audio";
# wantedBy = [ "multi-user.target" ];
# serviceConfig.ExecStart = "${pkgs.pulseaudio}/bin/pactl load-module module-null-sink sink_name=virtual_sink";
#};
}; };
}; };
boot = { boot = {
@ -70,10 +65,9 @@ in
}; };
xdg.portal = { xdg.portal = {
enable = true; enable = false;
extraPortals = [ extraPortals = [
pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-hyprland
]; ];
}; };
@ -81,15 +75,6 @@ in
libinput = { libinput = {
enable = true; enable = true;
}; };
xserver = {
enable = true;
displayManager.startx.enable = true;
windowManager = {
bspwm.enable = true;
dwm.enable = false;
i3.enable = true;
};
};
pipewire = { pipewire = {
enable = true; enable = true;
pulse.enable = true; pulse.enable = true;
@ -116,10 +101,6 @@ in
}; };
programs = { programs = {
hyprland = {
enable = true;
xwayland.enable = true;
};
nix-ld.enable = true; nix-ld.enable = true;
}; };
@ -270,7 +251,6 @@ in
proggyfonts proggyfonts
nerdfonts nerdfonts
]; ];
#++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
}; };
environment.etc = { environment.etc = {

View File

@ -1,49 +0,0 @@
{
config,
pkgs,
nixvim,
...
}:
{
programs.nixvim = {
plugins = {
alpha = {
enable = true;
layout = [
{
type = "padding";
val = 2;
}
{
opts = {
hl = "Type";
position = "center";
};
type = "text";
val = [
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" i hate niggas "
];
}
{
type = "padding";
val = 2;
}
];
};
};
};
}

View File

@ -19,7 +19,6 @@ in
./neotree.nix ./neotree.nix
./opts.nix ./opts.nix
./lualine.nix ./lualine.nix
./alpha.nix
./dev.nix ./dev.nix
./nonels.nix ./nonels.nix
./treesitter.nix ./treesitter.nix

View File

@ -23,7 +23,6 @@
vim.cmd("highlight Pmenu guibg=NONE") vim.cmd("highlight Pmenu guibg=NONE")
vim.opt.termguicolors = false
vim.opt.shiftwidth = 2 vim.opt.shiftwidth = 2
vim.opt.tabstop = 2 vim.opt.tabstop = 2
vim.opt.softtabstop = 2 vim.opt.softtabstop = 2
@ -33,12 +32,13 @@
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.number = true vim.opt.number = true
vim.diagnostic.config({ vim.diagnostic.config({
virtual_text = false, virtual_text = true,
virtual_lines = false, virtual_lines = true,
}) })
vim.cmd [[ vim.cmd [[
hi VertSplit guibg=NONE guifg=#000000 hi VertSplit guibg=NONE guifg=#000000
set notermguicolors
cnoreabbrev W! w! cnoreabbrev W! w!
cnoreabbrev Q! q! cnoreabbrev Q! q!
cnoreabbrev Qall! qall! cnoreabbrev Qall! qall!

View File

@ -2,6 +2,8 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
mpc mpc
mpd-discord-rpc
mpv
]; ];
services = { services = {
mpd = { mpd = {
@ -12,6 +14,14 @@
type "pipewire" type "pipewire"
name "Pipewire Output" name "Pipewire Output"
} }
audio_output {
type "fifo"
name "Visualizer feed"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
''; '';
}; };
}; };
@ -20,15 +30,31 @@
ncmpcpp = { ncmpcpp = {
enable = true; enable = true;
mpdMusicDir = "/home/fabian/.music"; mpdMusicDir = "/home/fabian/.music";
bindings = [
];
settings = { settings = {
ncmpcpp_directory = "~/.ncmpcpp"; ncmpcpp_directory = "~/.ncmpcpp";
mpd_host = "localhost"; mpd_host = "localhost";
mpd_port = 6600; mpd_port = 6600;
header_window_color = "cyan"; header_window_color = "cyan";
progressbar_look = ""; progressbar_look = "";
visualizer_type = "wave";
visualizer_color = "cyan"; visualizer_color = "cyan";
visualizer_look = ""; visualizer_look = "";
now_playing_prefix = "󰮯 ";
visualizer_type = "wave";
song_status_format = " $2%a $4$3 $8%t $4$3 $5%b ";
autocenter_mode = "yes";
centered_cursor = "yes";
display_bitrate = "no";
enable_window_title = "no";
follow_now_playing_lyrics = "yes";
ignore_leading_the = "yes";
empty_tag_marker = "";
visualizer_data_source = "/tmp/mpd.fifo";
visualizer_output_name = "my_fifo";
header_visibility = false;
statusbar_visibility = true;
titles_visibility = true;
}; };
}; };
}; };

View File

@ -29,8 +29,8 @@
bind -n M-Up select-pane -U bind -n M-Up select-pane -U
bind -n M-Down select-pane -D bind -n M-Down select-pane -D
setw -g window-status-current-format "#T(#I:#W#F)" setw -g window-status-current-format "[ #W ]"
setw -g window-status-format "#T(#I:#W#F)" setw -g window-status-format "#W"
set-option -s status-interval 1 set-option -s status-interval 1
set -g status-right-length 100 set -g status-right-length 100