Skip to content
Open

Arch #10

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .config/.lessfilter
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ elif [ "$kind" = vnd.openxmlformats-officedocument.spreadsheetml.sheet ] || \
[ "$kind" = vnd.ms-excel ]; then
in2csv "$1" | xsv table | batcat -ltsv --color=always
elif [ "$category" = text ]; then
batcat --color=always "$1"
bat --color=always "$1"
else
batcat --color=always "$1"
bat --color=always "$1"
fi
# lesspipe.sh don't use eza, batcat and chafa, it use ls and exiftool. so we create a lessfilter.
# lesspipe "$1" | batcat --color=always
10 changes: 10 additions & 0 deletions .config/chromium-flags.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,WaylandWpColorManagerV1
--enable-features=Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,VaapiIgnoreDriverChecks,VaapiVideoDecoder,UseMultiPlaneFormatForHardwareVideo,AcceleratedVideoEncoder,UseOzonePlatform,WebRTCPipeWireCapturer
--ignore-gpu-blocklist
--enable-gpu-rasterization
--enable-zero-copy
--use-gl=angle
--use-angle=vulkan
--enable-accelerated-video-decode
--enable-gpu-compositing
--ozone-platform=wayland
27 changes: 27 additions & 0 deletions .config/fontconfig/fonts.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="rgba" mode="assign">
<const>none</const>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcdnone</const>
</edit>
<edit name="dpi" mode="assign">
<double>102</double>
</edit>
</match>
</fontconfig>
27 changes: 27 additions & 0 deletions .config/fontconfig/fonts.conf.back
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
<edit name="rgba" mode="assign">
<const>none</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcdnone</const>
</edit>
<edit name="dpi" mode="assign">
<double>102</double>
</edit>
</match>
</fontconfig>
17 changes: 17 additions & 0 deletions .config/gtk-3.0/settings.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[Settings]
gtk-theme-name=catppuccin-mocha-mauve-standard+default
gtk-icon-theme-name=Adwaita
gtk-font-name=NotoSans Nerd Font Propo Medium 11
gtk-cursor-theme-name=Bibata-Modern-Classic
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=0
gtk-xft-hintstyle=hintnone
gtk-xft-rgba=rgb
gtk-application-prefer-dark-theme=1
1 change: 1 addition & 0 deletions .config/gtk-4.0/assets
1 change: 1 addition & 0 deletions .config/gtk-4.0/gtk-dark.css
1 change: 1 addition & 0 deletions .config/gtk-4.0/gtk.css
7 changes: 7 additions & 0 deletions .config/gtk-4.0/settings.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Settings]
gtk-theme-name=catppuccin-mocha-mauve-standard+default
gtk-icon-theme-name=Adwaita
gtk-font-name=NotoSans Nerd Font Propo Medium 11
gtk-cursor-theme-name=Bibata-Modern-Classic
gtk-cursor-theme-size=24
gtk-application-prefer-dark-theme=1
35 changes: 35 additions & 0 deletions .config/hypr/conf/animations.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
animations {
enabled = true
# Animation curves

bezier = linear, 0, 0, 1, 1
bezier = md3_standard, 0.2, 0, 0, 1
bezier = md3_decel, 0.05, 0.7, 0.1, 1
bezier = md3_accel, 0.3, 0, 0.8, 0.15
bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
bezier = menu_decel, 0.1, 1, 0, 1
bezier = menu_accel, 0.38, 0.04, 1, 0.07
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
bezier = easeOutCirc, 0, 0.55, 0.45, 1
bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
# Animation configs
animation = windows, 1, 3, md3_decel, popin 60%
animation = windowsIn, 1, 3, md3_decel, popin 60%
animation = windowsOut, 1, 3, md3_accel, popin 60%
animation = border, 1, 10, default
animation = fade, 1, 3, md3_decel
# animation = layers, 1, 2, md3_decel, slide
animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 2, menu_decel
animation = fadeLayersOut, 1, 4.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide
# animation = workspaces, 1, 2.5, softAcDecel, slide
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
animation = specialWorkspace, 1, 3, md3_decel, slidevert
}
12 changes: 12 additions & 0 deletions .config/hypr/conf/autostart.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Execute your favorite apps at launch
exec-once = waybar
exec-once = wpaperd -d
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
exec-once = swaync
exec-once = /home/val/.config/hypr/conf/scripts/checklid.sh
exec-once = hyprctl setcursor Bibata-Modern-Classic 24
exec-once = elecwhat
exec-once = telegram-desktop
exec-once = /opt/outlook-for-linux/outlook-for-linux
exec-once = hyprpm reload
86 changes: 86 additions & 0 deletions .config/hypr/conf/binds.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more

