Add privacy module to waybar, fix pcmanfm against a config

This commit is contained in:
Jimbo 2024-12-05 03:59:12 -05:00
parent 8d1271c017
commit 032439e4dc
10 changed files with 94 additions and 24 deletions

View file

@ -238,7 +238,6 @@ in {
"datareporting.healthreport.uploadEnabled" = false;
"svg.context-properties.content.enabled" = true;
"services.sync.engine.addresses.available" = false;
"full-screen-api.ignore-widgets" = true;
"device.sensors.motion.enabled" = false;
"security.OCSP.require" = true;
"gnomeTheme.hideSingleTab" = true;

View file

@ -29,11 +29,56 @@
side_pane_mode=places
view_mode=icon
show_hidden=1
sort=name;ascending;
sort=mtime;descending;
toolbar=newtab;navigation;home;
show_statusbar=1
pathbar_mode_buttons=0
'';
".config/libfm/libfm.conf".text = ''
[config]
single_click=0
use_trash=0
confirm_del=1
confirm_trash=0
advanced_mode=1
si_unit=0
force_startup_notify=1
backup_as_hidden=1
no_usb_trash=1
no_child_non_expandable=0
show_full_names=0
only_user_templates=0
template_run_app=0
template_type_once=0
auto_selection_delay=600
drop_default_action=auto
defer_content_test=0
quick_exec=0
terminal=foot
archiver=file-roller
thumbnail_local=1
thumbnail_max=2048
smart_desktop_autodrop=1
[ui]
big_icon_size=48
small_icon_size=16
pane_icon_size=16
thumbnail_size=128
show_thumbnail=1
shadow_hidden=1
[places]
places_home=1
places_desktop=1
places_root=0
places_computer=0
places_trash=1
places_applications=1
places_network=0
places_unmounted=1
'';
};
};
}

View file

@ -39,6 +39,13 @@
open-on-workspace "${config.ws.w4a}"
}
//// Layer rules (Uncomment after 0.1.11)
//layer-rule {
// match namespace="^notifications$"
// block-out-from "screencast"
//}
// Everything else
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
hotkey-overlay {

View file

@ -3,6 +3,7 @@
programs.waybar = let
swayWorkspaceModule = {
format = "{name}";
sort-by-number = true;
enable-bar-scroll = true;
warp-on-scroll = false;
disable-scroll-wraparound = true;
@ -38,16 +39,18 @@
];
};
# CPU, Ram and Vram
# Monitoring
cpuModule = {
format = " {usage}%";
interval = 3;
};
ramModule = {
format = " {used}G";
tooltip = false;
interval = 3;
};
vramModule = {
exec = pkgs.writeScript "vramScript" ''
# Don't run the script if running on integrated graphics
@ -94,6 +97,7 @@
interval = 1;
tooltip = true;
};
shortClockModule = {
exec = "echo ' '$(date +'%l:%M%p' | sed 's/^ //')";
on-click = ''wl-copy $(date "+%Y-%m-%d-%H%M%S"); notify-send "Date copied."'';
@ -101,8 +105,9 @@
tooltip = false;
};
# Tray, gamemode, bluetooth, and network tray modules
# Misc
trayModule.spacing = 5;
networkModule = {
format-ethernet = "󰈀";
format-wifi = "";
@ -112,6 +117,7 @@
tooltip-format-wifi = "{ipaddr}\n{essid} ({signalStrength}%)";
tooltip-format-disconnected = "Disconnected";
};
bluetoothModule = {
format = "";
format-disabled = "";
@ -122,24 +128,30 @@
tooltip-format-enumerate-connected-battery = "{device_alias} {device_battery_percentage}%";
on-click = "rofi-bluetooth";
};
scratchpadModule = {
format = " {count}";
show-empty = false;
tooltip = true;
tooltip-format = "{title}";
};
gamemodeModule = {
format = "{glyph}";
glyph = "󰖺";
hide-not-running = true;
use-icon = true;
icon-spacing = 3;
icon-size = 19;
icon-spacing = 3;
tooltip = true;
tooltip-format = "Gamemode On";
};
# Special per-bar modules
privacyModule = {
icon-spacing = 5;
icon-size = 15;
};
mediaModule = {
format = " {title}";
format-paused = " {artist}";
@ -170,6 +182,7 @@
interval = 2;
on-click = "makotoggle";
};
weatherModule = {
exec = "${pkgs.wttrbar}/bin/wttrbar --ampm";
format = "{}°";
@ -199,7 +212,7 @@
display1 = {
name = "bar1";
position = "top";
layer = "bottom";
layer = "top";
output = [
config.displays.d1
"VGA-1"
@ -218,6 +231,7 @@
"custom/clock-long"
"gamemode"
"sway/scratchpad"
"privacy"
"tray"
"bluetooth"
"network"
@ -231,6 +245,7 @@
"custom/vram" = vramModule;
"custom/clock-long" = longClockModule;
"gamemode" = gamemodeModule;
"privacy" = privacyModule;
"sway/scratchpad" = scratchpadModule;
"tray" = trayModule;
"bluetooth" = bluetoothModule;
@ -239,7 +254,7 @@
display2 = {
name = "bar2";
position = "top";
layer = "bottom";
layer = "top";
output = [ config.displays.d2 ];
modules-left = [
"sway/workspaces"
@ -270,7 +285,7 @@
display3 = {
name = "bar3";
position = "top";
layer = "bottom";
layer = "top";
output = [ config.displays.d3 ];
modules-left = [
"sway/workspaces"

View file

@ -1,4 +1,4 @@
{ pkgs, config, unstable, nur, blender, ... }:
{ pkgs, config, ... }:
{
users.users = {
jimbo = {
@ -38,16 +38,5 @@
};
};
home-manager = {
useUserPackages = true;
backupFileExtension = "backup";
extraSpecialArgs = {
inherit
unstable
nur
blender
;
};
users.jimbo = import ../../../../home;
};
home-manager.users.jimbo = import ../../../../home;
}

View file

@ -6,7 +6,7 @@
./desktops
./gaming
./git
./greetd
./home-manager
./nh
./security
./shells

View file

@ -0,0 +1,14 @@
{ unstable, nur, blender, ... }:
{
home-manager = {
useUserPackages = true;
backupFileExtension = "bak";
extraSpecialArgs = {
inherit
unstable
nur
blender
;
};
};
}

View file

@ -2,6 +2,7 @@
{
imports = [
./gnome-keyring
./greetd
./gvfs
./keyd
./libvirtd