updates and adding some things

This commit is contained in:
Chris Cochrun 2023-05-09 12:54:57 -05:00
parent dedabb9a15
commit 7b68408ad6
6 changed files with 39 additions and 6 deletions

View file

@ -1,5 +1,25 @@
{ {
"nodes": { "nodes": {
"anyrun": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1683202497,
"narHash": "sha256-ViFgWVzW/sK14DSMC6/uxnkgOFUOtjghagpvqosEo24=",
"owner": "Kirottu",
"repo": "anyrun",
"rev": "9f920a2108117c895f1dbda3a209eb4133cd2990",
"type": "github"
},
"original": {
"owner": "Kirottu",
"repo": "anyrun",
"type": "github"
}
},
"blobs": { "blobs": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -447,6 +467,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"anyrun": "anyrun",
"emacs": "emacs", "emacs": "emacs",
"eww": "eww", "eww": "eww",
"home-manager": "home-manager", "home-manager": "home-manager",

View file

@ -26,12 +26,16 @@
simple-nixos-mailserver = { simple-nixos-mailserver = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-22.11"; url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-22.11";
}; };
anyrun = {
url = "github:Kirottu/anyrun";
inputs.nixpkgs.follows = "nixpkgs";
};
libre-presenter = { libre-presenter = {
url = "gitlab:chriscochrun/church-presenter"; url = "gitlab:chriscochrun/church-presenter";
}; };
}; };
outputs = { nixpkgs, nixpkgs-stable, home-manager, hyprland, nixos-hardware, emacs, nix-bitcoin, libre-presenter, ... }: outputs = { nixpkgs, nixpkgs-stable, home-manager, hyprland, nixos-hardware, emacs, nix-bitcoin, libre-presenter, anyrun, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
username = "chris"; username = "chris";
@ -40,6 +44,7 @@
config = { allowUnfree = true; }; config = { allowUnfree = true; };
overlays = [ overlays = [
emacs.overlays.default emacs.overlays.default
anyrun.overlay
# (self: super: { # (self: super: {
# ffmpeg_5-full = super.ffmpeg_5-full.overrideAttrs (old: { # ffmpeg_5-full = super.ffmpeg_5-full.overrideAttrs (old: {
# postFixup = '' # postFixup = ''

View file

@ -68,6 +68,9 @@ with lib;
melpaPackages.orderless melpaPackages.orderless
melpaPackages.cape melpaPackages.cape
devdocs devdocs
nano-theme
nano-modeline
nano-agenda
yasnippet yasnippet
wgrep wgrep
melpaPackages.tempel melpaPackages.tempel
@ -81,6 +84,7 @@ with lib;
helpful helpful
format-all format-all
web-mode web-mode
php-mode
lua-mode lua-mode
nix-mode nix-mode
cmake-mode cmake-mode

View file

@ -18,6 +18,7 @@ with lib;
dash dash
brightnessctl brightnessctl
dunst dunst
bottom
ttyper ttyper
kget kget
audacity audacity
@ -50,6 +51,7 @@ with lib;
libsForQt5.bismuth libsForQt5.bismuth
libnotify libnotify
rofi-wayland rofi-wayland
anyrun
wf-recorder wf-recorder
wofi wofi
waybar waybar

View file

@ -22,12 +22,13 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
exit exit
else else
echo WAYLAND echo WAYLAND
emacsrg=$(wlrctl window list | rg emacs) emacsrg=$(wlrctl window list | rg emacs | rg -v dired)
echo $emacsrg
emacswin=$(echo $emacsrg | sed 's/.*\: //') emacswin=$(echo $emacsrg | sed 's/.*\: //')
echo $emacswin echo $emacswin
exec wlrctl toplevel focus app_id:emacs exec wlrctl toplevel focus title:"$emacswin"
exit exit
fi fi
fi fi

View file

@ -141,11 +141,11 @@
bindr = ALT,Alt_L,exec,/home/chris/bin/window.sh bindr = ALT,Alt_L,exec,/home/chris/bin/window.sh
bind = SUPER,w,exec,/home/chris/bin/window.sh bind = SUPER,w,exec,/home/chris/bin/window.sh
bind = SUPER,E,exec,/home/chris/bin/emacslof bind = SUPER,E,exec,/home/chris/bin/emacslof
bind = SUPER,d,exec,emacsclient -c -e '(chris/dired-open-wm)' bind = SUPER,d,exec,emacsclient -c -e '(dired-jump)'
bind = SUPER,v,exec,emacsclient -c -e '(chris/dired-open-videos)' bind = SUPER,v,exec,emacsclient -e '(chris/dired-open-videos)'
bind = SUPER,B,exec,/home/chris/bin/fflof bind = SUPER,B,exec,/home/chris/bin/fflof
bind = SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer bind = SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer
bind = SUPERCTRL,i,exec,alacritty --class btop -e btop bind = SUPERCTRL,i,exec,alacritty --class btop -e btm
bind = ,Print,exec,screenshot bind = ,Print,exec,screenshot
bind = SUPER,P,exec,/home/chris/bin/rbw.sh bind = SUPER,P,exec,/home/chris/bin/rbw.sh