diff options
Diffstat (limited to 'home')
| -rw-r--r-- | home/chaotic.nix | 4 | ||||
| -rw-r--r-- | home/home.nix | 6 | ||||
| -rw-r--r-- | home/programs/nixcord.nix | 186 | ||||
| -rw-r--r-- | home/wayland/niri/niri.nix | 7 | ||||
| -rw-r--r-- | home/wayland/waybar.nix | 354 |
5 files changed, 318 insertions, 239 deletions
diff --git a/home/chaotic.nix b/home/chaotic.nix new file mode 100644 index 0000000..0d5764e --- /dev/null +++ b/home/chaotic.nix @@ -0,0 +1,4 @@ +{ inputs, pkgs, ... }: +{ + +} diff --git a/home/home.nix b/home/home.nix index 43ac67c..afa9053 100644 --- a/home/home.nix +++ b/home/home.nix @@ -30,8 +30,8 @@ slurp satty + kdePackages.kdenlive brave - # winboat ripgrep nix-index qbittorrent-enhanced @@ -39,9 +39,10 @@ foot wofi inputs.prismlauncher.packages.${pkgs.stdenv.hostPlatform.system}.prismlauncher + # prismlauncher inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww bitwarden-desktop - yt-dlp-light + yt-dlp_git ffmpeg mpv gimp @@ -49,6 +50,7 @@ obs-studio mako thunderbird + nautilus xfce.thunar xfce.thunar-archive-plugin xfce.thunar-volman diff --git a/home/programs/nixcord.nix b/home/programs/nixcord.nix index f80b0b9..2e825e3 100644 --- a/home/programs/nixcord.nix +++ b/home/programs/nixcord.nix @@ -3,24 +3,55 @@ imports = [ inputs.nixcord.homeModules.nixcord ]; programs.nixcord = { enable = true; - discord.enable = false; - vesktop = { + discord = { enable = true; + vencord.enable = false; + equicord.enable = true; autoscroll.enable = true; + openASAR.enable = true; + settings = { + MINIMIZE_TO_TRAY = false; + OPEN_ON_STARTUP = false; + ANIMATE_AVATARS = false; + }; }; config = { frameless = true; - autoUpdate = true; transparent = true; - plugins = { - alwaysExpandRoles.enable = true; + allCallTimers.enable = true; + altKrispSwitch.enable = true; + alwaysExpandRoles = { + enable = true; + hideArrow = true; + }; + alwaysTrust = { + enable = true; + domain = false; + }; + amITyping.enable = true; + anammox.enable = true; + arRpcBun.enable = true; + autoDndWhilePlaying = { + enable = true; + excludeInvisible = true; + }; + betterActivities.enable = true; + betterAudioPlayer.enable = true; betterGifAltText.enable = true; betterGifPicker.enable = true; + betterInvites.enable = true; betterNotesBox = { enable = true; hide = true; }; + betterPlusReacts.enable = true; + betterQuickReact = { + enable = true; + columns = 6.0; + rows = 1.0; + compactMode = true; + }; betterRoleContext.enable = true; betterSettings = { enable = true; @@ -28,52 +59,125 @@ }; betterUploadButton.enable = true; biggerStreamPreview.enable = true; + bypassStatus = { + enable = true; + guilds = "1361802769576624278"; + users = "281482570456367104"; + }; callTimer.enable = true; + # channelTabs.enable = true; + characterCounter = { + enable = true; + colorEffects = false; + }; + cleanChannelName.enable = true; + cleanUserArea.enable = true; + clearUrLs.enable = true; + clientSideBlock.enable = true; + commandPalette.enable = true; copyFileContents.enable = true; + copyStickerLinks.enable = true; + crashHandler.enable = true; + customTimestamps.enable = true; + decodeBase64.enable = true; disableCallIdle.enable = true; + disableDeepLinks.enable = true; + dontFilterMe.enable = true; dontRoundMyTimestamps.enable = true; + equicordHelper = { + enable = true; + noMirroredCamera = true; + }; + equicordToolbox.enable = true; + exportMessages = { + enable = true; + openFileAfterExport = false; + }; expressionCloner.enable = true; + fakeNitro = { + enable = true; + enableEmojiBypass = false; + enableStickerBypass = false; + }; favoriteEmojiFirst.enable = true; + fixCodeblockGap.enable = true; + fixFileExtensions.enable = true; + fixImagesQuality.enable = true; fixSpotifyEmbeds.enable = true; fixYoutubeEmbeds.enable = true; + followVoiceUser.enable = true; forceOwnerCrown.enable = true; friendsSince.enable = true; fullSearchContext.enable = true; fullUserInChatbox.enable = true; + fullVcpfp.enable = true; + gameActivityToggle.enable = true; + gifCollections = { + enable = true; + preventDuplicates = true; + showCopyImageLink = true; + }; + gifRoulette = { + enable = true; + pingOwnerChance = true; + }; + gitHubRepos.enable = true; + hideServers.enable = true; + holyNotes.enable = true; + homeTyping.enable = true; iLoveSpam.enable = true; imageFilename.enable = true; imageLink.enable = true; imageZoom = { enable = true; + nearestNeighbour = true; saveZoomValues = true; square = true; }; + imgToGif.enable = true; + inRole.enable = true; + inviteDefaults.enable = true; + jumpTo.enable = true; memberCount.enable = true; - mentionAvatars.enable = true; - messageClickActions.enable = true; + mentionAvatars = { + enable = true; + showAtSymbol = true; + }; messageLinkEmbeds.enable = true; messageLogger = { enable = true; ignoreSelf = true; }; moyai.enable = true; + musicControls.enable = true; mutualGroupDMs.enable = true; + neverPausePreviews.enable = true; newGuildSettings = { enable = true; - messages = "only@Mentions"; + messages = 1; }; - noDevtoolsWarning.enable = true; + newPluginsManager.enable = true; + noDevtoolsWarning.enable = true; noF1.enable = true; + noMaskedUrlPaste.enable = true; + noModalAnimation.enable = true; + noNitroUpsell.enable = true; + noOnboarding.enable = true; noMosaic.enable = true; - # noPendingCount = { - # enable = true; - # hideFriendRequestsCount = false; - # hideMessageRequestCount = false; - # }; + noPendingCount = { + enable = true; + hideFriendRequestsCount = false; + hideMessageRequestsCount = false; + }; noProfileThemes.enable = true; - noTrack.enable = true; + noRoleHeaders.enable = true; noTypingAnimation.enable = true; - onePingPerDM.enable = true; + notificationTitle.enable = true; + overrideForumDefaults = { + enable = true; + defaultLayout = 2; + }; + onePingPerDm.enable = true; openInApp.enable = true; pauseInvitesForever.enable = true; permissionFreeWill = { @@ -83,53 +187,81 @@ permissionsViewer.enable = true; pinDMs = { enable = true; - dmSectioncollapsed = true; + canCollapseDmSection = true; }; + pinIcon.enable = true; platformIndicators.enable = true; + platformSpoofer = { + enable = true; + platform = "playstation"; + }; + quoter.enable = true; relationshipNotifier.enable = true; + replyPingControl.enable = true; + reverseImageSearch.enable = true; roleColorEverywhere.enable = true; + saveFavoriteGiFs.enable = true; sendTimestamps.enable = true; serverInfo.enable = true; - settings.enable = false; + serverSearch.enable = true; + showAllMessageButtons.enable = true; showConnections.enable = true; showHiddenChannels.enable = true; showHiddenThings.enable = true; showTimeoutDuration.enable = true; - sortFriendRequests = { + soggy = { enable = true; - showDates = true; + imageLink = "https://codeberg.org/adikro/wallpapers/raw/branch/main/kirkinator.gif"; + songLink = "https://video.twimg.com/amplify_video/1976076971651268608/vid/avc1/1080x720/KGLQcBQQDvLZUGKI.mp4?tag=21"; }; - spotifyControls = { + songLink.enable = true; + sortFriendRequests = { enable = true; - useSpotifyUris = true; + showDates = true; }; + soundBoardLogger.enable = true; + splitLargeMessages.enable = true; spotifyCrack = { enable = true; noSpotifyAutoPause = false; }; - typingIndicator = { + timezones = { enable = true; - includeBlockedUsers = true; + _24hTime = true; + # setDatabaseTimezone = { }; + showMessageHeaderTime = false; + showOwnTimezone = false; }; + typingIndicator.enable = true; typingTweaks.enable = true; unindent.enable = true; + universalMention = { + enable = true; + globalMention = true; + }; + unlimitedAccounts.enable = true; unlockedAvatarZoom.enable = true; userVoiceShow.enable = true; validReply.enable = true; validUser.enable = true; - vencordToolbox.enable = true; + vcPanelSettings.enable = true; viewIcons = { enable = true; format = "png"; }; + voiceChannelLog = { + enable = true; + }; + voiceChatUtilities.enable = true; voiceDownload.enable = true; + voiceJoinMessages.enable = true; voiceMessages.enable = true; volumeBooster.enable = true; - webScreenShareFixes.enable = true; whoReacted.enable = true; + whosWatching.enable = true; youtubeAdblock.enable = true; + youtubeDescription.enable = true; }; }; - quickCss = builtins.readFile ./theme.css; }; } diff --git a/home/wayland/niri/niri.nix b/home/wayland/niri/niri.nix index e57a72f..9a3d85e 100644 --- a/home/wayland/niri/niri.nix +++ b/home/wayland/niri/niri.nix @@ -10,11 +10,11 @@ accel-profile = "flat"; accel-speed = -0.6; middle-emulation = true; - scroll-factor = 1.75; + scroll-factor = 1.5; }; focus-follows-mouse = { enable = true; - max-scroll-amount = "15%"; + max-scroll-amount = "10%"; }; mod-key = "Alt"; keyboard = { @@ -38,7 +38,7 @@ }; cursor = { hide-when-typing = true; - size = 16; + size = 8; # theme = ""; }; layout = { @@ -68,6 +68,7 @@ }; spawn-at-startup = [ { command = [ "${lib.getExe pkgs.xwayland-satellite}" ]; } + { command = [ "swaybg" "--image" "/media/pics/wallpapers/kita6.png" ]; } ]; }; } diff --git a/home/wayland/waybar.nix b/home/wayland/waybar.nix index ea0ccb4..17a2f46 100644 --- a/home/wayland/waybar.nix +++ b/home/wayland/waybar.nix @@ -1,211 +1,151 @@ -{config, ...}: { +{ lib, pkgs, ... }: +{ programs.waybar = { enable = true; - settings = { - mainBar = { - layer = "top"; - position = "top"; -# margin-top = 8; -# margin-bottom = 80; -# margin-left = 8; - reload_style_on_change = true; - modules-left = ["hyprland/workspaces"]; - modules-center = ["clock#date" "clock#time"]; - modules-right = ["pulseaudio/slider" "pulseaudio#percentage"]; - "hyprland/workspaces" = { - on-click = "activate"; - format = "{icon}"; - format-icons = { - "1" = "1"; - "2" = "2"; - "3" = "3"; - "4" = "4"; - "5" = "5"; - }; - persistent-workspaces = { - "*" = 5; - }; - }; - "clock#date" = { - format = "{:%a %B %d}"; - tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"; -# rotate = 270; - }; - "clock#time" = { - format = "{:%I:%M}"; - }; - "pulseaudio" = { - format = "{icon}"; - format-bluetooth = "{icon}"; - format-muted = ""; - format-icons = { - headphones = ""; - default = [""]; - }; - scroll-step = 1; - on-click = "pavucontrol"; - }; - "pulseaudio#percentage" = { - on-click = "pactl set-sink-mute @DEFAULT_SINK@ toggle"; - format = "{volume}%"; - }; - "pulseaudio/slider" = { - min = 0; - max = 100; - orientation = "vertical"; - }; - }; - }; - /* - style = '' - @define-color mainbg #${config.colorScheme.palette.base00}; - @define-color modulesbg #${config.colorScheme.palette.base01}; - @define-color text #${config.colorScheme.palette.base05}; - @define-color alttext1 #${config.colorScheme.palette.base0C}; - @define-color alttext2 #${config.colorScheme.palette.base05}; - @define-color border #${config.colorScheme.palette.base0E}; - @define-color empty #${config.colorScheme.palette.base02}; - @define-color persistent #${config.colorScheme.palette.base04}; - @define-color hover #${config.colorScheme.palette.base09}; - @define-color white #${config.colorScheme.palette.base05}; - @define-color red #${config.colorScheme.palette.base08}; - @define-color orange #${config.colorScheme.palette.base09}; - @define-color yellow #${config.colorScheme.palette.base0A}; - @define-color green #${config.colorScheme.palette.base0B}; - - * { - all: initial; - font-family:'JetBrainsMono Nerd Font'; - padding-left: 1px; - padding-right: 1px; - } - - window#waybar { - background: @mainbg; - border: 1px solid @border; - border-radius: 5px; - } - - tooltip { - background: #${config.colorScheme.palette.base03}; - border: 2px solid #${config.colorScheme.palette.base0C}; - border-radius: 5px; - font-size: 12pt; - } - - tooltip label { - padding: 10px; - } - - #workspaces { - margin: 10px 0px; - background: @modulesbg; - font-size: 12pt; - padding: 20px 0px; - border-top:3px solid @border; - border-top-left-radius: 50px; - border-top-right-radius: 5px; - border-bottom: 3px solid @border; - border-bottom-right-radius: 50px; - border-bottom-left-radius: 5px; - } - - #workspaces button { - font-size: 18pt; - padding: 2px; - margin: 5px 6px; - border-radius: 10px; - } - - #workspaces button.persistent { - background-color: @persistent; - } - - #workspaces button.empty { - background-color: @empty; - } - - #workspaces button.visible { - background-color: @empty; - } - - #workspaces button.active { - background-color: @green; - } - - #workspaces button.urgent { - background-color: @red; - } - - #workspaces button:hover { - background-color: @hover; - } - - #pulseaudio, #clock, #clock.date, #clock.time { - background: @modulesbg; - } - - #pulseaudio { - padding: 1px 5px 1px 5px; - color: @text; - font-size: 16px; - } - - #clock.date { - padding: 30px 5px 10px 5px; - font-size: 14px; - color: @alttext2; - border-top:3px solid @border; - border-top-left-radius: 50px; - border-top-right-radius: 5px; - } - - #clock.time { - padding: 10px 5px 30px 5px; - font-size: 14px; - color: @alttext1; - border-bottom: 3px solid @border; - border-bottom-left-radius: 5px; - border-bottom-right-radius: 50px; - } - - #pulseaudio-slider, #pulseaudio.percentage { - background-color: @modulesbg; - } - - #pulseaudio-slider { - padding: 15px 0px 5px 0px; - border-top: 3px solid @border; - border-top-left-radius: 50px; - border-top-right-radius: 5px; - } - #pulseaudio-slider slider { - min-height: 0px; - min-width: 1px; - opacity: 0; - background-image: none; - border: none; - box-shadow: none; - } - #pulseaudio-slider trough { - min-height: 70px; - min-width: 0px; - border-radius: 5px; - background-color: @border; - } - #pulseaudio-slider highlight { - min-width: 10px; - border-radius: 5px; - background-color: @white; - } - - #pulseaudio.percentage { - font-size: 12px; - margin: 0px 0px; - padding: 2px 5px; - color: @text; - } - ''; - */ + # settings = [ + # { + # layer = "top"; + # position = "top"; + # + # modules-center = [ "niri/workspaces" ]; + # modules-right = [ + # "idle_inhibitor" + # "pulseaudio" + # "disk" + # "battery" + # "custom/notification" + # "tray" + # "clock" + # ]; + # + # "niri/workspaces" = { + # format = "{icon} {value}"; + # format-icons = { + # active = ""; + # default = ""; + # }; + # }; + # + # "niri/window" = { + # icon = true; + # }; + # + # "pulseaudio" = { + # format = "{icon}"; + # format-bluetooth = "{icon} "; + # format-muted = ""; + # format-icons = { + # headphone = ""; + # default = [ + # "" + # "" + # ]; + # }; + # scroll-step = 1; + # on-click = "${lib.getExe pkgs.pwvucontrol}"; + # }; + # + # clock = { + # format = "{:%H:%M} "; + # format-alt = "{:%A; %B %d, %Y (%R)} "; + # tooltip-format = "<tt><small>{calendar}</small></tt>"; + # calendar = { + # mode = "year"; + # mode-mon-col = 3; + # weeks-pos = "right"; + # on-scroll = 1; + # on-click-right = "mode"; + # format = { + # months = "<span color='#ffead3'><b>{}</b></span>"; + # days = "<span color='#ecc6d9'><b>{}</b></span>"; + # weeks = "<span color='#99ffdd'><b>W{}</b></span>"; + # weekdays = "<span color='#ffcc66'><b>{}</b></span>"; + # today = "<span color='#ff6699'><b><u>{}</u></b></span>"; + # }; + # }; + # actions = { + # on-click-right = "mode"; + # on-click-forward = "tz_up"; + # on-click-backward = "tz_down"; + # on-scroll-up = "shift_up"; + # on-scroll-down = "shift_down"; + # }; + # }; + # + # battery = { + # format = "{icon}"; + # + # format-icons = [ + # "" + # "" + # "" + # "" + # "" + # "" + # "" + # "" + # "" + # "" + # ]; + # states = { + # battery-10 = 10; + # battery-20 = 20; + # battery-30 = 30; + # battery-40 = 40; + # battery-50 = 50; + # battery-60 = 60; + # battery-70 = 70; + # battery-80 = 80; + # battery-90 = 90; + # battery-100 = 100; + # }; + # + # format-plugged = ""; + # format-charging-battery-10 = ""; + # format-charging-battery-20 = ""; + # format-charging-battery-30 = ""; + # format-charging-battery-40 = ""; + # format-charging-battery-50 = ""; + # format-charging-battery-60 = ""; + # format-charging-battery-70 = ""; + # format-charging-battery-80 = ""; + # format-charging-battery-90 = ""; + # format-charging-battery-100 = ""; + # tooltip-format = "{capacity}% {timeTo}"; + # }; + # + # "custom/notification" = { + # format = "{icon} {} "; + # tooltip-format = "Left: Open Notification Center\nRight: Toggle Do not Disturb\nMiddle: Clear Notifications"; + # format-icons = { + # notification = "<span foreground='red'><sup></sup></span>"; + # none = ""; + # dnd-notification = "<span foreground='red'><sup></sup></span>"; + # dnd-none = ""; + # inhibited-notification = "<span foreground='red'><sup></sup></span>"; + # inhibited-none = ""; + # dnd-inhibited-notification = "<span foreground='red'><sup></sup></span>"; + # dnd-inhibited-none = ""; + # }; + # return-type = "json"; + # exec-if = "which swaync-client"; + # exec = "swaync-client -swb"; + # on-click = "swaync-client -t -sw"; + # on-click-right = "swaync-client -d -sw"; + # on-click-middle = "swaync-client -C"; + # escape = true; + # }; + # + # tray = { + # icon-size = 21; + # spacing = 10; + # }; + # } + # ]; + # style = '' + # #workspaces button { + # color: @base05; + # } + # ''; }; } |
