From 478a02e483b365cac78b467c92ae45ac65ce9ada Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Thu, 23 May 2024 08:45:27 +0200 Subject: [PATCH] Updates --- CHANGELOG | 1 + hypr/conf/keybindings/default.conf | 1 + waybar/toggle.sh | 15 +++++++++++++++ 3 files changed, 17 insertions(+) create mode 100755 waybar/toggle.sh diff --git a/CHANGELOG b/CHANGELOG index 4eb7fa1..d09d951 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,7 @@ https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9 - Screen shading possible with hyprshade. SUPER+SHIFT+S to toggle hyprshade. The shader can be defined with the shader module in waybar or in ~/dotfiles/.settings/hyprshade.sh For auto-activation at a dedicated time please set the filter to off and follow the instructions here https://github.com/loqusion/hyprshade - Nautilus defined as the new default file manager. Thunar is still available. +- Waybar can be toggles with SUPER+CTRL+B Version 2.9 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9 diff --git a/hypr/conf/keybindings/default.conf b/hypr/conf/keybindings/default.conf index 0c6b058..e7b8ac3 100644 --- a/hypr/conf/keybindings/default.conf +++ b/hypr/conf/keybindings/default.conf @@ -38,6 +38,7 @@ bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh +bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh diff --git a/waybar/toggle.sh b/waybar/toggle.sh new file mode 100755 index 0000000..3ca8efb --- /dev/null +++ b/waybar/toggle.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# _____ _ __ __ _ +# |_ _|__ __ _ __ _| | ___ \ \ / /_ _ _ _| |__ __ _ _ __ +# | |/ _ \ / _` |/ _` | |/ _ \ \ \ /\ / / _` | | | | '_ \ / _` | '__| +# | | (_) | (_| | (_| | | __/ \ V V / (_| | |_| | |_) | (_| | | +# |_|\___/ \__, |\__, |_|\___| \_/\_/ \__,_|\__, |_.__/ \__,_|_| +# |___/ |___/ |___/ +# + +if [ -f ~/.cache/waybar-disabled ] ;then + rm ~/.cache/waybar-disabled +else + touch ~/.cache/waybar-disabled +fi +~/dotfiles/waybar/launch.sh &