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 diff --git a/runs-all/get-reqs-arch.sh b/runs-all/get-reqs-arch.sh index d43e68f..807e645 100755 --- a/runs-all/get-reqs-arch.sh +++ b/runs-all/get-reqs-arch.sh @@ -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