From 43039912d981d69cd9bd4620dde93674a167b9af Mon Sep 17 00:00:00 2001 From: afranco Date: Tue, 16 May 2023 01:45:30 +0100 Subject: [PATCH] chore: just fixing some stuff --- .config/fish/config.fish | 4 --- .config/hypr/hyprland.conf | 58 +++++++++----------------------------- .config/xmonad/xmonad.norg | 3 +- 3 files changed, 16 insertions(+), 49 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ec487e3..2b0a5f0 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -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 diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 6c022cd..04778f3 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -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 diff --git a/.config/xmonad/xmonad.norg b/.config/xmonad/xmonad.norg index 557e9b3..9353e80 100644 --- a/.config/xmonad/xmonad.norg +++ b/.config/xmonad/xmonad.norg @@ -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