-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
84 changed files
with
13,165 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# ~/.bashrc | ||
# | ||
|
||
# If not running interactively, don't do anything | ||
[[ $- != *i* ]] && return | ||
|
||
alias ls='ls --color=auto' | ||
alias grep='grep --color=auto' | ||
PS1='[\u@\h \W]\$ ' | ||
|
||
|
||
# Import colorscheme from 'wal' asynchronously | ||
# & # Run the process in the background. | ||
# ( ) # Hide shell job control messages. | ||
# Not supported in the "fish" shell. | ||
# (cat ~/.cache/wal/sequences &) | ||
|
||
# Alternative (blocks terminal for 0-3ms) | ||
cat ~/.cache/wal/sequences | ||
|
||
# To add support for TTYs this line can be optionally added. | ||
source ~/.cache/wal/colors-tty.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Amber's Dotfiles | ||
# __ __ ___ __ | ||
# /\ \/\ \ /\_ \ /\ \ | ||
# \ \ \_\ \ __ __ _____ _ __ \//\ \ __ ___ \_\ \ | ||
# \ \ _ \ /\ \/\ \ /\ '__`\ /\`'__\ \ \ \ /'__`\ /' _ `\ /'_` \ | ||
# \ \ \ \ \ \ \ \_\ \ \ \ \L\ \\ \ \/ \_\ \_ /\ \L\.\_ /\ \/\ \ /\ \L\ \ | ||
# \ \_\ \_\ \/`____ \ \ \ ,__/ \ \_\ /\____\\ \__/.\_\\ \_\ \_\\ \___,_\ | ||
# \/_/\/_/ `/___/> \ \ \ \/ \/_/ \/____/ \/__/\/_/ \/_/\/_/ \/__,_ / | ||
# /\___/ \ \_\ | ||
# \/__/ \/_/ | ||
|
||
#--------------------------------------------------------------------- | ||
# Environment Variables | ||
# see https://wiki.hyprland.org/Configuring/Environment-variables/ | ||
# From HyprV4 | ||
#--------------------------------------------------------------------- | ||
|
||
# Theming Related Variables | ||
# Set cursor size. See FAQ below for why you might want this variable set. | ||
# https://wiki.hyprland.org/FAQ/ | ||
env = XCURSOR_SIZE,24 | ||
|
||
# Set a GTK theme manually, for those who want to avoid appearance tools such as lxappearance or nwg-look | ||
# env = GTK_THEME,FlatColor | ||
|
||
# Set your cursor theme. The theme needs to be installed and readable by your user. | ||
#env = XCURSOR_THEME, | ||
|
||
# the line below may help with multiple monitors | ||
#env = WLR_EGL_NO_MODIFIERS,1 | ||
|
||
#XDG Specifications | ||
env = XDG_CURRENT_DESKTOP,Hyprland | ||
env = XDG_SESSION_TYPE,wayland | ||
env = XDG_SESSION_DESKTOP,Hyprland | ||
|
||
# Toolkit Backend Variables | ||
|
||
# GTK: Use wayland if available, fall back to x11 if not. | ||
env = GDK_BACKEND,wayland,x11 | ||
|
||
# QT: Use wayland if available, fall back to x11 if not. | ||
#env = QT_QPA_PLATFORM,wayland,xcb | ||
|
||
# Run SDL2 applications on Wayland. Remove or set to x11 if games that | ||
# provide older versions of SDL cause compatibility issues | ||
#env = SDL_VIDEODRIVER,wayland | ||
|
||
# Clutter package already has wayland enabled, this variable | ||
#will force Clutter applications to try and use the Wayland backend | ||
#env = CLUTTER_BACKEND,wayland | ||
|
||
# QT Variables | ||
|
||
# (From the QT documentation) enables automatic scaling, based on the monitor’s pixel density | ||
# https://doc.qt.io/qt-5/highdpi.html | ||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1 | ||
|
||
# Tell QT applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable | ||
env = QT_QPA_PLATFORM,wayland;xcb | ||
|
||
# Disables window decorations on QT applications | ||
#env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 | ||
|
||
#Tells QT based applications to pick your theme from qt5ct, use with Kvantum. | ||
env = QT_QPA_PLATFORMTHEME,qt5ct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Amber's Dotfiles | ||
|
||
# __ __ __ ___ | ||
# /\ \/\ \ __ /\ \ /\_ \ | ||
# \ \ \_\ \ __ __ _____ _ __ /\_\ \_\ \\//\ \ __ | ||
# \ \ _ \/\ \/\ \/\ '__`\/\`'__\/\ \ /'_` \ \ \ \ /'__`\ | ||
# \ \ \ \ \ \ \_\ \ \ \L\ \ \ \/ \ \ \/\ \L\ \ \_\ \_/\ __/ | ||
# \ \_\ \_\/`____ \ \ ,__/\ \_\ \ \_\ \___,_\/\____\ \____\ | ||
# \/_/\/_/`/___/> \ \ \/ \/_/ \/_/\/__,_ /\/____/\/____/ | ||
# /\___/\ \_\ | ||
# \/__/ \/_/ | ||
|
||
#--------------------------------------------------------------------- | ||
# Hypridle Configuration | ||
# Primarily based on example config on the Hyprland wiki with changes | ||
# to accomodate hyprlock | ||
#--------------------------------------------------------------------- | ||
|
||
general { | ||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. | ||
before_sleep_cmd = hyprlock # lock before suspend. | ||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. | ||
} | ||
|
||
listener { | ||
timeout = 150 # 2.5min. | ||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor. | ||
on-resume = brightnessctl -r # monitor backlight restore. | ||
} | ||
|
||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight. | ||
listener { | ||
timeout = 150 # 2.5min. | ||
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight. | ||
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight. | ||
} | ||
|
||
listener { | ||
timeout = 300 # 5min | ||
on-timeout = hyprlock # lock screen when timeout has passed | ||
} | ||
|
||
listener { | ||
timeout = 330 # 5.5min | ||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed | ||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. | ||
} | ||
|
||
listener { | ||
timeout = 1800 # 30min | ||
on-timeout = systemctl suspend # suspend pc | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,225 @@ | ||
# /\ \/\ \ /\_ \ /\ \ | ||
# \ \ \_\ \ __ __ _____ _ __\//\ \ __ ___ \_\ \ | ||
# \ \ _ \/\ \/\ \/\ '__`\/\`'__\\ \ \ /'__`\ /' _ `\ /'_` \ | ||
# \ \ \ \ \ \ \_\ \ \ \L\ \ \ \/ \_\ \_/\ \L\.\_/\ \/\ \/\ \L\ \ | ||
# \ \_\ \_\/`____ \ \ ,__/\ \_\ /\____\ \__/.\_\ \_\ \_\ \___,_\ | ||
# \/_/\/_/`/___/> \ \ \/ \/_/ \/____/\/__/\/_/\/_/\/_/\/__,_ / | ||
# /\___/\ \_\ | ||
# \/__/ \/_/ | ||
|
||
#--------------------------------------------------------------------- | ||
# Hyprland Settings | ||
# Custom from HyprV4 and the Wiki | ||
#--------------------------------------------------------------------- | ||
|
||
# TODO isolate the style-related settings into an external file so they can be swapped around quickly | ||
|
||
# Default monitor settings for now | ||
# See https://wiki.hyprland.org/Configuring/Monitors/ | ||
monitor=,preferred,auto,auto | ||
|
||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more | ||
|
||
# Execute your favorite apps at launch | ||
exec-once = ./xdg-portal-hyprland | ||
exec-once = dbus-update-activation-environment --systemd --all | ||
exec-once = swww init | ||
exec = waybar | ||
exec = pipewire-pulse | ||
exec-once = mako | ||
exec-once = blueman-applet | ||
exec-once = nm-applet --indicator | ||
exec-once = hypridle | ||
exec-once = /usr/lib/polkit-kde-authentication-agent-1 | ||
# For some reason clipboard seems to persist between applications and restarts already | ||
# exec-once = wl-clip-persist --clipboard regular | ||
exec-once = wl-paste --watch cliphist store | ||
|
||
# Source a file (multi-file configs) | ||
source = ~/.config/hypr/env_var.conf | ||
source = ~/.config/hypr/media-binds.conf | ||
|
||
# Set programs that you use | ||
$terminal = kitty | ||
$fileManager = thunar | ||
$menu = wofi --show drun | ||
|
||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ | ||
input { | ||
exec-once = nm-applet --indicator | ||
kb_layout = us | ||
kb_variant = | ||
kb_model = | ||
kb_options = | ||
kb_rules = | ||
|
||
follow_mouse = 1 | ||
|
||
touchpad { | ||
natural_scroll = yes | ||
} | ||
|
||
sensitivity = 0 # -1.0 to 1.0, 0 means no modification. | ||
} | ||
|
||
general { | ||
# See https://wiki.hyprland.org/Configuring/Variables/ for more | ||
|
||
gaps_in = 5 | ||
gaps_out = 10 | ||
border_size = 2 | ||
col.active_border = rgba(5bce22ee) rgba(1aad30ee) 45deg | ||
col.inactive_border = rgba(375848aa) | ||
|
||
resize_on_border = true | ||
|
||
layout = master | ||
|
||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on | ||
allow_tearing = false | ||
} | ||
|
||
xwayland { | ||
force_zero_scaling = true | ||
} | ||
|
||
decoration { | ||
# See https://wiki.hyprland.org/Configuring/Variables/ for more | ||
|
||
rounding = 10 | ||
|
||
blur { | ||
enabled = true | ||
size = 3 | ||
passes = 1 | ||
} | ||
|
||
blurls = lockscreen | ||
|
||
drop_shadow = yes | ||
shadow_range = 4 | ||
shadow_render_power = 3 | ||
col.shadow = rgba(1a1a1aee) | ||
} | ||
|
||
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 = borderangle, 1, 8, default | ||
animation = fade, 1, 7, default | ||
animation = workspaces, 1, 6, default | ||
} | ||
|
||
dwindle { | ||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more | ||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below | ||
preserve_split = yes # you probably want this | ||
} | ||
|
||
master { | ||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more | ||
new_is_master = true | ||
mfact = 0.5 | ||
} | ||
|
||
gestures { | ||
# See https://wiki.hyprland.org/Configuring/Variables/ for more | ||
workspace_swipe = on | ||
} | ||
|
||
misc { | ||
# See https://wiki.hyprland.org/Configuring/Variables/ for more | ||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers | ||
disable_hyprland_logo = true | ||
} | ||
|
||
# Example per-device config | ||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more | ||
device { | ||
name = epic-mouse-v1 | ||
sensitivity = -0.5 | ||
} | ||
|
||
# Example windowrule v1 | ||
# windowrule = float, ^(kitty)$ | ||
# Example windowrule v2 | ||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ | ||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more | ||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. | ||
windowrulev2 = size 80% 60%, floating:(1) | ||
|
||
|
||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more | ||
$mainMod = SUPER | ||
|
||
# Keybindings | ||
# see https://wiki.hyprland.org/Configuring/Binds/ for more | ||
bind = $mainMod, Q, exec, $terminal # Open default terminal emulator | ||
bind = $mainMod, C, killactive, # Close the active window | ||
bind = $mainMod, M, exit, # Kill Hyprland | ||
bind = $mainMod, E, exec, $fileManager # Open default graphical file browser | ||
bind = $mainMod, V, togglefloating, # Allow a window to float | ||
bind = $mainMod, SPACE, exec, $menu # Open the app launcher | ||
bind = $mainMod, P, pseudo, # dwindle | ||
bind = $mainMod, O, togglesplit, # dwindle | ||
bind = $mainMod SHIFT, B, exec, ~/.config/waybar/launch.sh # Script to killall waybar and restart one waybar instance | ||
bind = , Print, exec, grim -g "$(slurp)" - | swappy -f - # Take a screenshot with PrintScreen | ||
bind = ALT, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy && wl-paste # Open clipboard manager | ||
bind = $mainMod, N, exec, wlogout # Launch logout menu | ||
# TODO nChain options - eventually | ||
|
||
# Changed focus movement to Vimlike syntax | ||
bind = $mainMod, H, movefocus, l | ||
bind = $mainMod, L, movefocus, r | ||
bind = $mainMod, K, movefocus, u | ||
bind = $mainMod, J, movefocus, d | ||
|
||
# Added window movement to Vimlike syntax | ||
bind = $mainMod SHIFT, H, movewindow, l | ||
bind = $mainMod SHIFT, L, movewindow, r | ||
bind = $mainMod SHIFT, K, movewindow, u | ||
bind = $mainMod SHIFT, J, movewindow, d | ||
|
||
# Switch workspaces with mainMod + [0-9] | ||
# TODO Workspace 1 as a "home" workspace bound to $mainMod, ` ? | ||
bind = $mainMod, 1, workspace, 1 | ||
bind = $mainMod, 2, workspace, 2 | ||
bind = $mainMod, 3, workspace, 3 | ||
bind = $mainMod, 4, workspace, 4 | ||
bind = $mainMod, 5, workspace, 5 | ||
bind = $mainMod, 6, workspace, 6 | ||
bind = $mainMod, 7, workspace, 7 | ||
bind = $mainMod, 8, workspace, 8 | ||
bind = $mainMod, 9, workspace, 9 | ||
bind = $mainMod, 0, workspace, 10 | ||
|
||
# Move active window to a workspace with mainMod + SHIFT + [0-9] | ||
bind = $mainMod SHIFT, 1, movetoworkspace, 1 | ||
bind = $mainMod SHIFT, 2, movetoworkspace, 2 | ||
bind = $mainMod SHIFT, 3, movetoworkspace, 3 | ||
bind = $mainMod SHIFT, 4, movetoworkspace, 4 | ||
bind = $mainMod SHIFT, 5, movetoworkspace, 5 | ||
bind = $mainMod SHIFT, 6, movetoworkspace, 6 | ||
bind = $mainMod SHIFT, 7, movetoworkspace, 7 | ||
bind = $mainMod SHIFT, 8, movetoworkspace, 8 | ||
bind = $mainMod SHIFT, 9, movetoworkspace, 9 | ||
bind = $mainMod SHIFT, 0, movetoworkspace, 10 | ||
|
||
# Example special workspace (scratchpad) | ||
bind = $mainMod, S, togglespecialworkspace, magic | ||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic | ||
|
||
# Scroll through existing workspaces with mainMod + scroll | ||
bind = $mainMod, mouse_down, workspace, e+1 | ||
bind = $mainMod, mouse_up, workspace, e-1 | ||
|
||
# Move/resize windows with mainMod + LMB/RMB and dragging | ||
bindm = $mainMod, mouse:272, movewindow | ||
bindm = $mainMod, mouse:273, resizewindow |
Oops, something went wrong.