Skip to content

Commit

Permalink
copy files after install the pkgs to overwrite the default configurat…
Browse files Browse the repository at this point in the history
…ion of hyprland
  • Loading branch information
Heus-Sueh committed Aug 9, 2024
1 parent e18690c commit f3ae68c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 28 deletions.
8 changes: 8 additions & 0 deletions files/system/usr/share/hyprland/hyprland.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

autogenerated = 0
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,1
Expand Down Expand Up @@ -174,6 +175,13 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy

# Volume and Media Control
# $up_volume =
# $down_volume =
# $mute_volume =
# $mute_mic =
# $up_brightness =
# $down_brightness =
#
bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
bind = , XF86AudioLowerVolume, exec, pamixer -d 5
bind = , XF86AudioMicMute, exec, pamixer --default-source -m
Expand Down
7 changes: 7 additions & 0 deletions recipes/common-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Files
type: files
files:
- source: system/usr
destination: /usr
- source: system/etc
destination: /etc
8 changes: 1 addition & 7 deletions recipes/recipe-dx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# module configuration, executed in order
# you can include multiple instances of the same module
modules:
# Files
- type: files
files:
- source: system/usr
destination: /usr
- source: system/etc
destination: /etc
# ---------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
- from-file: dx.yml
Expand Down
8 changes: 1 addition & 7 deletions recipes/recipe-nvidia-dx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# module configuration, executed in order
# you can include multiple instances of the same module
modules:
# Files
- type: files
files:
- source: system/usr
destination: /usr
- source: system/etc
destination: /etc
# ----------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
- from-file: dx.yml
Expand Down
8 changes: 1 addition & 7 deletions recipes/recipe-nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# module configuration, executed in order
# you can include multiple instances of the same module
modules:
# Files
- type: files
files:
- source: system/usr
destination: /usr
- source: system/etc
destination: /etc
# ----------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
# ----------------------------------------------------------------------------------------------------------------------------
Expand Down
8 changes: 1 addition & 7 deletions recipes/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# module configuration, executed in order
# you can include multiple instances of the same module
modules:
# Files
- type: files
files:
- source: system/usr
destination: /usr
- source: system/etc
destination: /etc
# ---------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
# ---------------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit f3ae68c

Please sign in to comment.