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; "datareporting.healthreport.uploadEnabled" = false;
"svg.context-properties.content.enabled" = true; "svg.context-properties.content.enabled" = true;
"services.sync.engine.addresses.available" = false; "services.sync.engine.addresses.available" = false;
"full-screen-api.ignore-widgets" = true;
"device.sensors.motion.enabled" = false; "device.sensors.motion.enabled" = false;
"security.OCSP.require" = true; "security.OCSP.require" = true;
"gnomeTheme.hideSingleTab" = true; "gnomeTheme.hideSingleTab" = true;

View file

@ -29,11 +29,56 @@
side_pane_mode=places side_pane_mode=places
view_mode=icon view_mode=icon
show_hidden=1 show_hidden=1
sort=name;ascending; sort=mtime;descending;
toolbar=newtab;navigation;home; toolbar=newtab;navigation;home;
show_statusbar=1 show_statusbar=1
pathbar_mode_buttons=0 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}" 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" screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
hotkey-overlay { hotkey-overlay {

View file

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

View file

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

View file

@ -6,7 +6,7 @@
./desktops ./desktops
./gaming ./gaming
./git ./git
./greetd ./home-manager
./nh ./nh
./security ./security
./shells ./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 = [ imports = [
./gnome-keyring ./gnome-keyring
./greetd
./gvfs ./gvfs
./keyd ./keyd
./libvirtd ./libvirtd