This commit is contained in:
The-Repo-Club 2023-08-28 11:52:40 +01:00
parent 43b1f6ea9c
commit a374868ee5
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
33 changed files with 525 additions and 7 deletions

View File

@ -156,7 +156,7 @@ font:
style: Bold Italic
# Point size
size: 7.0
size: 10.0
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter

Binary file not shown.

View File

@ -1,10 +1,12 @@
#-*-coding:utf-8 -*-
xset b off
setxkbmap -layout gb
setxkbmap -option caps:super
if [ "$XDG_SESSION_TYPE" = x11 ]
setxkbmap -layout gb
setxkbmap -option caps:super
end
set -gx LC_ALL "en_GB.UTF-8"
set -gx ANDROID_HOME "/home/repo/Android/Sdk"
set -gx ANDROID_HOME /home/repo/Android/Sdk
set -gx PAGER more
set -gx AUR_PAGER more
set -gx EDITOR vim

View File

@ -1,2 +1,2 @@
LastUsed=1693082250
LastUsed=1693220316
Message='Fully Updated'

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -0,0 +1,18 @@
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.05
bezier = smoothOut, 0.36, 0, 0.66, -0.56
bezier = smoothIn, 0.25, 1, 0.5, 1
animation = windows, 1, 5, overshot, slide
animation = windowsOut, 1, 7, smoothOut, slide
animation = border, 1, 10, default
animation = windowsMove, 1, 4, default
animation = borderangle, 1, 8, default
animation = fade, 1, 10, smoothIn
animation = workspaces, 1, 6, overshot, slide
}

View File

@ -0,0 +1,8 @@
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
exec-once = gnome-keyring-daemon --start --components=ssh,secrets,pkcs11
# Execute your favorite apps at launch
exec-once = hyprpaper
exec-once = waybar

View File

@ -0,0 +1,17 @@
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 5
blur {
enabled = true
size = 13
passes = 3
new_optimizations = on
}
drop_shadow = yes
shadow_range = 5
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}

View File

@ -0,0 +1,16 @@
blurls=waybar
# Some default Environment variable.
env = XDG_SESSION_TYPE, wayland
env = XDG_CURRENT_DESKTOP, Hyprland
env = XDG_SESSION_DESKTOP, Hyprkand
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
# env = QT_QPA_PLATFORM,"wayland;xcb"
env = GNOME_KEYRING_CONTROL,"/run/user/1000/keyring"
env = SSH_AUTH_SOCK,"/run/user/1000/keyring/ssh"
env = _JAVA_AWT_WM_NONREPARENTING,1
env = XCURSOR_SIZE,24
#env = LIBVA_DRIVER_NAME,nvidia
#env = GBM_BACKEND,nvidia-drm
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#env = WLR_NO_HARDWARE_CURSORS,1

View File

@ -0,0 +1,11 @@
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
}

View File

@ -0,0 +1,4 @@
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = off
}

View File

