- fixed dpi setting for awesome.

- changed screenshot to slurp.
- added slurp to reqs
- removed dpi setting from autostart
This commit is contained in:
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.
@@ -322,7 +319,7 @@ awful.screen.connect_for_each_screen(function(screen)
screen.mylayoutbox,
},
}
end
end
-- Add widgets to the wibox

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