6 Commits
4 changed files with 29 additions and 7 deletions
+19 -5
View File
@@ -67,14 +67,28 @@ with lib; {
cd $argv cd $argv
''; '';
run = '' run = ''
nix run --impure nixpkgs#"$argv[1]" -- $argv[2..-1] set -l channel nixpkgs
if test "$argv[1]" = -u; or test "$argv[1]" = --unstable
set channel github:NixOS/nixpkgs/nixpkgs-unstable
set -e argv[1]
end
nix run --impure $channel#"$argv[1]" -- $argv[2..-1]
''; '';
shell = '' shell = ''
set args set -l channel nixpkgs
for arg in $argv
set args $args nixpkgs#$arg if test "$argv[1]" = -u; or test "$argv[1]" = --unstable
set channel github:NixOS/nixpkgs/nixpkgs-unstable
set -e argv[1]
end end
nix shell --impure $args
set -l packages
for arg in $argv
set -a packages $channel#$arg
end
nix shell --impure $packages
''; '';
fish_user_key_bindings = '' fish_user_key_bindings = ''
bind ctrl-space 'zi; commandline -f repaint' bind ctrl-space 'zi; commandline -f repaint'
@@ -150,6 +150,13 @@ hl.bind(mainMod .. " + SHIFT + R", hl.dsp.exec_cmd("hyprctl reload"))
hl.bind(mainMod .. " + PRINT", hl.dsp.exec_cmd("hyprshot-gui")) hl.bind(mainMod .. " + PRINT", hl.dsp.exec_cmd("hyprshot-gui"))
hl.bind("PRINT", hl.dsp.exec_cmd("hyprshot-gui")) hl.bind("PRINT", hl.dsp.exec_cmd("hyprshot-gui"))
hl.bind(mainMod .. " + P", hl.dsp.exec_cmd("toggle-screen-mirroring; correct-workspace-locations")) hl.bind(mainMod .. " + P", hl.dsp.exec_cmd("toggle-screen-mirroring; correct-workspace-locations"))
hl.bind(mainMod .. " + SHIFT + P", function()
hl.device({
name = "wacom-one-by-wacom-m-pen",
output = hl.get_active_monitor().name
})
end)
-- hyprctl eval 'hl.device({ name = "wacom-one-by-wacom-m-pen", output = hl.get_active_monitor().name })'
hl.bind(mainMod .. " + TAB", hl.dsp.exec_cmd("swaylock --daemonize")) hl.bind(mainMod .. " + TAB", hl.dsp.exec_cmd("swaylock --daemonize"))
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("makoctl dismiss")) hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("makoctl dismiss"))
hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("makoctl restore")) hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("makoctl restore"))
@@ -70,6 +70,9 @@
networkmanager-openvpn networkmanager-openvpn
keepassxc keepassxc
unstable.joplin-desktop
unstable.libation
## My scripts ## My scripts
frajul.open-messaging frajul.open-messaging
frajul.xwacomcalibrate frajul.xwacomcalibrate
-2
View File
@@ -43,8 +43,6 @@
}; };
}; };
networking.networkmanager.insertNameservers = ["192.168.3.252"];
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
programs.steam.enable = true; programs.steam.enable = true;