@ -0,0 +1,17 @@
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = gb
kb_variant =
kb_model =
kb_options = caps:escape
kb_rules =
numlock_by_default = true
follow_mouse = 1
touchpad {
disable_while_typing = true
natural_scroll = false
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

View File

@ -0,0 +1,9 @@
source = ~/.config/hypr/extends/keybinds/keywords.conf
source = ~/.config/hypr/extends/keybinds/defaults.conf
source = ~/.config/hypr/extends/keybinds/programs.conf
source = ~/.config/hypr/extends/keybinds/switch_layouts.conf
source = ~/.config/hypr/extends/keybinds/move_focus.conf
source = ~/.config/hypr/extends/keybinds/workspace_switch.conf
source = ~/.config/hypr/extends/keybinds/mouse.conf
source = ~/.config/hypr/extends/keybinds/functions.conf
source = ~/.config/hypr/extends/keybinds/resize_mode.conf

View File

@ -0,0 +1 @@
bind = $MOD, Q, killactive,

View File

@ -0,0 +1,8 @@
# Volume keys are usable here
binde =, XF86AudioRaiseVolume, exec, amixer set Master 5%+ unmute
binde =, XF86AudioLowerVolume, exec, amixer set Master 5%- unmute
binde =, XF86AudioMute, exec, amixer set Master toggle
# Brightness key are usable here
binde =, XF86MonBrightnessUp, exec, brightnessctl set 5%+
binde =, XF86MonBrightnessDown, exec, brightnessctl set 5%-

View File

@ -0,0 +1,2 @@
# Binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
$MOD = SUPER

View File

@ -0,0 +1,3 @@
# Move/resize windows with MOD + LMB/RMB and dragging
bindm = $MOD, mouse:272, movewindow
bindm = $MOD, mouse:273, resizewindow

View File

@ -0,0 +1,5 @@
# Move focus with MOD + arrow keys
bind = $MOD, left, movefocus, l
bind = $MOD, right, movefocus, r
bind = $MOD, up, movefocus, u
bind = $MOD, down, movefocus, d

View File

@ -0,0 +1,10 @@
# Programs keybinds
bind = $MOD, Return, exec, kitty
bind = $MOD SHIFT, Return, exec, nemo
bind = $MOD, F, exec, firefox
bind = $MOD, E, exec, code
# Open menus
bind = $MOD, M, exec, menu
bind = $MOD, P, exec, passmenu
bind = $MOD SHIFT, E, exec, powermenu_run

View File

@ -0,0 +1,19 @@
# will switch to a submap called resize
bind =ALT,R,submap,resize
# will start a submap called "resize"
submap =resize
# sets repeatable binds for resizing the active window
binde =, right,resizeactive,10 0
binde =, left,resizeactive,-10 0
binde =, up,resizeactive,0 -10
binde =, down,resizeactive,0 10
# use reset to go back to the global submap
bind =, escape,submap,reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset
# keybinds further down will be global again...

View File

@ -0,0 +1,4 @@
# Switch to a different layout
bind = $MOD SHIFT, F, togglefloating,
bind = $MOD SHIFT, P, pseudo, # dwindle
bind = $MOD SHIFT, J, togglesplit, # dwindle

View File

@ -0,0 +1,27 @@
# Switch workspaces with MOD + [0-9]
bind = $MOD, 1, workspace, 1
bind = $MOD, 2, workspace, 2
bind = $MOD, 3, workspace, 3
bind = $MOD, 4, workspace, 4
bind = $MOD, 5, workspace, 5
bind = $MOD, 6, workspace, 6
bind = $MOD, 7, workspace, 7
bind = $MOD, 8, workspace, 8
bind = $MOD, 9, workspace, 9
bind = $MOD, 0, workspace, 10
# Move active window to a workspace with MOD + SHIFT + [0-9]
bind = $MOD SHIFT, 1, movetoworkspace, 1
bind = $MOD SHIFT, 2, movetoworkspace, 2
bind = $MOD SHIFT, 3, movetoworkspace, 3
bind = $MOD SHIFT, 4, movetoworkspace, 4
bind = $MOD SHIFT, 5, movetoworkspace, 5
bind = $MOD SHIFT, 6, movetoworkspace, 6
bind = $MOD SHIFT, 7, movetoworkspace, 7
bind = $MOD SHIFT, 8, movetoworkspace, 8
bind = $MOD SHIFT, 9, movetoworkspace, 9
bind = $MOD SHIFT, 0, movetoworkspace, 10
# Scroll through existing workspaces with MOD + scroll
bind = $MOD, mouse_down, workspace, e+1
bind = $MOD, mouse_up, workspace, e-1

View File

@ -0,0 +1,10 @@
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
}

View File

@ -0,0 +1,2 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,1920x1080@144,0x0,1

View File

@ -0,0 +1 @@
plugin {}

View File

@ -0,0 +1,26 @@
# 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
# Set workspaces here
windowrule = workspace 1,^(kitty)$
windowrule = workspace 1,^(Alacritty)$
windowrule = float,Rofi
windowrule = float,pavucontrol
windowrule = size 800 500,title:^(float_alacritty)$
windowrule = float,title:^(float_alacritty)$
windowrule = tile,title:^(alacritty)$
windowrule = tile,title:^(.*)(Vivaldi)(.*)$
windowrule = animation popin,Rofi
windowrulev2 = float,class:^(microsoft-edge)$,title:^(Save File)$
windowrulev2 = float,class:^(microsoft-edge)$,title:^(Open File)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(xdg-desktop-portal-gtk$)

View File

@ -0,0 +1,12 @@
source = ~/.config/hypr/extends/monitors.conf
source = ~/.config/hypr/extends/autostart.conf
source = ~/.config/hypr/extends/environment_variables.conf
source = ~/.config/hypr/extends/input.conf
source = ~/.config/hypr/extends/general.conf
source = ~/.config/hypr/extends/decoration.conf
source = ~/.config/hypr/extends/animations.conf
source = ~/.config/hypr/extends/layouts.conf
source = ~/.config/hypr/extends/gestures.conf
source = ~/.config/hypr/extends/rules.conf
source = ~/.config/hypr/extends/keybinds.conf
source = ~/.config/hypr/extends/plugins.conf

View File

@ -0,0 +1,2 @@
preload = ~/.config/hypr/backgrounds/base.png
wallpaper = ,~/.config/hypr/backgrounds/base.png

Binary file not shown.

Binary file not shown.

