From e0a90fb1f6448205b9e6cfc066cb0f9a57aa1acd Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 10 Mar 2024 14:59:44 +0100 Subject: [PATCH] Updated config --- .config/hypr/keys.conf | 10 ++++++++-- .config/mpd/mpd.conf | 12 ++++++++++++ .gitignore | 6 +----- 3 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 .config/mpd/mpd.conf diff --git a/.config/hypr/keys.conf b/.config/hypr/keys.conf index b3c24fe..17dad4b 100644 --- a/.config/hypr/keys.conf +++ b/.config/hypr/keys.conf @@ -28,6 +28,12 @@ bind = $main, right, movefocus, r bind = $main, up, movefocus, u bind = $main, down, movefocus, d +# Window resizing +binde = $main SHIFT, left, resizeactive, -10 0 +binde = $main SHIFT, right, resizeactive, 10 0 +binde = $main SHIFT, up, resizeactive, 0 -10 +binde = $main SHIFT, down, resizeactive, 0 10 + # Switch workspaces with numpad bind =, KP_Home, workspace, 1 bind =, KP_Up, workspace, 2 @@ -55,8 +61,8 @@ bind = $main ALT, right, movetoworkspace, +1 bind = $main ALT, left, movetoworkspace, -1 # Special workspace (scratchpad) -bind = $main, Z, togglespecialworkspace, magic -bind = $main SHIFT, Z, movetoworkspace, special:magic +bind = $main, KP_Enter, togglespecialworkspace, magic +bind = $main SHIFT, KP_Enter, movetoworkspace, special:magic # Move and resize windows (main + LMB/RMB and drag) bindm = $main, mouse:272, movewindow diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf new file mode 100644 index 0000000..e31ef79 --- /dev/null +++ b/.config/mpd/mpd.conf @@ -0,0 +1,12 @@ +auto_update "yes" +music_directory "~/music" + +audio_output { + type "pipewire" + name "PipeWire Sound Server" +} + +database { + plugin "simple" + path "~/.local/share/mpd/database" +} diff --git a/.gitignore b/.gitignore index b7c001a..dde18a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,4 @@ /* -*.bak -*.txt -*.sqlite3 -*.sqlite3-shm -*.sqlite3-wal !.gitignore !/.config /.config/* @@ -14,6 +9,7 @@ !/.config/fuzzel !/.config/htop !/.config/hypr +!/.config/mpd !/.config/nvim !/.config/swaylock !/.config/tmux