feat(omp): nix shell

This commit is contained in:
Paul Fey 2025-02-15 21:46:53 +01:00
parent 2cd8f38847
commit 616cdc0e81
4 changed files with 23 additions and 1 deletions

View file

@ -26,6 +26,7 @@ set $filemanager nemo
set $dmenu wmenu -i
set $menu j4-dmenu-desktop --no-generic --dmenu="$dmenu"
set $background ~/.wallpaper
set $lock swaylock -i $background
### Output configuration
#
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
@ -92,6 +93,9 @@ font pango:JetBrainsMonoNerdFont 9
# Kill focused window
bindsym $mod+q kill
# Lock the Screen
bindsym $mod+p exec $lock
# Start your launcher
bindsym $mod+Space exec $menu
bindsym $mod+Shift+B exec --no-startup-id DMENU_BLUETOOTH_LAUNCHER="$dmenu" ~/.config/dotfiles/sway/dmenu-bluetooth.sh

View file

@ -7,6 +7,6 @@ read -r LS < "$LID_STATE_FILE"
case "$LS" in
*open) swaymsg output "$LAPTOP_OUTPUT" enable ;;
*closed) swaymsg output "$LAPTOP_OUTPUT" disable ;;
*closed) swaylock -i ~/.wallpaper & swaymsg output "$LAPTOP_OUTPUT" disable ;;
*) echo "Could not get lid state" >&2 ; exit 1 ;;
esac