diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2025-07-07 18:32:30 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2025-07-07 18:32:30 -0500 |
| commit | 215031f5a239ebb062a29af401a53e401636679e (patch) | |
| tree | 5bf144534688cae3f556a598c92f0daac2101b61 /env | |
| parent | 24c8a0520476eeb6e1cf6fc7b1142bfc34cb3de6 (diff) | |
- fixed dpi setting for awesome.
- changed screenshot to slurp.
- added slurp to reqs
- removed dpi setting from autostart
Diffstat (limited to 'env')
| -rw-r--r-- | env/.config/awesome/awesome.xinitrc | 2 | ||||
| -rw-r--r-- | env/.config/awesome/rc.lua | 5 | ||||
| -rw-r--r-- | env/.config/hypr/hyprland.conf | 4 | ||||
| -rwxr-xr-x | env/.local/bin/system/start-scripts/autostart.sh | 5 |
4 files changed, 7 insertions, 9 deletions
diff --git a/env/.config/awesome/awesome.xinitrc b/env/.config/awesome/awesome.xinitrc new file mode 100644 index 0000000..a254251 --- /dev/null +++ b/env/.config/awesome/awesome.xinitrc @@ -0,0 +1,2 @@ +xrandr --dpi 120 --output eDP-1 --scale 1.2x1.2 +exec awesome diff --git a/env/.config/awesome/rc.lua b/env/.config/awesome/rc.lua index 3752878..0456fc8 100644 --- a/env/.config/awesome/rc.lua +++ b/env/.config/awesome/rc.lua @@ -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 diff --git a/env/.config/hypr/hyprland.conf b/env/.config/hypr/hyprland.conf index 884247d..73e0b33 100644 --- a/env/.config/hypr/hyprland.conf +++ b/env/.config/hypr/hyprland.conf @@ -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 diff --git a/env/.local/bin/system/start-scripts/autostart.sh b/env/.local/bin/system/start-scripts/autostart.sh index 88cd5af..a3f9db5 100755 --- a/env/.local/bin/system/start-scripts/autostart.sh +++ b/env/.local/bin/system/start-scripts/autostart.sh @@ -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 |
