Add XDG-Utils, fix up some formatting in hyprland conf,
This commit is contained in:
parent
3d7c5eafb7
commit
5381889a9e
3 changed files with 31 additions and 26 deletions
|
@ -7,8 +7,8 @@
|
|||
|
||||
# Laptop specific:
|
||||
monitor=,highrr,auto,1.25
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/
|
||||
# env = XCURSOR_SIZE,24
|
||||
env = GDK_SCALE,2
|
||||
env = XCURSOR_SIZE,48
|
||||
|
||||
|
@ -103,7 +103,6 @@
|
|||
bind = $mainMod, Q, exec, kitty
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod, E, exec, dolphin
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, wofi --show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
|
@ -149,18 +148,21 @@
|
|||
|
||||
#############################################################################
|
||||
# Custom keybinds
|
||||
# Show Rofi on SUPER-S
|
||||
bind = $mainMod, S, exec, rofi -show drun -show-icons
|
||||
# Show Rofi on SUPER-SPACE
|
||||
bind = $mainMod, space, exec, rofi -show drun -show-icons
|
||||
# Take a screenshot with the Print key
|
||||
bind = , Print, exec, grim -g "$(slurp)" | wl-copy -t image/png
|
||||
|
||||
# Move to the previous / next workspace with SUPER-LEFT and SUPER-RIGHT
|
||||
bind = $mainMod , right, workspace, e+1
|
||||
bind = $mainMod , left , workspace, e-1
|
||||
bind = $mainMod SHIFT, right, movetoworkspace, e+1
|
||||
bind = $mainMod SHIFT, left , movetoworkspace, e-1
|
||||
|
||||
# Launch various applications
|
||||
bind = $mainMod, R, exec, ranger
|
||||
bind = $mainMod, S, exec, steam
|
||||
|
||||
# Lock the screen, send to swaylock
|
||||
bind = $mainMod, L, exec, swaylock
|
||||
|
||||
|
@ -236,8 +238,6 @@
|
|||
submap = reset
|
||||
|
||||
# Start the config:
|
||||
# https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=bash ~/.config/hypr/start.sh
|
||||
'';
|
||||
};
|
||||
|
@ -247,12 +247,12 @@
|
|||
executable = true;
|
||||
text = ''
|
||||
#!/usr/bin/env bash
|
||||
# https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
|
||||
|
||||
swww init &
|
||||
# Sets a random wallpaper
|
||||
WALLPAPER_DIR=/etc/nixos/git/wallpapers/gruvbox
|
||||
swww img $WALLPAPER_DIR/wallpaper$((1 + $RANDOM % $(ls $WALLPAPER_DIR | wc -l))).jpg &
|
||||
# nm-applet --indicator &
|
||||
swww img $WALLPAPER_DIR/wallpaper11.jpg &
|
||||
waybar &
|
||||
|
||||
# Set up the idle management daemon
|
||||
|
@ -261,6 +261,7 @@
|
|||
timeout 600 'hyprctl dispatch dpms off' \
|
||||
resume 'hyprctl dispatch dpms on' \
|
||||
before-sleep 'swaylock -f'
|
||||
|
||||
mako
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -74,7 +74,10 @@
|
|||
greetd.tuigreet # Greeter
|
||||
swayidle # Idle management daemon - Automatic lock screen
|
||||
swayosd # used for on-screen notifications for things like adjusting backlight, volume, etc
|
||||
sway # for swaymsg
|
||||
nwg-bar
|
||||
wlogout
|
||||
ranger # TUI file manager
|
||||
xdg-utils # Utilities for better X/Wayland integration
|
||||
];
|
||||
|
||||
# Enable sound with pipewire.
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
rsync
|
||||
git
|
||||
duf
|
||||
ncdu
|
||||
du-dust
|
||||
home-manager
|
||||
btop
|
||||
|
|
Loading…
Reference in a new issue