changes changes changes

main
Ayush Mukherjee 2 years ago
parent fbc5aa9718
commit c8dfc67ba7

@ -16,6 +16,18 @@ ect() {
fi
}
off4() {
for x in /sys/devices/system/cpu/cpu[4-7]*/online; do
echo 0 | sudo tee "$x"
done
}
on() {
for x in /sys/devices/system/cpu/cpu[0-7]*/online; do
echo 1 | sudo tee "$x"
done
}
[ -z ${WSLENV+x} ] || export PATH="${PATH:+"$PATH:"}$HOME/bin"
# base16 config
@ -63,4 +75,4 @@ export CHROME_EXECUTABLE=brave
# pnpm
export PNPM_HOME="/home/ayush/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
# pnpm end
# pnpm end

@ -1,6 +1,4 @@
#!/bin/sh
# eDP's dpi
#xrandr --dpi 119 --output eDP-1 --mode 1920x1080 --rate 144
# lang exports
export LANG=en_US.UTF-8
@ -21,6 +19,7 @@ export LC_ALL="en_US.UTF-8"
# wayland fixes
export XDG_SESSION_TYPE=wayland
export MOZ_ENABLE_WAYLAND=1
export MOZ_USE_XINPUT2=1
export GTK_USE_PORTAL=0
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
@ -28,11 +27,17 @@ export QT_QPA_PLATFORM=wayland
export XDG_CURRENT_DESKTOP=Sway
export XDG_SESSION_DESKTOP=Sway
export WLR_NO_HARDWARE_CURSORS=1
export WLR_DRM_DEVICES=/dev/dri/card0
# gnome keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
# start sway
#status=$(sudo cat /sys/class/drm/card1-HDMI-A-2/status)
#if [ "$status" = "connected" ]; then
# sway --unsupported-gpu
#else
# sway
#fi
export WLR_DRM_DEVICES=/dev/dri/card0
sway --unsupported-gpu

@ -38,4 +38,4 @@ eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
# start i3
exec i3
exec prime-run i3

@ -8,22 +8,22 @@
# title=foot
# locked-title=no
font=Roboto Mono for Powerline:size=14
font=Roboto Mono for Powerline:size=10
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font>
# line-height=<font metrics>
#line-height=13.5
# letter-spacing=0
# horizontal-letter-offset=0
# vertical-letter-offset=0
# underline-offset=<font metrics>
underline-offset=2px
# box-drawings-uses-font-glyphs=no
# dpi-aware=auto
dpi-aware=yes
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
# pad=2x2 # optionally append 'center'
pad=10x4 center
# resize-delay-ms=100
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
@ -70,6 +70,14 @@ font=Roboto Mono for Powerline:size=14
# alpha=1.0
foreground=abb2bf
background=282c34
regular0=1e2127
regular1=e06c75
regular2=98c379
regular3=d19a66
regular4=61afef
regular5=c678dd
regular6=56b6c2
regular7=828791
## Normal/regular colors (color palette 0-7)
# regular0=222222 # black

@ -228,7 +228,7 @@ bindsym XF86MonBrightnessDown exec sudo /usr/bin/light -U 10
bindsym $mod+n exec firefox
bindsym $mod+b exec notesnook
bindsym $mod+Shift+b exec "microsoft-edge-beta --enable-features=VaapiVideoDecoder,VaapiVideoEncoder --disable-features=UseChromeOSDirectVideoDecoder"
bindsym $mod+Shift+b exec "prime-run microsoft-edge-beta --enable-features=VaapiVideoDecoder,VaapiVideoEncoder --disable-features=UseChromeOSDirectVideoDecoder"
# Mod + b min
#bindsym $mod+b exec "min --use-gl=desktop --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-features=UseSkiaRenderer,UseChromeOSDirectVideoDecoder --canvas-oop-rasterization"

@ -21,6 +21,7 @@ dark-light = #272A2B
active-light = #313435
[bar/example]
monitor = ${env:MONITOR:}
tray-position = right
width = 100%
height = 25

@ -2,8 +2,13 @@
output eDP-1 {
#mode 1920x1080@60.004Hz
mode 1920x1080@144.003Hz
scale 1.25
adaptive_sync off
scale 1.0
adaptive_sync on
}
output HDMI-A-2 {
mode 2560x1440@144.000Hz
scale 1.0
}
# set mouse
@ -45,7 +50,7 @@ font pango:Roboto Mono for Powerline 10
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec alacritty
bindsym $mod+Return exec foot
# kill focused window
bindsym $mod+Shift+q kill

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Loading…
Cancel
Save