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, 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 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, V, togglefloating"
"SUPER, M, fullscreen, 0" "SUPER, M, fullscreen, 1"
"SUPER SHIFT, M, fullscreen, 1" "SUPER SHIFT, M, fullscreen, 0"
"SUPER, tab, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show window" "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, 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 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" "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 SHIFT, Return, exec, ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER, S, exec, ${alacritty.package}/bin/alacritty -e btm --group --battery" "SUPER, S, exec, ${alacritty.package}/bin/alacritty -e btm --group --battery"
"SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket" "SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket"
"SUPER SHIFT, W, exec, ${pkgs.firefox}/bin/firefox"
# Misc useful binds # Misc useful binds
'',Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"'' '',Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"''

View file

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

View file

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

View file

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