mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
disable emac 2
This commit is contained in:
parent
1e18ba1bd5
commit
a74ddd2ee8
|
@ -65,8 +65,8 @@ ext x?html?, has w3m, terminal = w3m "$@"
|
|||
# Misc
|
||||
#-------------------------------------------
|
||||
# Define the "editor" for text files as first action
|
||||
ext org, has emacsclient, X, flag f = emacsclient -c "$@"
|
||||
mime ^text, has emacsclient, X, flag f = emacsclient -c "$@"
|
||||
ext org, has nvim, X, flag f = nvim -c "$@"
|
||||
mime ^text, has nvim, X, flag f = nvim -c "$@"
|
||||
|
||||
ext 1 = man "$1"
|
||||
ext s[wmf]c, has zsnes, X = zsnes "$1"
|
||||
|
|
|
@ -48,7 +48,6 @@ in
|
|||
|
||||
exec-once = hyprprofile Default
|
||||
|
||||
exec-once = emacs --daemon
|
||||
exec-once = pypr
|
||||
exec-once = ydotoold
|
||||
#exec-once = STEAM_FRAME_FORCE_CLOSE=1 steam -silent
|
||||
|
@ -513,15 +512,7 @@ in
|
|||
#!/bin/sh
|
||||
if pgrep -x nixos-rebuild > /dev/null || pgrep -x home-manager > /dev/null || pgrep -x kdenlive > /dev/null || pgrep -x FL64.exe > /dev/null || pgrep -x blender > /dev/null || pgrep -x flatpak > /dev/null;
|
||||
then echo "Shouldn't suspend"; sleep 10; else echo "Should suspend"; systemctl suspend; fi
|
||||
'')
|
||||
(pkgs.makeDesktopItem {
|
||||
name = "emacsclientnewframe";
|
||||
desktopName = "Emacs Client New Frame";
|
||||
exec = "emacsclient -c -a emacs";
|
||||
terminal = false;
|
||||
icon = "emacs";
|
||||
type = "Application";
|
||||
})])
|
||||
'')])
|
||||
++
|
||||
(with pkgs-hyprland; [ hyprlock ])
|
||||
++ (with pkgs-nwg-dock-hyprland; [
|
||||
|
@ -572,7 +563,6 @@ in
|
|||
home.file.".config/nwg-dock-pinned".text = ''
|
||||
nwggrid
|
||||
Alacritty
|
||||
emacsclientnewframe
|
||||
qutebrowser
|
||||
brave-browser
|
||||
librewolf
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
hyprctl keyword unbind SUPER,S;
|
||||
hyprctl keyword bind SUPER,S,exec,container-open Bard;
|
||||
emacsclient --eval '(org-roam-switch-db "Bard.p" t)'
|
||||
hyprctl keyword unbind SUPER,S
|
||||
hyprctl keyword bind SUPER,S,exec,container-open Bard
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
hyprctl keyword unbind SUPER,S;
|
||||
hyprctl keyword bind SUPER,S,exec,qutebrowser;
|
||||
emacsclient --eval '(org-roam-switch-db "Personal.p" t)'
|
||||
hyprctl keyword unbind SUPER,S
|
||||
hyprctl keyword bind SUPER,S,exec,qutebrowser
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
hyprctl keyword unbind SUPER,S;
|
||||
hyprctl keyword bind SUPER,S,exec,container-open Gamedev;
|
||||
emacsclient --eval '(org-roam-switch-db "Gamedev.s" t)'
|
||||
hyprctl keyword unbind SUPER,S
|
||||
hyprctl keyword bind SUPER,S,exec,container-open Gamedev
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
hyprctl keyword unbind SUPER,S;
|
||||
hyprctl keyword bind SUPER,S,exec,container-open Teaching;
|
||||
emacsclient --eval '(org-roam-switch-db "Teaching.p" t)'
|
||||
hyprctl keyword unbind SUPER,S
|
||||
hyprctl keyword bind SUPER,S,exec,container-open Teaching
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
hyprctl keyword unbind SUPER,S;
|
||||
hyprctl keyword bind SUPER,S,exec,container-open Tech;
|
||||
emacsclient --eval '(org-roam-switch-db "Producer.p\/LibrePhoenix.p" t)'
|
||||
hyprctl keyword unbind SUPER,S
|
||||
hyprctl keyword bind SUPER,S,exec,container-open Tech
|
||||
|
|
|
@ -10,7 +10,7 @@ killall xmobar
|
|||
killall nm-applet
|
||||
|
||||
# Launch necessary desktop applications
|
||||
autorandr;
|
||||
autorandr
|
||||
picom --animations --animation-window-mass 1 --animation-for-open-window zoom --animation-stiffness 200 --experimental-backends && # requires picom-pijulius
|
||||
xset r rate 350 50 &
|
||||
setxkbmap -option caps:escape &
|
||||
|
@ -21,6 +21,5 @@ alttab -w 1 -t 240x160 -i 64x64 -sc 1 -bg $colorBg -fg $colorFg -frame $colorSec
|
|||
nm-applet &
|
||||
GOMAXPROCS=1 syncthing --no-browser &
|
||||
protonmail-bridge --noninteractive &
|
||||
emacs --daemon &
|
||||
gnome-keyring-daemon --daemonize --login &
|
||||
gnome-keyring-daemon --start --components=secrets &
|
||||
|
|
|
@ -191,7 +191,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) =
|
|||
-- launch a terminal
|
||||
((modm, xK_Return), spawn $ XMonad.terminal conf),
|
||||
|
||||
-- launch emacsclient
|
||||
-- launch editor
|
||||
((modm, xK_a), spawn mySpawnEditor),
|
||||
|
||||
-- launch browser
|
||||
|
|
Loading…
Reference in a new issue