Moving wofi-launcher.sh
This commit is contained in:
+388
-388
File diff suppressed because it is too large
Load Diff
+7
-6
@@ -1337,7 +1337,7 @@ This file installs and configures waybar
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
waybarPath = "${flakeRoot}/generated/.config/waybar";
|
||||
assetPath = "${flakeRoot}/generated/.config/waybar";
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ pkgs.waybar ];
|
||||
@@ -1348,8 +1348,9 @@ in
|
||||
before = [];
|
||||
data = ''
|
||||
rm -f $HOME/.config/waybar/*
|
||||
cp ${waybarPath}/* $HOME/.config/waybar/
|
||||
cp ${assetPath}/* $HOME/.config/waybar/
|
||||
chmod u+w $HOME/.config/waybar/*
|
||||
find $HOME/.config/waybar/ -name "*.sh" -exec chmod +x {} \;
|
||||
'';
|
||||
};
|
||||
};
|
||||
@@ -2635,8 +2636,8 @@ $mainMod = SUPER
|
||||
|
||||
# launcher / kill / reload
|
||||
|
||||
bind = $mainMod, Space, exec, ~/.config/scripts/wofi-launcher.sh
|
||||
bind = ALT, Space, exec, ~/.config/scripts/wofi-launcher.sh
|
||||
bind = $mainMod, Space, exec, ~/.config/wofi/scripts/wofi-launcher.sh
|
||||
bind = ALT, Space, exec, ~/.config/wofi/scripts/wofi-launcher.sh
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod SHIFT, Q, exit,
|
||||
bind = $mainMod SHIFT, R, exec, hyprctl reload
|
||||
@@ -3939,9 +3940,9 @@ echo "📦 Updating Flatpaks..."
|
||||
flatpak update -y
|
||||
#+END_SRC
|
||||
|
||||
** =generated/.config/scripts/wofi-launcher.sh=
|
||||
** =generated/.config/wofi/scripts/wofi-launcher.sh=
|
||||
Providing an media
|
||||
#+BEGIN_SRC sh :tangle generated/.config/scripts/wofi-launcher.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never
|
||||
#+BEGIN_SRC sh :tangle generated/.config/wofi/scripts/wofi-launcher.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never
|
||||
wofi --show drun \
|
||||
--style ~/.config/wofi/style.css \
|
||||
--no-actions \
|
||||
|
||||
Reference in New Issue
Block a user