firefox theme, taskwarrior, cleaning

This commit is contained in:
Aria Nolan 2023-11-21 22:30:31 -05:00
parent 899ad2beaf
commit b189bf3d8e
10 changed files with 93 additions and 33 deletions

View file

@ -53,8 +53,8 @@
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;
services.geoclue2.enable = true; services.geoclue2.enable = true;
services.tlp.enable = true; # services.tlp.enable = true;
services.thermald.enable = true; # services.thermald.enable = true;
# Enable sound. # Enable sound.
sound.enable = true; sound.enable = true;
@ -95,12 +95,12 @@
description = "Aria Nolan"; description = "Aria Nolan";
}; };
programs.river.enable = true; # programs.river.enable = true;
programs.river.extraPackages = with pkgs; [ # programs.river.extraPackages = with pkgs; [
swaylock # swaylock
swayidle # swayidle
brightnessctl # brightnessctl
]; # ];
programs.sway.enable = true; programs.sway.enable = true;
programs.sway.wrapperFeatures.gtk = true; programs.sway.wrapperFeatures.gtk = true;
@ -108,6 +108,7 @@
swaylock swaylock
swayidle swayidle
brightnessctl brightnessctl
wl-mirror
]; ];
programs.waybar.enable = true; programs.waybar.enable = true;
@ -117,6 +118,7 @@
systemPackages = with pkgs; [ systemPackages = with pkgs; [
vim vim
exfat exfat
ntfs3g
]; ];
defaultPackages = with pkgs; [ defaultPackages = with pkgs; [
perl perl

View file

@ -15,6 +15,7 @@
packages = with pkgs; [ packages = with pkgs; [
rnote rnote
libreoffice libreoffice
notify-desktop
texlive.combined.scheme-medium texlive.combined.scheme-medium
libsixel libsixel
aspell aspell
@ -30,7 +31,7 @@
jetbrains-mono jetbrains-mono
fira-code fira-code
mononoki mononoki
iosevka inter
(nerdfonts.override {fonts = ["FiraCode"];}) (nerdfonts.override {fonts = ["FiraCode"];})
gnupg gnupg
pandoc pandoc

View file

@ -4,6 +4,7 @@
./git.nix ./git.nix
./taskwarrior.nix ./taskwarrior.nix
./firefox.nix ./firefox.nix
# ./thunderbird.nix
]; ];
programs.eza = { programs.eza = {

View file

@ -50,6 +50,7 @@
aria2-integration aria2-integration
sponsorblock sponsorblock
xbrowsersync xbrowsersync
sidebery
]; ];
settings = { settings = {
"browser.aboutConfig.showWarning" = false; "browser.aboutConfig.showWarning" = false;
@ -69,6 +70,7 @@
"browser.urlbar.suggest.trending" = false; "browser.urlbar.suggest.trending" = false;
"browser.tabs.firefox-view" = false; "browser.tabs.firefox-view" = false;
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.toolbars.bookmarks.visibility" = "never";
}; };
search = { search = {
force = true; force = true;
@ -120,7 +122,7 @@
userChrome = '' userChrome = ''
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
* { * {
font-family: "mononoki" !important; font-family: "Inter" !important;
font-size: 14px !important; font-size: 14px !important;
--arrowpanel-background: ${theme.base00} !important; --arrowpanel-background: ${theme.base00} !important;
@ -156,6 +158,7 @@
background-color: ${theme.base02} !important; background-color: ${theme.base02} !important;
border-radius: 0px !important; border-radius: 0px !important;
margin-block: 0px !important; margin-block: 0px !important;
min-height: 0px !important;
} }
.tabbrowser-tab:hover .tab-background { .tabbrowser-tab:hover .tab-background {
background-color: ${theme.base09} !important; background-color: ${theme.base09} !important;
@ -177,6 +180,18 @@
#TabsToolbar { #TabsToolbar {
z-index: 1000 !important; z-index: 1000 !important;
} }
#firefox-view-button {
visibility: collapse;
}
#alltabs-button {
visibility: collapse;
}
hbox.titlebar-spacer:nth-child(3) {
visibility: collapse;
}
hbox.titlebar-buttonbox-container:nth-child(5) {
visibility: collapse;
}
#mainPopupSet menupopup, #mainPopupSet menupopup,
menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menuitem,
menupopup:not(.in-menulist) > menu { menupopup:not(.in-menulist) > menu {
@ -228,6 +243,9 @@
#tabbrowser-tabs { #tabbrowser-tabs {
-moz-box-flex: 1 !important; -moz-box-flex: 1 !important;
text-align: center !important; text-align: center !important;
border-inline-start: 0px !important;
padding-inline-start: 0px !important;
margin-inline-start: 0px !important;
} }
#tabs-newtab-button{ #tabs-newtab-button{
display: none !important; display: none !important;
@ -327,6 +345,22 @@
padding-inline: var(--urlbarView-item-inline-padding) 18px; padding-inline: var(--urlbarView-item-inline-padding) 18px;
opacity: 0.6; opacity: 0.6;
} }
:root:not([privatebrowsingmode], [firefoxviewhidden]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode]:not([firefoxviewhidden]) :is(
toolbarbutton:not(#firefox-view-button),
toolbarpaletteitem:not(#wrapper-firefox-view-button)
) + #tabbrowser-tabs {
border-inline-start: 0px !important;
padding-inline-start: 0px !important;
margin-inline-start: 0px !important;
}
.tab-icon-stack {
display: none;
}
.tab-label {
white-space: nowrap;
line-height: 2 !important; /* override 'normal' in case of fallback math fonts with huge metrics */
}
''; '';
userContent = '' userContent = ''
@namespace url("http://www.w3.org/1999/xhtml"); @namespace url("http://www.w3.org/1999/xhtml");
@ -345,7 +379,7 @@
} }
@-moz-document url("about:newtab"), url("about:home") { @-moz-document url("about:newtab"), url("about:home") {
* { * {
font-family: "mononoki" !important; font-family: "Inter" !important;
} }
body { body {
background-color: ${theme.base00} !important; background-color: ${theme.base00} !important;

View file

@ -1,5 +1,24 @@
{...}: { {...}: {
programs.taskwarrior = { programs.taskwarrior = {
enable = true; enable = true;
config = {
dateformat = "Y-M-D H:N";
report.list.columns = [
"id"
"entry.age"
"scheduled"
"due"
"description"
"urgency"
];
report.list.labels = [
"ID"
"Age"
"Sched"
"Due"
"Description"
"Urg"
];
};
}; };
} }

View file

@ -0,0 +1,5 @@
{...}: {
programs.thunderbird = {
enable = true;
};
}

View file

@ -13,7 +13,6 @@
settings = { settings = {
add_newline = false; add_newline = false;
format = lib.concatStrings [ format = lib.concatStrings [
"$shlvl"
"$directory" "$directory"
"$git_branch" "$git_branch"
"$git_commit" "$git_commit"
@ -29,9 +28,9 @@
scan_timeout = 10; scan_timeout = 10;
git_commit.tag_disabled = false; git_commit.tag_disabled = false;
git_status = { git_status = {
ahead = ''''${count}''; ahead = ''''${count}'';
behind = ''''${count}''; behind = ''''${count}'';
diverged = ''''${ahead_count}''${behind_count}''; diverged = ''''${ahead_count}''${behind_count}'';
staged = "+$count"; staged = "+$count";
}; };
nix_shell = { nix_shell = {
@ -40,10 +39,17 @@
pure_msg = "ρ"; pure_msg = "ρ";
symbol = ""; symbol = "";
}; };
# character = { directory = {
# success_symbol = "[%](bold green)"; read_only = " ";
# error_symbol = "[%](bold red)"; };
# }; character = {
# success_symbol = "[)](bold green)";
# error_symbol = "[)](bold red)";
# vimcmd_symbol = "[(](bold green)";
# vimcmd_replace_one_symbol = "[(](bold purple)]";
# vimcmd_replace_symbol = "[(](bold purple)]";
# vimcmd_visual_symbol = "[(](bold yellow)]";
};
}; };
}; };
} }

View file

@ -4,14 +4,6 @@
./foot.nix ./foot.nix
]; ];
xdg.configFile."river" = {
source = ./river;
executable = true;
recursive = true;
};
xdg.configFile."river/background.jpg".source = ../background.jpg;
xdg.configFile."sway" = { xdg.configFile."sway" = {
source = ./sway; source = ./sway;
executable = true; executable = true;
@ -22,9 +14,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
wl-clipboard wl-clipboard
# swaylock
# swayidle
wbg
dunst dunst
grim grim
slurp slurp

View file

@ -251,6 +251,9 @@ bindsym $mod+r mode "resize"
# } # }
# } # }
# Screenshot
bindsym Print exec IMG=~/Pictures/screenshots/$(date | sed "s/\s/-/g" | sed "s/--/-/g").png&&grim -g "$(slurp)" $IMG && cat $IMG | wl-copy && notify-desktop "Screenshot has been saved and copied to your clipboard" -a "grim" -u normal -t 2000
# #
# Player # Player
# #
@ -270,8 +273,8 @@ bindsym $mod+r mode "resize"
# Backlight # Backlight
# #
# bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob # bindsym XF86MonBrightnessUp exec brightnessctl s +5%
# bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob # bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
# #
# SwayFX # SwayFX

View file

@ -1,5 +1,5 @@
exec nm-applet exec nm-applet
exec systemctl --user restart wireplumber # exec systemctl --user restart wireplumber
exec gammastep-indicator exec gammastep-indicator
exec dunst exec dunst
#exec swayidle -w \ #exec swayidle -w \