some reorganizing
This commit is contained in:
parent
df9e8ae8bf
commit
113e015135
182 changed files with 443 additions and 449 deletions
|
@ -1,9 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
# package = pkgs.ungoogled-chromium;
|
||||
extensions = [
|
||||
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # ublock origin
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,139 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./search-engines.nix
|
||||
];
|
||||
xdg.configFile."tridactyl/tridactylrc" = {
|
||||
text = ''
|
||||
unbind <C-e>
|
||||
unbind <C-b>
|
||||
unbind <C-a> # why would you ever want to increment the current url??
|
||||
bind J tabnext
|
||||
bind K tabprev
|
||||
|
||||
set smoothscroll true
|
||||
set newtab about:blank
|
||||
set modeindicator false
|
||||
'';
|
||||
};
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox.override {
|
||||
nativeMessagingHosts = with pkgs; [
|
||||
tridactyl-native
|
||||
keepassxc
|
||||
];
|
||||
};
|
||||
profiles.xun = {
|
||||
extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
|
||||
ublock-origin
|
||||
# (lib.mkIf (config.xun.desktop.colorscheme == "dark") darkreader)
|
||||
darkreader
|
||||
sponsorblock
|
||||
tridactyl
|
||||
translate-web-pages
|
||||
cookie-quick-manager
|
||||
istilldontcareaboutcookies
|
||||
sidebery
|
||||
mal-sync
|
||||
(lib.mkIf (builtins.elem pkgs.keepassxc config.home.packages) keepassxc-browser)
|
||||
#(buildFirefoxXpiAddon rec {
|
||||
# pname = "roseal";
|
||||
# version = "1.3.44";
|
||||
# addonId = "{f4f4223a-ff30-4961-b9c0-6a71b7a32aaf}";
|
||||
# url = "https://addons.mozilla.org/firefox/downloads/file/4323142/roseal-${version}.xpi";
|
||||
# sha256 = "sha256-Qvd/EUMsSqYCvwUuxjM/ejnn7/TRuhyD82/Azu0dAfE=";
|
||||
# meta = {};
|
||||
#})
|
||||
];
|
||||
userChrome = builtins.readFile ./userChrome.css;
|
||||
# extraConfig = let
|
||||
# inherit (config.xun.desktop) colorscheme;
|
||||
# in
|
||||
# lib.mkIf (colorscheme != null)
|
||||
# "browser.management.setEnabled(\"${
|
||||
# if colorscheme == "dark"
|
||||
# then "{30756de5-da3b-43c4-8b35-1db7bb01680a}"
|
||||
# else if colorscheme == "light"
|
||||
# then "firefox-compact-light@mozilla.org"
|
||||
# else null
|
||||
# }\", true);";
|
||||
settings = {
|
||||
"browser.display.use_system_colors" = true; # about:blank colour match colourscheme
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; # enable userChrome
|
||||
"browser.tabs.inTitleBar" = "0"; # use system title bar
|
||||
"browser.newtabpage.enabled" = false;
|
||||
"browser.newtab.url" = "about:blank";
|
||||
"general.autoScroll" = true; # mmb scroll mode
|
||||
|
||||
"browser.newtabpage.enhanced" = false;
|
||||
"browser.newtabpage.introShown" = true;
|
||||
"browser.newtab.preload" = false;
|
||||
"browser.newtabpage.directory.ping" = "";
|
||||
"browser.newtabpage.directory.source" = "data:text/plain,{}";
|
||||
# Reduce search engine noise in the urlbar's completion window. The
|
||||
# shortcuts and suggestions will still work, but Firefox won't clutter
|
||||
# its UI with reminders that they exist.
|
||||
"browser.urlbar.suggest.searches" = false;
|
||||
"browser.urlbar.shortcuts.bookmarks" = false;
|
||||
"browser.urlbar.shortcuts.history" = false;
|
||||
"browser.urlbar.shortcuts.tabs" = false;
|
||||
"browser.urlbar.showSearchSuggestionsFirst" = false;
|
||||
"browser.urlbar.speculativeConnect.enabled" = false;
|
||||
|
||||
"browser.download.useDownloadDir" = false;
|
||||
"signon.rememberSignons" = false;
|
||||
"browser.shell.checkDefaultBrowser" = false;
|
||||
# Show whole URL in address bar
|
||||
"browser.urlbar.trimURLs" = false;
|
||||
# Disable some not so useful functionality.
|
||||
"browser.disableResetPrompt" = true; # "Looks like you haven't started Firefox in a while."
|
||||
"browser.onboarding.enabled" = false; # "New to Firefox? Let's get started!" tour
|
||||
"browser.aboutConfig.showWarning" = false; # Warning when opening about:config
|
||||
# "media.videocontrols.picture-in-picture.video-toggle.enabled" = false;
|
||||
"extensions.autoDisableScopes" = "0"; # Automatically enable extensions
|
||||
# "extensions.pocket.enabled" = true;
|
||||
"extensions.shield-recipe-client.enabled" = false;
|
||||
#"reader.parse-on-load.enabled" = false; # "reader view"
|
||||
|
||||
# disable telemetry
|
||||
# https://github.com/hlissner/dotfiles/blob/089f1a9da9018df9e5fc200c2d7bef70f4546026/modules/desktop/browsers/firefox.nix
|
||||
"toolkit.telemetry.unified" = false;
|
||||
"toolkit.telemetry.enabled" = false;
|
||||
"toolkit.telemetry.server" = "data:,";
|
||||
"toolkit.telemetry.archive.enabled" = false;
|
||||
"toolkit.telemetry.coverage.opt-out" = true;
|
||||
"toolkit.coverage.opt-out" = true;
|
||||
"toolkit.coverage.endpoint.base" = "";
|
||||
"experiments.supported" = false;
|
||||
"experiments.enabled" = false;
|
||||
"experiments.manifest.uri" = "";
|
||||
"browser.ping-centre.telemetry" = false;
|
||||
"app.normandy.enabled" = false;
|
||||
"app.normandy.api_url" = "";
|
||||
"app.shield.optoutstudies.enabled" = false;
|
||||
"datareporting.healthreport.uploadEnabled" = false;
|
||||
"datareporting.healthreport.service.enabled" = false;
|
||||
"datareporting.policy.dataSubmissionEnabled" = false;
|
||||
# Disable crash reports
|
||||
"breakpad.reportURL" = "";
|
||||
"browser.tabs.crashReporting.sendReport" = false;
|
||||
"browser.crashReports.unsubmittedCheck.autoSubmit2" = false;
|
||||
|
||||
# Disable Form autofill
|
||||
# https://wiki.mozilla.org/Firefox/Features/Form_Autofill
|
||||
"browser.formfill.enable" = false;
|
||||
"extensions.formautofill.addresses.enabled" = false;
|
||||
"extensions.formautofill.available" = "off";
|
||||
"extensions.formautofill.creditCards.available" = false;
|
||||
"extensions.formautofill.creditCards.enabled" = false;
|
||||
"extensions.formautofill.heuristics.enabled" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.firefox.profiles.xun.search = let
|
||||
inherit (lib) attrsToList singleton;
|
||||
in {
|
||||
force = true;
|
||||
default = "Brave";
|
||||
order = [
|
||||
"Brave"
|
||||
"Google"
|
||||
"DuckDuckGo"
|
||||
];
|
||||
|
||||
engines = {
|
||||
"Home Manager" = {
|
||||
urls = singleton {
|
||||
template = "https://home-manager-options.extranix.com";
|
||||
params = attrsToList {
|
||||
query = "{searchTerms}";
|
||||
release = "master";
|
||||
};
|
||||
};
|
||||
iconUpdateURL = "https://home-manager-options.extranix.com/images/favicon.png";
|
||||
definedAliases = ["@hm"];
|
||||
};
|
||||
"Nix Packages" = {
|
||||
urls = singleton {
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = attrsToList {
|
||||
query = "{searchTerms}";
|
||||
channel = "unstable";
|
||||
};
|
||||
};
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = ["@np"];
|
||||
};
|
||||
"NixOS Options" = {
|
||||
urls = singleton {
|
||||
template = "https://search.nixos.org/options";
|
||||
params = attrsToList {
|
||||
query = "{searchTerms}";
|
||||
channel = "unstable";
|
||||
};
|
||||
};
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = ["@no"];
|
||||
};
|
||||
"GitHub" = {
|
||||
urls = singleton {
|
||||
template = "https://github.com/search";
|
||||
params = attrsToList {
|
||||
q = "{searchTerms}";
|
||||
type = "code";
|
||||
};
|
||||
};
|
||||
iconUpdateURL = "https://github.githubassets.com/favicons/favicon-dark.svg";
|
||||
definedAliases = ["@gh"];
|
||||
};
|
||||
"GitHub Repos" = {
|
||||
urls = singleton {
|
||||
template = "https://github.com/search";
|
||||
params = attrsToList {
|
||||
q = "{searchTerms}";
|
||||
type = "repositories";
|
||||
};
|
||||
};
|
||||
iconUpdateURL = "https://github.githubassets.com/favicons/favicon-dark.svg";
|
||||
definedAliases = ["@ghr"];
|
||||
};
|
||||
"GitHub Nix" = {
|
||||
urls = singleton {
|
||||
template = "https://github.com/search";
|
||||
params = attrsToList {
|
||||
"q" = "lang:nix {searchTerms}";
|
||||
"type" = "code";
|
||||
};
|
||||
};
|
||||
iconUpdateURL = "https://github.githubassets.com/favicons/favicon-dark.svg";
|
||||
definedAliases = ["@ghn"];
|
||||
};
|
||||
"Brave" = {
|
||||
urls = singleton {
|
||||
template = "https://search.brave.com/search";
|
||||
params = attrsToList {
|
||||
"q" = "{searchTerms}";
|
||||
};
|
||||
};
|
||||
iconUpdateURL = "https://brave.com/static-assets/images/brave-favicon.png";
|
||||
definedAliases = ["@b"];
|
||||
};
|
||||
"YouTube" = {
|
||||
urls = singleton {
|
||||
template = "https://www.youtube.com/results";
|
||||
params = attrsToList {
|
||||
"search_query" = "{searchTerms}";
|
||||
};
|
||||
};
|
||||
iconUpdateURL = "https://www.youtube.com/favicon.ico";
|
||||
definedAliases = ["@yt"];
|
||||
};
|
||||
|
||||
"Google".metaData.alias = "@go";
|
||||
"DuckDuckGo".metaData.alias = "@ddg";
|
||||
"Wikipedia".metaData.alias = "@wiki";
|
||||
"Bing".metaData.alias = "@bi";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
/* Hide sidebar header */
|
||||
#sidebar-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hide tab bar */
|
||||
#TabsToolbar {
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
/* urlbar same color as background */
|
||||
#urlbar-background, #searchbar {
|
||||
background-color: var(--toolbar-bgcolor) !important;
|
||||
}
|
||||
|
||||
/* Hide tiny strip below the main top bar */
|
||||
#navigator-toolbox {
|
||||
border-bottom: none !important;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
(tor-browser.override {
|
||||
mediaSupport = false;
|
||||
})
|
||||
];
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
colors = {
|
||||
dark = {
|
||||
background = "#181818ff";
|
||||
text = "#a4c6d9ff";
|
||||
match = "#ae61b5ff";
|
||||
border = "#feafffff";
|
||||
selection = "#242424ff";
|
||||
selection-text = "#ffffffff";
|
||||
selection-match = "#fac1ffff";
|
||||
};
|
||||
light = {
|
||||
background = "#ffffffff";
|
||||
text = "#000000ff";
|
||||
match = "#a60000ff";
|
||||
border = "#000000ff";
|
||||
selection = "#bfbfbfff";
|
||||
selection-text = "#000000ff";
|
||||
selection-match = "#2544bbff";
|
||||
};
|
||||
};
|
||||
in {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
terminal = "${lib.getExe pkgs.foot}";
|
||||
layer = "overlay";
|
||||
};
|
||||
# colors = colors."${config.xun.desktop.colorscheme}";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
];
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
services.wob = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
config = {
|
||||
preferred = {
|
||||
default = "gtk";
|
||||
"org.freedesktop.impl.portal.Screenshot" = "wlr";
|
||||
"org.freedesktop.impl.portal.Screencast" = "wlr";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,150 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../common/fuzzel.nix
|
||||
../common/wob.nix
|
||||
../common/wl-clipboard.nix
|
||||
./waybar.nix
|
||||
];
|
||||
|
||||
services.cliphist = {
|
||||
enable = true;
|
||||
systemdTarget = "sway-session.target";
|
||||
extraOptions = ["-max-items" "150"];
|
||||
};
|
||||
|
||||
# notification center
|
||||
services.swaync = {
|
||||
enable = true;
|
||||
settings = {
|
||||
positionX = "right";
|
||||
positionY = "top";
|
||||
layer = "overlay";
|
||||
control-center-layer = "top";
|
||||
layer-shell = true;
|
||||
cssPriority = "application";
|
||||
control-center-margin-top = 0;
|
||||
control-center-margin-bottom = 0;
|
||||
control-center-margin-right = 0;
|
||||
control-center-margin-left = 0;
|
||||
notification-2fa-action = true;
|
||||
notification-inline-replies = false;
|
||||
notification-icon-size = 64;
|
||||
notification-body-image-height = 100;
|
||||
notification-body-image-width = 200;
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
checkConfig = false; # doesnt work with custom wallpaper
|
||||
extraSessionCommands = ''
|
||||
export SDL_VIDEODRIVER=wayland,x11,windows
|
||||
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
'';
|
||||
config = {
|
||||
modifier = "Mod4";
|
||||
output = {
|
||||
"DP-3" = {
|
||||
mode = "1920x1080@165Hz";
|
||||
position = "1920 0";
|
||||
allow_tearing = "yes";
|
||||
};
|
||||
"HDMI-A-1" = {
|
||||
position = "0 0";
|
||||
};
|
||||
};
|
||||
# output = {
|
||||
# "*".bg = "${config.xdg.userDirs.pictures}/wallpaper fill";
|
||||
# };
|
||||
input."type:keyboard".xkb_layout = osConfig.services.xserver.xkb.layout;
|
||||
bars = []; # i use waybar instead
|
||||
window = {
|
||||
titlebar = false;
|
||||
};
|
||||
menu = "${lib.getExe pkgs.fuzzel}";
|
||||
keybindings = let
|
||||
mod = config.wayland.windowManager.sway.config.modifier;
|
||||
wobVolume = "${pkgs.wireplumber}/bin/wpctl get-volume @DEFAULT_SINK@ | awk '{print $2*100}' > $XDG_RUNTIME_DIR/wob.sock";
|
||||
setVolume = limit: amount: "${pkgs.wireplumber}/bin/wpctl set-volume -l ${limit} @DEFAULT_AUDIO_SINK@ ${amount}";
|
||||
monitorId = pkgs.writers.writeBash "monitor-id" ''
|
||||
swaymsg -t get_outputs \
|
||||
| ${lib.getExe pkgs.jq} -r '.[] | select (.focused == true).name' \
|
||||
| ${lib.getExe pkgs.perl} -ne '$s=0;for(split//){$s+=ord}print"$s"'
|
||||
'';
|
||||
pauseApp = pkgs.writers.writeBash "pause-app" ''
|
||||
set -e
|
||||
pid=$(swaymsg -t get_tree \
|
||||
| ${lib.getExe pkgs.jq} -re '.. | select (.type? == "con" and .focused? == true).pid')
|
||||
|
||||
if [ $(cat "/proc/$pid/wchan") == "do_signal_stop" ]; then
|
||||
kill -s SIGCONT $pid
|
||||
else
|
||||
kill -s SIGSTOP $pid
|
||||
fi
|
||||
'';
|
||||
dir = {
|
||||
inherit (config.wayland.windowManager.sway.config) up down left right;
|
||||
};
|
||||
in
|
||||
lib.mkOptionDefault (
|
||||
{
|
||||
"${mod}+n" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t";
|
||||
"${mod}+Shift+v" = "exec ${lib.getExe pkgs.cliphist} list | ${lib.getExe pkgs.wofi} --dmenu | ${lib.getExe pkgs.cliphist} decode | ${pkgs.wl-clipboard}/bin/wl-copy";
|
||||
"${mod}+Ctrl+${dir.left}" = "focus output left";
|
||||
"${mod}+Ctrl+${dir.right}" = "focus output right";
|
||||
"${mod}+Ctrl+${dir.up}" = "focus output up";
|
||||
"${mod}+Ctrl+${dir.down}" = "focus output down";
|
||||
|
||||
"${mod}+Ctrl+Shift+${dir.left}" = "move output left";
|
||||
"${mod}+Ctrl+Shift+${dir.right}" = "move output right";
|
||||
"${mod}+Ctrl+Shift+${dir.up}" = "move output up";
|
||||
"${mod}+Ctrl+Shift+${dir.down}" = "move output down";
|
||||
|
||||
"${mod}+t" = "sticky toggle";
|
||||
|
||||
"${mod}+Shift+Backspace" = "exec systemctl suspend";
|
||||
"${mod}+Shift+s" = "exec ${lib.getExe pkgs.wayfreeze} --after-freeze-cmd '${lib.getExe pkgs.sway-contrib.grimshot} copy anything && pkill wayfreeze'";
|
||||
"${mod}+Ctrl+Shift+s" = "exec ${lib.getExe pkgs.wayfreeze} --after-freeze-cmd '${lib.getExe pkgs.sway-contrib.grimshot} savecopy anything && pkill wayfreeze'";
|
||||
"${mod}+Alt+s" = "exec ${lib.getExe pkgs.wayfreeze} --after-freeze-cmd '${lib.getExe pkgs.sway-contrib.grimshot} save anything - | ${lib.getExe pkgs.tesseract} -l eng - - | wl-copy && pkill wayfreeze'";
|
||||
|
||||
"${mod}+Shift+p" = "exec ${pauseApp}";
|
||||
"${mod}+period" = "exec ${lib.getExe pkgs.bemoji}";
|
||||
|
||||
"XF86AudioRaiseVolume" = "exec ${setVolume "1.5" "3%+"} && ${wobVolume}";
|
||||
"XF86AudioLowerVolume" = "exec ${setVolume "1.5" "3%-"} && ${wobVolume}";
|
||||
"XF86AudioPlay" = "exec ${lib.getExe pkgs.playerctl} play-pause";
|
||||
"XF86AudioStop" = "exec ${lib.getExe pkgs.playerctl} stop";
|
||||
"XF86AudioNext" = "exec ${lib.getExe pkgs.playerctl} next";
|
||||
"XF86AudioPrev" = "exec ${lib.getExe pkgs.playerctl} previous";
|
||||
}
|
||||
// (let
|
||||
inherit (builtins) foldl';
|
||||
inherit (lib) range;
|
||||
in
|
||||
foldl' (acc: x:
|
||||
acc
|
||||
// (let
|
||||
y = toString x;
|
||||
in {
|
||||
"${mod}+${y}" = "exec swaymsg workspace number \"$(${monitorId})${y}:${y}\"";
|
||||
"${mod}+Shift+${y}" = "exec swaymsg move container to workspace number \"$(${monitorId})${y}:${y}\"";
|
||||
}))
|
||||
{}
|
||||
(range 0 9))
|
||||
);
|
||||
};
|
||||
extraConfig = ''
|
||||
bindcode 202 exec ${lib.getExe pkgs.obs-cmd} replay save # F24/numpad 1 on my ID75
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
diff --git a/src/modules/sway/workspaces.cpp b/src/modules/sway/workspaces.cpp
|
||||
index 8f273300..faed503c 100644
|
||||
--- a/src/modules/sway/workspaces.cpp
|
||||
+++ b/src/modules/sway/workspaces.cpp
|
||||
@@ -343,9 +343,9 @@ auto Workspaces::update() -> void {
|
||||
fmt::arg("output", (*it)["output"].asString()));
|
||||
}
|
||||
if (!config_["disable-markup"].asBool()) {
|
||||
- static_cast<Gtk::Label *>(button.get_children()[0])->set_markup(output);
|
||||
+ static_cast<Gtk::Label *>(button.get_children()[0])->set_markup(trimWorkspaceName(output));
|
||||
} else {
|
||||
- button.set_label(output);
|
||||
+ button.set_label(trimWorkspaceName(output));
|
||||
}
|
||||
onButtonReady(*it, button);
|
||||
}
|
|
@ -1,58 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar.overrideAttrs (final: prev: {
|
||||
patches = prev.patches ++ [./waybar-workspace.patch];
|
||||
});
|
||||
settings = [
|
||||
{
|
||||
height = 24;
|
||||
spacing = 4;
|
||||
position = "top";
|
||||
modules-left = [
|
||||
"sway/workspaces"
|
||||
];
|
||||
modules-center = [
|
||||
"sway/window"
|
||||
];
|
||||
modules-right = [
|
||||
"tray"
|
||||
"clock"
|
||||
];
|
||||
"sway/workspaces" = {
|
||||
format = "{icon}";
|
||||
};
|
||||
clock = {
|
||||
format = "{:%a %H:%M}";
|
||||
tooltip-format = "<big>{:%a %Y-%m-%d %H:%M}</big>\n<small>{calendar}</small>";
|
||||
};
|
||||
}
|
||||
];
|
||||
style = ''
|
||||
* {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
box-shadow: inset 0 -3px blue;
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0 10px;
|
||||
}
|
||||
'';
|
||||
systemd = {
|
||||
enable = true;
|
||||
target = "sway-session.target";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
package = pkgs.apple-cursor;
|
||||
name = "macOS-BigSur";
|
||||
size = 16;
|
||||
};
|
||||
|
||||
# Also sets org.freedesktop.appearance color-scheme
|
||||
# dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
# theme = {
|
||||
# package = pkgs.gnome-themes-extra;
|
||||
# name = "Adwaita-dark";
|
||||
# };
|
||||
# iconTheme = {
|
||||
# package = pkgs.adwaita-icon-theme;
|
||||
# name = "Adwaita-dark";
|
||||
# };
|
||||
font = {
|
||||
name = "Sans";
|
||||
size = 11;
|
||||
};
|
||||
# gtk2.extraConfig = "gtk-application-prefer-dark-theme=1";
|
||||
# gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
|
||||
# gtk4.extraConfig.gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
|
||||
qt = {
|
||||
enable = true;
|
||||
# platformTheme.name = "gtk3";
|
||||
# style = {
|
||||
# name = "Adwaita-dark";
|
||||
# package = pkgs.adwaita-qt;
|
||||
# };
|
||||
};
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
home.packages = [self.packages.${pkgs.system}.gamesand];
|
||||
programs.mangohud.enable = true;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [heroic];
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
self,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = [
|
||||
self.packages.${pkgs.system}.krunker
|
||||
];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [lutris];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [prismlauncher];
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# i have sober installed imperatively through flatpak
|
||||
home.packages = [
|
||||
inputs.sobercookie.packages.${pkgs.system}.default
|
||||
];
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
jellyfin-media-player
|
||||
feishin
|
||||
];
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
vo = "gpu-next";
|
||||
gpu-api = "vulkan";
|
||||
scale = "ewa_lanczos";
|
||||
deband = true;
|
||||
|
||||
sub-auto = "fuzzy";
|
||||
slang = ["eng" "en"];
|
||||
|
||||
save-position-on-quit = true;
|
||||
|
||||
# update watch history
|
||||
ytdl-raw-options = "mark-watched=,cookies-from-browser=firefox";
|
||||
};
|
||||
profiles = {
|
||||
"extension.gif" = {
|
||||
cache = false;
|
||||
loop-file = true;
|
||||
};
|
||||
"protocol.https" = {
|
||||
cache-secs = 100;
|
||||
user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0";
|
||||
};
|
||||
"protocol.http" = {
|
||||
cache-secs = 100;
|
||||
user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0";
|
||||
};
|
||||
};
|
||||
scripts = with pkgs.mpvScripts; [
|
||||
cutter
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [blender];
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
vesktop
|
||||
(discord.override {
|
||||
withOpenASAR = true;
|
||||
})
|
||||
];
|
||||
services.arrpc.enable = true; # RPC with vesktop (has issues with cpu usage sometimes ime)
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [element-desktop];
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
foliate
|
||||
];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.keepassxc];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.krita];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [libreoffice-qt6];
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-vaapi
|
||||
wlrobs
|
||||
obs-vkcapture
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [obsidian];
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
pwvucontrol
|
||||
];
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
qpwgraph
|
||||
];
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
programs.cmus = {
|
||||
enable = true;
|
||||
theme = "spotify";
|
||||
extraConfig = ''
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.picard];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.puddletag];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue