From c7ff941eb4f3c600546966ca9a4863b9785a5f53 Mon Sep 17 00:00:00 2001 From: harry123 Date: Wed, 23 Oct 2024 18:44:14 +0200 Subject: [PATCH] added .bashrc dotfiles --- home-manager/dotfiles/bash/.bashrc | 4 ++++ home-manager/dotfiles/sway/config | 4 ++-- home-manager/home.nix | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 home-manager/dotfiles/bash/.bashrc diff --git a/home-manager/dotfiles/bash/.bashrc b/home-manager/dotfiles/bash/.bashrc new file mode 100644 index 0000000..c870fee --- /dev/null +++ b/home-manager/dotfiles/bash/.bashrc @@ -0,0 +1,4 @@ +alias gocode="cd ~/Documents/Code/" +eval $(zoxide init bash) + +kittysay meow diff --git a/home-manager/dotfiles/sway/config b/home-manager/dotfiles/sway/config index 32fee11..a3f1a37 100755 --- a/home-manager/dotfiles/sway/config +++ b/home-manager/dotfiles/sway/config @@ -180,8 +180,8 @@ input * { # If there are multiple scratchpad windows, this command cycles through them. #bindsym $mod+minus scratchpad show # useful shortcuts -bindsym Print exec ./screen_and_copy.sh area -bindsym Ctrl+Print exec ./screen_and_copy.sh output +bindsym Print exec ~/.config/sway/screen_and_copy.sh area +bindsym Ctrl+Print exec ~/.config/sway/screen_and_copy.sh output bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- -l 1.2 bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -l 1.2 diff --git a/home-manager/home.nix b/home-manager/home.nix index a8f4035..b5567d6 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -74,6 +74,7 @@ ".profile".source = dotfiles/.profile; ".config/waybar".source = dotfiles/waybar; ".config/cava".source = dotfiles/cava; + ".bashrc".source = dotfiles/bash/.bashrc; # # You can also set the file content immediately. # ".gradle/gradle.properties".text = ''