update thunar, hyprpanel, and vim

This commit is contained in:
dim 2025-01-23 16:40:22 +07:00
parent 491b417827
commit 516cd60e71
9 changed files with 20 additions and 52 deletions

View File

@ -68,7 +68,6 @@
Calendar = "", Calendar = "",
Watch = "󰥔", Watch = "󰥔",
Package = "", Package = "",
Copilot = "",
Codeium = "", Codeium = "",
TabNine = "", TabNine = "",
} }

View File

@ -4,7 +4,7 @@
FloatBorder.fg = "#${config.lib.stylix.colors.base0D}"; FloatBorder.fg = "#${config.lib.stylix.colors.base0D}";
}; };
plugins = { plugins = {
copilot-vim.enable = true; copilot-vim.enable = false;
flash.enable = true; flash.enable = true;
image = { image = {
enable = false; enable = false;

View File

@ -1,3 +1,3 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs; [ libreoffice thunderbird marp-cli ]; home.packages = with pkgs; [ libreoffice thunderbird marp-cli qpdf ];
} }

View File

@ -1,48 +1,5 @@
# Thunar is a file explorer # Thunar is a file explorer
{ pkgs, ... }: { { pkgs, ... }: {
# ctrl + m to toggle the menubar # ctrl + m to toggle the menubar
home.packages = with pkgs.xfce; [ home.packages = with pkgs.xfce; [ thunar xfconf tumbler ];
thunar
xfconf
tumbler
thunar-archive-plugin
thunar-volman
];
# home.file.".config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml".text = ''
# <?xml version="1.0" encoding="UTF-8"?>
#
# <channel name="thunar" version="1.0">
# <property name="last-view" type="string" value="ThunarIconView"/>
# <property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/>
# <property name="last-window-maximized" type="bool" value="true"/>
# <property name="last-separator-position" type="int" value="170"/>
# <property name="last-statusbar-visible" type="bool" value="false"/>
# <property name="last-menubar-visible" type="bool" value="false"/>
# <property name="misc-single-click" type="bool" value="false"/>
# <property name="shortcuts-icon-emblems" type="bool" value="true"/>
# <property name="tree-icon-emblems" type="bool" value="true"/>
# <property name="misc-file-size-binary" type="bool" value="true"/>
# <property name="misc-thumbnail-draw-frames" type="bool" value="false"/>
# <property name="misc-text-beside-icons" type="bool" value="true"/>
# <property name="misc-change-window-icon" type="bool" value="true"/>
# <property name="hidden-bookmarks" type="array">
# <value type="string" value="computer:///"/>
# <value type="string" value="recent:///"/>
# <value type="string" value="file:///"/>
# <value type="string" value="network:///"/>
# </property>
# <property name="hidden-devices" type="array">
# <value type="string" value="52FEA905FEA8E309"/>
# </property>
# <property name="last-toolbar-item-order" type="string" value="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17"/>
# <property name="last-toolbar-visible-buttons" type="string" value="0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0"/>
# <property name="last-location-bar" type="string" value="ThunarLocationButtons"/>
# <property name="last-show-hidden" type="bool" value="false"/>
# <property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_38_PERCENT"/>
# <property name="last-details-view-column-widths" type="string" value="50,50,127,50,50,50,50,50,751,50,50,75,50,145"/>
# <property name="misc-middle-click-in-tab" type="bool" value="true"/>
# <property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/>
# </channel>
# '';
} }

View File

@ -19,6 +19,7 @@ in {
programs.hyprpanel = { programs.hyprpanel = {
enable = true; enable = true;
overlay.enable = true;
systemd.enable = true; systemd.enable = true;
hyprland.enable = true; hyprland.enable = true;
overwrite.enable = true; overwrite.enable = true;
@ -59,11 +60,14 @@ in {
bar.network.truncation_size = 12; bar.network.truncation_size = 12;
bar.volume.label = false; bar.volume.label = false;
bar.windowtitle.label = true; bar.windowtitle.label = true;
bar.workspaces.applicationIconEmptyWorkspace = "";
bar.workspaces.hideUnoccupied = false; bar.workspaces.hideUnoccupied = false;
bar.workspaces.monitorSpecific = true; bar.workspaces.monitorSpecific = false;
bar.workspaces.numbered_active_indicator = "color"; bar.workspaces.numbered_active_indicator = "color";
bar.workspaces.showApplicationIcons = true; bar.workspaces.showApplicationIcons = true;
bar.workspaces.showIcons = true; bar.workspaces.showIcons = true;
bar.workspaces.workspaces = 5;
bar.workspaces.show_numbered = false;
menus.clock.time.hideSeconds = true; menus.clock.time.hideSeconds = true;
menus.clock.time.military = true; menus.clock.time.military = true;
menus.clock.weather.key = weatherapikey; menus.clock.weather.key = weatherapikey;

View File

@ -90,7 +90,6 @@
xz xz
unzip unzip
p7zip p7zip
unrar
optipng optipng
pfetch pfetch
pandoc pandoc
@ -113,7 +112,6 @@
# Just cool # Just cool
peaclock peaclock
cbonsai cbonsai
pipes
cmatrix cmatrix
# cava # cava
@ -128,6 +126,7 @@
emacs29-pgtk emacs29-pgtk
zotero_7 zotero_7
chromium chromium
remmina
# inputs.zen-browser.packages."${pkgs.system}" # inputs.zen-browser.packages."${pkgs.system}"
]; ];

View File

@ -1,6 +1,6 @@
{ {
security.rtkit.enable = true; security.rtkit.enable = true;
hardware.pulseaudio.enable = false; services.pulseaudio.enable = false;
services.pipewire = { services.pipewire = {
enable = true; enable = true;

View File

@ -1,6 +1,6 @@
{ inputs, ... }: { { inputs, ... }: {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = false;
useUserPackages = true; useUserPackages = true;
backupFileExtension = "hm-backup"; backupFileExtension = "hm-backup";
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };

View File

@ -5,6 +5,15 @@ let
userId = config.var.uid; userId = config.var.uid;
in { in {
programs.zsh.enable = true; programs.zsh.enable = true;
# Thunar plugins and services
programs.thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
programs.xfconf.enable = true;
services.tumbler.enable = true;
users = { users = {
defaultUserShell = pkgs.zsh; defaultUserShell = pkgs.zsh;
users.${username} = { users.${username} = {