# SUPER key
$mainMod = SUPER

# Actions
bind = $mainMod, T, exec, wezterm start --always-new-process # Open Alactritty
bind = $mainMod, Q, killactive # Close current window
bind = $mainMod, M, layoutmsg, movetoroot active unstable# Exit Hyprland
bind = $mainMod, N, exec, wpaperctl next
bind = $mainMod, E, exec, ~/.config/ml4w/settings/filemanager.sh # Opens the filemanager
bind = $mainMod, W, togglefloating # Toggle between tiling and floating window
bind = $mainMod, V, exec, cliphist list | rofi -dmenu -display-columns 2 -theme ~/.config/rofi/dmenu/catppuccin-default.rasi | cliphist decode | wl-copy
bind = $mainMod, F, fullscreen # Open the window in fullscreen
bind = $mainMod, ESCAPE, exec, hyprlock
# bind = $mainMod, TAB, overview:toggle
bind = $mainMod CTRL, RETURN, exec, ~/.config/rofi/launchers/type-3/launcher.sh # Open rofi
bind = $mainMod, P, exec, hyprshot -z -m region # dwindle
bind = $mainMod SHIFT, P, exec, hyprshot -z -m window # dwindle
bind = $mainMod CTRL, P, exec, hyprshot -m output -m DP-10 # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, B, exec, ~/.config/ml4w/settings/browser.sh # Opens the browser
bind = $mainMod SHIFT, B, exec, ~/.config/ml4w/scripts/reload-waybar.sh # Reload Waybar
bind = $mainMod SHIFT, W, exec, ~/.config/ml4w/scripts/reload-hyprpaper.sh # Reload hyprpaper after a changing the wallpaper
bind = $mainMod, S, togglespecialworkspace
bind = $mainMod SHIFT, S, togglespecialworkspace, junk
bind = $mainMod, H, movetoworkspacesilent, special
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+
bind = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-
bind = , XF86MonBrightnessUp, exec, brightnessctl set 10%+
bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bind = , XF86WLAN, exec, nmcli radio wifi toggle
bind = , XF86Refresh, exec, xdotool key F5

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l # Move focus left
bind = $mainMod, right, movefocus, r # Move focus right
bind = $mainMod, up, movefocus, u # Move focus up
bind = $mainMod, down, movefocus, d # Move focus down

bind = $mainMod CTRL, left, movewindow, l # Move window left
bind = $mainMod CTRL, right, movewindow, r # Move window right
bind = $mainMod CTRL, up, movewindow, u # Move window up
bind = $mainMod CTRL, down, movewindow, d # Move window down


# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1 # Switch to workspace 1
bind = $mainMod, 2, workspace, 2 # Switch to workspace 2
bind = $mainMod, 3, workspace, 3 # Switch to workspace 3
bind = $mainMod, 4, workspace, 4 # Switch to workspace 4
bind = $mainMod, 5, workspace, 5 # Switch to workspace 5
bind = $mainMod, 6, workspace, 6 # Switch to workspace 6
bind = $mainMod, 7, workspace, 7 # Switch to workspace 7
bind = $mainMod, 8, workspace, 8 # Switch to workspace 8
bind = $mainMod, 9, workspace, 9 # Switch to workspace 9
bind = $mainMod, 0, workspace, 10 # Switch to workspace 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1 # Move window to workspace 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 # Move window to workspace 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 # Move window to workspace 3
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 # Move window to workspace 4
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 # Move window to workspace 5
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 # Move window to workspace 6
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 # Move window to workspace 7
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 # Move window to workspace 8
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 # Move window to workspace 9
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 # Move window to workspace 10