136
hypr/.config/waybar/config Normal file
View File

@ -0,0 +1,136 @@
{
"layer": "top",
"position": "top",
"mod": "dock",
"exclusive": true,
"passtrough": false,
"gtk-layer-shell": true,
"height": 0,
"modules-left": ["wlr/workspaces", "hyprland/window"],
"modules-center": ["cpu", "memory", "temperature", "disk"],
"modules-right": ["hyprland/language", "backlight", "pulseaudio", "battery", "clock#time", "clock#date", "tray"],
"wlr/workspaces": {
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"all-outputs": true,
"on-click": "activate",
"format": "{icon}",
"format-icons": {
"1": "一",
"2": "二",
"3": "三",
"4": "四",
"5": "五",
"6": "六",
"7": "七",
"8": "八",
"9": "九",
"10": "零"
},
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
}
},
"tray": {
"icon-size": 12,
"tooltip": false,
"spacing": 10
},
"clock#time": {
"format": "{:%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
},
"clock#date": {
"format": "{:%a %b %d}",
"tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": ["󰃞", "󰃟", "󰃠"],
"on-scroll-up": "brightnessctl set 2%+",
"on-scroll-down": "brightnessctl set 2%-",
"min-length": 6
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": " Muted",
"tooltip": false,
"on-click": "pavucontrol &",
"scroll-step": 5,
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
}
},
"battery": {
"interval": 5,
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
"format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
},
"cpu": {
"interval": 10,
"format": " {usage}%",
"max-length": 10,
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"disk": {
"interval": 30,
"format": "󰋊 {percentage_used}%",
"path": "/",
"tooltip": true,
"tooltip-format": "HDD - {used} used out of {total} on {path} ({percentage_used}%)",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"memory": {
"interval": 30,
"format": "󰍛 {}%",
"max-length": 10,
"tooltip": true,
"tooltip-format": "Memory - {used:0.1f}GB used",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"temperature": {
"thermal-zone": 1,
"format": " {temperatureC}°C",
"critical-threshold": 70,
"format-critical": " {temperatureF}°F",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
}
}

View File

@ -0,0 +1,148 @@
* {
border: none;
border-radius: 0;
font-family: "Hack Nerd Font";
font-weight: bold;
font-size: 14px;
min-height: 0;
}
window#waybar {
background: #283036;
color: #e5e9f0;
}
tooltip {
background: #283036;
border-radius: 0px;
}
#workspaces button {
background: #ff9c59;
color: #283036;
padding: 5px;
}
#workspaces button.active {
background: #59ff59;
color: #283036;
}
#workspaces button.focused {
color: #283036;
background: #283036;
border-radius: 10px;
}
#workspaces button.urgent {
color: #283036;
background: #ff5959;
border-radius: 10px;
}
#workspaces button:hover {
background: #e5e9f0;
color: #283036;
}
#custom-language,
#custom-updates,
#custom-caffeine,
#custom-weather,
#cpu,
#disk,
#memory,
#window,
#clock,
#battery,
#pulseaudio,
#network,
#workspaces,
#temperature,
#tray,
#language,
#backlight {
background: #ffff59;
color: #283036;
padding: 0px 5px;
margin: 0px;
}
#tray {
margin-right: 0px;
}
#workspaces {
background: #ff9c59;
color: #283036;
margin-left: 0px;
padding-right: 0px;
padding-left: 0px;
}
#custom-caffeine {
color: #283036;
border-right: 0px;
margin-left: 10px;
}
#custom-language {
color: #283036;
border-left: 0px;
border-right: 0px;
}
#custom-updates {
color: #283036;
border-left: 0px;
border-right: 0px;
}
#window,
#disk {
color: #283036;
border-radius: 0px 10px 10px 0px;
padding-right: 10px;
}
#clock {
color: #283036;
margin-left: 0px;
border-right: 0px;
}
#network {
color: #283036;
border-left: 0px;
border-right: 0px;
}
#pulseaudio {
color: #283036;
border-left: 0px;
border-right: 0px;
}
#pulseaudio.microphone {
color: #283036;
margin-right: 5px;
}
#battery {
color: #283036;
margin-right: 0px;
border-left: 0px;
}
#custom-weather {
color: #283036;
border-right: 0px;
margin-left: 0px;
}
#language,
#cpu {
color: #283036;
border-radius: 10px 0px 0px 10px;
padding-left: 10px;
}

View File

@ -49,8 +49,8 @@ local function save_profiles(threshold)
end
time([[Luarocks path setup]], true)
local package_path_str = "/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/repo/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
local package_path_str = "/home/repo/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?/init.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?.lua;/home/repo/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/repo/.cache/nvim/packer_hererocks/2.1.1692616192/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str
end