[MINOR] just fixing some stuff

This commit is contained in:
Afonso Franco 2023-05-16 01:45:30 +01:00
parent 23758b67d5
commit ffb98a06d1
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys
3 changed files with 16 additions and 49 deletions

View file

@ -2,10 +2,6 @@ if status is-interactive
# Commands to run in interactive sessions can go here
end
if status --is-login
[ "$(tty)" = "/dev/tty1" ] && exec startx -- -keeptty
end
fish_default_key_bindings
set -gx EDITOR nvim

View file

@ -1,69 +1,43 @@
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
########################################################################################
AUTOGENERATED HYPR CONFIG.
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
########################################################################################
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
monitor = eDP-1,1920x1080@60,0x0,1
workspace = eDP-1,1
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = DP-1,2560x1440@144, 0x0, 1
workspace = DP-1,1
monitor = HDMI-A-1,1920x1080@144,2560x0,1
workspace = HDMI-A-1,2
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 20
gaps_in = 4
gaps_out = 4
border_size = 2
col.active_border = rgba(00ff99ee)
col.inactive_border = rgba(595959aa)
layout = master
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10
blur = yes
blur_size = 3
blur_passes = 1
blur_new_optimizations = on
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
@ -72,16 +46,13 @@ decoration {
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
animation = windows, 1, 1, myBezier
animation = windowsOut, 1, 1, default, popin 80%
animation = border, 1, 1, default
animation = fade, 1, 1, default
animation = workspaces, 1, 1, default
}
dwindle {
@ -127,7 +98,6 @@ $mainMod = SUPER
bind = $mainMod, X, exec, alacritty
bind = $mainMod, Q, killactive
bind = $mainMod, P, exec, rofi -show drun
bind = $mainMod, S, exec, "selected=$(ls ~/scripts/|rofi -dmenu -p \"Run: \") && bash ~/.config/rofi/scripts/$selected"
bind = $mainMod, B, exec, firefox
bind = $mainMod SHIFT, U , exit,
bind = $mainMod , Return, layoutmsg , swapwithmaster

View file

@ -77,7 +77,7 @@ myFocusedBorderColor = "#01F9C6"
myBorderWidth = 2
myWorkspaces = ["main","web","text","code","social","mail"]
myWorkspaces = ["main","web","text","code","social","monitoring"]
myWorkspaceIndices = zip myWorkspaces [1..]
@end
@ -188,6 +188,7 @@ myStartupHook = do
spawn ("killall trayer ;sleep 1 && trayer --monitor 0 --edge top --align right --widthtype request --padding 7 --iconspacing 12 --SetDockType true --SetPartialStrut true --expand true --transparent true --alpha 0 --tint 0x2B2E37 --height 26 --distance 5 &")
spawnOn "web" myWebBrowser
spawnOn "main" myTerminal
spawnOn "monitoring" ("alacritty -e btop")
@end
* XMobar Config
@code haskell