- fixed dpi setting for awesome.

- changed screenshot to slurp.
- added slurp to reqs
- removed dpi setting from autostart
This commit is contained in:
iceyrazor 2025-07-07 18:32:30 -05:00
parent 24c8a05204
commit 215031f5a2
5 changed files with 9 additions and 11 deletions

2
env/.config/awesome/awesome.xinitrc vendored Normal file
View File

@ -0,0 +1,2 @@
xrandr --dpi 120 --output eDP-1 --scale 1.2x1.2
exec awesome

View File

@ -103,9 +103,6 @@ editor_cmd = terminal .. " -e " .. editor
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
-- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod4"
if awesome.hostname == "DangerNoodle" then
--modkey = "Mod3"
end
-- Table of layouts to cover with awful.layout.inc, order matters.

View File

@ -304,6 +304,10 @@ bind = $mainMod SHIFT, i, togglesplit, # dwindle
bind = $mainMod, f, fullscreen, 0
bind = $mainMod SHIFT, m, fullscreen, 1
# screenshot
bind = $mainMod, escape, exec, grim -g "$(slurp -b 00000088 -c cba6f7; sleep 0.5)" - | wl-copy
bind = $mainMod shift, escape, exec, grim -o HDMI-A-1 - | wl-copy
# layout stuffs
bind = $mainMod SHIFT, space, exec, $HOME/.config/hypr/cycle-layout.sh
bind = $mainMod, i, cyclenext

View File

@ -14,11 +14,6 @@ xset s 0
nitrogen --restore &
xrdb -merge /home/iceyrazor/.Xresources &
if [ $extra == 1 ]; then
xrandr --dpi 90 &
xrandr --output Virtual-1 --mode 1920x1080
fi
if [ -z "$WAYLAND_DISPLAY" ]; then
xcompmgr &
setxkbmap -option caps:swapescape

View File

@ -41,8 +41,8 @@ if [ $artix ] || [ $arch ]; then
$sudo pacman -S --noconfirm zsh bat ntfs-3g inetutils doas atuin gvfs-mtp btop htop wezterm rxvt-unicode lf ripgrep rofi-wayland networkmanager
# misc
$sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring yt-dlp grim
paru -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview flameshot-git
$sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring yt-dlp grim slurp libnotify
paru -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview
# fun
$sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam