Add thunar back as filebrowser

Use gnome version of gvfs to enable samba support
This commit is contained in:
Evie Litherland-Smith 2024-02-08 07:44:47 +00:00
parent 7a0aedc811
commit 5379085b5e
4 changed files with 19 additions and 8 deletions

View file

@ -236,10 +236,9 @@
"SUPER, Q, killactive,"
"SUPER SHIFT, Q, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show powermenu -modi powermenu:${pkgs.rofi-power-menu}/bin/rofi-power-menu"
"SUPER, V, togglefloating"
"SUPER, M, fullscreen, 0"
"SUPER SHIFT, M, fullscreen, 1"
"SUPER, M, fullscreen, 1"
"SUPER SHIFT, M, fullscreen, 0"
"SUPER, tab, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show window"
"SUPER, F, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show filebrowser"
"SUPER, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass"
"SUPER SHIFT, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass --last-used"
"SUPER ALT, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass --insert"
@ -252,7 +251,6 @@
"SUPER SHIFT, Return, exec, ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER, S, exec, ${alacritty.package}/bin/alacritty -e btm --group --battery"
"SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket"
"SUPER SHIFT, W, exec, ${pkgs.firefox}/bin/firefox"
# Misc useful binds
'',Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"''

View file

@ -14,7 +14,7 @@
'';
};
extraConfig = {
modi = "combi,drun,ssh,window,filebrowser";
modi = "combi,drun,ssh,window";
combi-modi = "window,drun,ssh";
sidebar-mode = true;
sort = true;
@ -29,7 +29,6 @@
display-window = " 󰧨 Move ";
display-run = " 󰅴 Run ";
display-drun = " 󱓞 Apps ";
display-filebrowser = " 󰝰 Files ";
display-ssh = " 󰢹 SSH ";
display-combi = " 󰛡 Combi ";
};

View file

@ -37,6 +37,7 @@
"rewrite" = {
"(.*) - GNU Emacs at (.*)" = " $1 [$2]";
"Alacritty" = " ";
"(.*) - Thunar" = "󰝰 $1";
"Nyxt - (.*)" = "󰀹 $1";
"(.*) Mozilla Firefox" = "󰈹 $1";
".*WebCord (.*)" = "󰙯 $1";

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
lib,
pkgs,
...
}: {
imports = [./desktop.nix ./firefox.nix ./chromium.nix];
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
environment = {
@ -24,9 +28,14 @@
};
security.pam.services.swaylock = {};
services = {
xserver.enable = false;
blueman.enable = true;
udisks2.enable = true;
xserver.enable = false;
tumbler.enable = true;
gvfs = {
enable = true;
package = lib.mkForce pkgs.gnome3.gvfs;
};
greetd.settings = let
command = "Hyprland";
in {
@ -112,6 +121,10 @@
programs = {
dconf.enable = true;
light.enable = true;
thunar = {
enable = true;
plugins = with pkgs.xfce; [thunar-archive-plugin thunar-volman];
};
hyprland = {
enable = true;
xwayland.enable = true;