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": {
"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": {
"flake": false,
"locked": {
@ -447,6 +467,7 @@
},
"root": {
"inputs": {
"anyrun": "anyrun",
"emacs": "emacs",
"eww": "eww",
"home-manager": "home-manager",

View file

@ -26,12 +26,16 @@
simple-nixos-mailserver = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-22.11";
};
anyrun = {
url = "github:Kirottu/anyrun";
inputs.nixpkgs.follows = "nixpkgs";
};
libre-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
system = "x86_64-linux";
username = "chris";
@ -40,6 +44,7 @@
config = { allowUnfree = true; };
overlays = [
emacs.overlays.default
anyrun.overlay
# (self: super: {
# ffmpeg_5-full = super.ffmpeg_5-full.overrideAttrs (old: {
# postFixup = ''

View file

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

View file

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

View file

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

View file

@ -141,11 +141,11 @@
bindr = ALT,Alt_L,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,d,exec,emacsclient -c -e '(chris/dired-open-wm)'
bind = SUPER,v,exec,emacsclient -c -e '(chris/dired-open-videos)'
bind = SUPER,d,exec,emacsclient -c -e '(dired-jump)'
bind = SUPER,v,exec,emacsclient -e '(chris/dired-open-videos)'
bind = SUPER,B,exec,/home/chris/bin/fflof
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 = SUPER,P,exec,/home/chris/bin/rbw.sh