# Scroll through existing workspaces with mainMod + scroll
#bind = $mainMod, mouse_down, workspace, e+1 # Scroll workspaces
#bind = $mainMod, mouse_up, workspace, e-1 # Scroll workspaces
bind = $mainMod, mouse_up, exec, hyprctl keyword cursor:zoom_factor $(awk "BEGIN {current = $(hyprctl getoption cursor:zoom_factor | grep 'float:' | awk '{print $2}') - 0.5; print (current < 1.0) ? 1.0 : current}")
#bind = $mainMod, mouse_up, exec, hyprctl keyword cursor:zoom_factor $(awk "BEGIN {print $(hyprctl getoption cursor:zoom_factor | grep 'float:' | awk '{print $2}') - 0.5}")
bind = $mainMod, mouse_down, exec, hyprctl keyword cursor:zoom_factor $(awk "BEGIN {print $(hyprctl getoption cursor:zoom_factor | grep 'float:' | awk '{print $2}') + 0.5}")

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow # Move window
bindm = $mainMod, mouse:273, resizewindow # Resize window

bindl=,switch:on:Lid Switch, exec, hyprctl dispatch exec /home/val/.config/hypr/conf/scripts/checklid.sh
bindl=,switch:off:Lid Switch, exec, hyprctl dispatch exec /home/val/.config/hypr/conf/scripts/checklid.sh

5 changes: 5 additions & 0 deletions .config/hypr/conf/cursor.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
env = XCURSOR_THEME,Bibata-Modern-Classic
env = XCURSOR_SIZE,24
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
env = HYPRCURSOR_SIZE,24

15 changes: 15 additions & 0 deletions .config/hypr/conf/decoration.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# See https://wiki.hyprland.org/Configuring/Variables/ for more
decoration {
rounding = 10
blur {
enabled = true
size = 3
passes = 1
}
shadow {
enabled = true
range = 4
render_power = 3
color = rgba(1a1a1aee)
}
}
42 changes: 42 additions & 0 deletions .config/hypr/conf/environments.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# XDG Desktop Portal
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = LANG,en_US.UTF-8
env = LC_ALL,en_US.UTF-8

# QT
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1

env = VDPAU_DRIVER,radeonsi

env = PATH,/home/val/.local/bin:$PATH

# GTK
env = GDK_SCALE,1

# Mozilla
env = MOZ_ENABLE_WAYLAND,1

# Set the cursor size for xcursor
env = XCURSOR_SIZE,24

# Disable appimage launcher by default
env = APPIMAGELAUNCHER_DISABLE,1

# OZONE
env = OZONE_PLATFORM,wayland

# For KVM virtual machines
# env = WLR_NO_HARDWARE_CURSORS, 1
# env = WLR_RENDERER_ALLOW_SOFTWARE, 1

# NVIDIA https://wiki.hyprland.org/Nvidia/
# env = LIBVA_DRIVER_NAME,nvidia
# env = GBM_BACKEND,nvidia-drm
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = __GL_VRR_ALLOWED,1
# env = WLR_DRM_NO_ATOMIC,1
11 changes: 11 additions & 0 deletions .config/hypr/conf/general.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# See https://wiki.hyprland.org/Configuring/Variables/ for more
general {
gaps_in = 3
gaps_out = 10
border_size = 2
col.active_border = rgb(74c7ec) rgb(cba6f7) 45deg
# col.active_border = 0xF5C2E7 0xCBA6F7 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
resize_on_border = true
}
4 changes: 4 additions & 0 deletions .config/hypr/conf/gestures.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gestures {
workspace_swipe = true
}
18 changes: 18 additions & 0 deletions .config/hypr/conf/input.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us,il
kb_variant =
kb_model =
kb_options = grp:alt_shift_toggle
kb_rules =

follow_mouse = 1

touchpad {
natural_scroll = false
}
repeat_rate = 50
repeat_delay = 300

sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
10 changes: 10 additions & 0 deletions .config/hypr/conf/layouts.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # you probably want this
}

master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
# new_status = master
}
15 changes: 15 additions & 0 deletions .config/hypr/conf/misc.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# See https://wiki.hyprland.org/Configuring/Variables/ for more
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
}

# plugin {
# overview {
# drawActiveWorkspace = false
# }
# }

render {
expand_undersized_textures = false
}
5 changes: 5 additions & 0 deletions .config/hypr/conf/monitor.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1, 1920x1200@60, 1440x0, 1
monitor=DP-10, 2560x1440@60, -2560x-240, 1
monitor=DP-9, 2560x1440@60, 0x-1360, 1, transform, 1

Loading