- fixed dpi setting for awesome.
- changed screenshot to slurp. - added slurp to reqs - removed dpi setting from autostart
This commit is contained in:
2
env/.config/awesome/awesome.xinitrc
vendored
Normal file
2
env/.config/awesome/awesome.xinitrc
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
xrandr --dpi 120 --output eDP-1 --scale 1.2x1.2
|
||||
exec awesome
|
||||
5
env/.config/awesome/rc.lua
vendored
5
env/.config/awesome/rc.lua
vendored
@@ -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
|
||||
|
||||
4
env/.config/hypr/hyprland.conf
vendored
4
env/.config/hypr/hyprland.conf
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user