dotfiles for nitro5

This commit is contained in:
Joel Mathew Thomas
2024-04-07 22:27:16 +05:30
parent 2488b651ee
commit e311dec2a7
30 changed files with 3556 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
/dev/dri/pci-0000:01:00.0-card
+35
View File
@@ -0,0 +1,35 @@
# -----------------------------------------------------
# Autostart
# -----------------------------------------------------
# Start Polkit
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# Load Dunst Notification Manager
exec-once = dunst
# Using hypridle to start hyprlock
exec-once = hypridle
# Load hyprpaper
exec-once = hyprpaper
# Load waybar
exec-once = waybar
# Load network manager applet
# START NM APPLET
exec-once = nm-applet --indicator
# END NM APPLET
# Start gnome-keyring
exec-once = gnome-keyring
# Load cliphist history
exec-once = wl-paste --watch cliphist store
# Set XCURSOR
exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Classic'
#set Hyprcursor
exec-once = hyprctl setcursor Bibata-Modern-Classic 20
+1
View File
@@ -0,0 +1 @@
source = ~/.config/hypr/conf/monitors/nitro5.conf
+6
View File
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "1024x768"
# -----------------------------------------------------
monitor = ,1024x768,auto,1
+6
View File
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "1280x720"
# -----------------------------------------------------
monitor=,1280x720,auto,1
+6
View File
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "1366x768"
# -----------------------------------------------------
monitor=,1366x768,auto,1
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "1440x1080"
# -----------------------------------------------------
monitor=,1440x1080,auto,1
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "1920x1080"
# -----------------------------------------------------
monitor=,1920x1080,auto,1
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "1920x1200"
# -----------------------------------------------------
monitor=,1920x1200,auto,1
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "2560x1440"
# -----------------------------------------------------
monitor=,2560x1440,auto,1
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "2560x1440@120"
# -----------------------------------------------------
monitor=,2560x1440@120,auto,1
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "3440x1440"
# -----------------------------------------------------
monitor=,3440x1440,auto,1
+8
View File
@@ -0,0 +1,8 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Highres"
# -----------------------------------------------------
monitor=,preferred,auto,1
monitor=HDMI-A-1,highres,auto,1
+6
View File
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Default"
# -----------------------------------------------------
monitor=,preferred,auto,1
+6
View File
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Highres"
# -----------------------------------------------------
monitor=,highres,auto,1
+7
View File
@@ -0,0 +1,7 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Default"
# -----------------------------------------------------
#monitor=eDP-1,1920x1080@144,0x0,1
monitor=,highrr,auto,1
+41
View File
@@ -0,0 +1,41 @@
# _ _ _ _
# | |__ _ _ _ __ _ __(_) __| | | ___
# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \
# | | | | |_| | |_) | | | | (_| | | __/
# |_| |_|\__, | .__/|_| |_|\__,_|_|\___|
# |___/|_|
#
general {
ignore_dbus_inhibit = false
}
# Screenlock
listener {
# HYPRLOCK TIMEOUT
timeout = 330
# HYPRLOCK ONTIMEOUT
on-timeout = hyprlock
}
# screen brightness
listener {
timeout = 300 # 5 min.
on-timeout = brightnessctl -s set 10
on-resume = brightnessctl -r
}
# dpms
listener {
# DPMS TIMEOUT
timeout = 360
# DPMS ONTIMEOUT
on-timeout = hyprctl dispatch dpms off
# DPMS ONRESUME
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 900 # 15min
on-timeout = systemctl suspend # suspend pc
}
+245
View File
@@ -0,0 +1,245 @@
# _ _ _ _
# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
# | _ | |_| | |_) | | | | (_| | | | | (_| |
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
# |___/|_|
#
# -----------------------------------------------------
# -----------------------------------------------------
# Monitor
# -----------------------------------------------------
source = ~/.config/hypr/conf/monitor.conf
# -----------------------------------------------------
# Autostart
# -----------------------------------------------------
source = ~/.config/hypr/conf/autostart.conf
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Set programs that you use
$terminal = kitty
$fileManager = nemo
$menu = rofi --show drun
# Some default env vars.
env = XCURSOR_THEME,Bibata-Modern-Classic
env = XCURSOR_SIZE,20
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
env = HYPRCURSOR_SIZE,20
# 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 = yes
disable_while_typing = true
middle_button_emulation = true
}
sensitivity = 0.25 # -1.0 to 1.0, 0 means no modification.
numlock_by_default = true
accel_profile = adaptive
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 2
gaps_out = 5
border_size = 1
col.active_border = rgba(33ccffee)
col.inactive_border = rgba(595959aa)
layout = dwindle
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = true
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 7
blur {
enabled = true
size = 3
passes = 1
xray = 1
new_optimizations = true
noise = 0
popups = true
}
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
bezier = overshot,0.05,0.9,0.1,1.1
bezier = easeinoutcirc,0.85, 0, 0.15, 1
bezier = easeinoutquad,0.11, 0, 0.5, 0
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, 2, 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
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = on
workspace_swipe_fingers = 3
workspace_swipe_distance = 150
}
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
allow_session_lock_restore = 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 = opacity 0.95,class:^(nemo)
layerrule = blur, rofi
layerrule = blur, waybar
layerrule = xray[0], rofi
layerrule = xray[0], waybar
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, B, exec, firefox
bind = $mainMod SHIFT, B, exec, firefox --private-window
bind = ALT, F, exec, protonvpn-cli c -f
bind = ALT, R, exec, protonvpn-cli c -r
bind = ALT, D, exec, protonvpn-cli d
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = ALT, Tab, cyclenext,
bind = ALT, Tab, bringactivetotop,
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod, F, fullscreen, 1
bind = $mainMod SHIFT, F, fullscreen, 0
bind = $mainMod CTRL, F, fakefullscreen
bind = $mainMod, L, exec, hyprlock
bind = CTRL ALT, S , exec, systemctl suspend; hyprlock
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, A, workspace, 1
bind = $mainMod, S, workspace, 2
bind = $mainMod, Z, workspace, 3
bind = $mainMod, X, 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, A, movetoworkspace, 1
bind = $mainMod SHIFT, S, movetoworkspace, 2
bind = $mainMod SHIFT, Z, movetoworkspace, 3
bind = $mainMod SHIFT, X, 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, T, togglespecialworkspace, magic
bind = $mainMod SHIFT, T, 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
# Media Key binds
# Example volume button that allows press and hold, volume limited to 150%
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
# Example volume button that will activate even while an input inhibitor is active
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
# Mute
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# rofi
# Start rofi opens rofi on first press, closes it on second
bindr=SUPER, SUPER_L, exec, pkill rofi || rofi -show drun
bind = SUPER, U, exec, rofi -show filebrowser
# Backlight
# Keyboard backlight
bindel = , XF86MonBrightnessUp, exec, brightnessctl -d intel_backlight set +5%
bindel = , XF86MonBrightnessDown, exec, brightnessctl -d intel_backlight set 5%-
# Fan control
bind = CTRL ALT, L, exec, nbfc set -f 0 1 -s 30
bind = CTRL ALT, M, exec, nbfc set -f 0 1 -s 100
bind = ALT, P, exec, nbfc set -f 0 1 -a
# Debug
#debug{
# overlay = true
#}
+68
View File
@@ -0,0 +1,68 @@
# _ _ _
# | |__ _ _ _ __ _ __| | ___ ___| | __
# | '_ \| | | | '_ \| '__| |/ _ \ / __| |/ /
# | | | | |_| | |_) | | | | (_) | (__| <
# |_| |_|\__, | .__/|_| |_|\___/ \___|_|\_\
# |___/|_|
#
background {
monitor =
path = $HOME/.config/.wallpaper/rdr2.png # only png supported for now
}
input-field {
monitor =
size = 200, 50
outline_thickness = 3
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
outer_color = rgb(151515)
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true
fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
rounding = -1 # -1 means complete rounding (circle/oval)
check_color = rgb(204, 136, 34)
fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
fail_transition = 300 # transition time in ms between normal outer_color and fail_color
capslock_color = -1
numlock_color = -1
bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
invert_numlock = false # change color if numlock is off
swap_font_color = false # see below
position = 0, -20
halign = center
valign = bottom
}
label {
monitor =
text = cmd[update:1000] echo "$TIME"
color = rgba(200, 200, 200, 1.0)
font_size = 55
font_family = Fira Semibold
position = -100, -200
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
label {
monitor =
text = $USER
color = rgba(200, 200, 200, 1.0)
font_size = 20
font_family = Fira Semibold
position = -100, 160
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
+7
View File
@@ -0,0 +1,7 @@
preload = ~/.config/.wallpaper/rdr2.png
wallpaper = ,~/.config/.wallpaper/rdr2.png
splash = true
ipc = off