Initial (and hopefully only) commit

This commit is contained in:
Abdulmujeeb Raji 2023-04-08 11:56:37 +01:00
commit 9000a574c4
12 changed files with 309 additions and 0 deletions

14
.bashrc Normal file
View file

@ -0,0 +1,14 @@
#
# ~/.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]\$ '
QT_QPA_PLATFORMTHEME="qt6ct"
EDITOR=helix

View file

@ -0,0 +1,85 @@
{
"hybrid": {
"namespace": "hybrid-bar",
"r": 40,
"g": 44,
"b": 52,
"a": 0.8,
"features": ["tray_experimental", "hyprland", "systemd"]
},
"left-tray_tray": {},
"left-spacing_traytowin": {
"spacing_start": 0,
"spacing_end": 20
},
"left-label_window": {
"text": "Workspace ",
"command": "%hl_workspace%",
"update_rate": 100
},
"left-spacing_wintopower": {
"spacing_start": 0,
"spacing_end": 20
},
"left-button_powermenu": {
"text": " ",
"command": "wlogout",
"tooltip": "Click for logout menu"
},
"left-label_user": {
"text": "Logged in as ",
"command": "%username%",
"tooltip": "Shell: ",
"tooltip_command": "%shell%"
},
"centered-label_time": {
"text": "",
"command": "date +'%a %D %H:%M:%S'",
"anim_duration": 0,
"tooltip": "Epoch Time: ",
"tooltip_command": "date +%s"
},
"right-button_wifi": {
"text": "󰖩 ",
"command": "kitty --start-as fullscreen nmtui",
"tooltip": "Click to edit WiFi"
},
"right-label_wifiname": {
"text": "",
"command": "nmcli -t -f active,ssid dev wifi | grep -E '^yes' | cut -d\\: -f2",
"tooltip": "Hostname: ",
"tooltip_command": "%hostname%"
},
"right-spacing_wifitomem": {
"spacing_start": 0,
"spacing_end": 20
},
"right-button_mem": {
"text": "󰧑 ",
"command": "kitty --start-as fullscreen bashtop",
"tooltip": "Click for CPU and memory usage"
},
"right-label_usedmem": {
"text": "",
"command": "%used_mem%",
"anim_duration": 0
},
"right-label_totalmem": {
"text": "/",
"command": "%total_mem%"
},
"right-spacing_memtovolume": {
"spacing_start": 0,
"spacing_end": 20
},
"right-button_volumebutton": {
"text": "󰕾 ",
"command": "pavucontrol",
"tooltip": "Click for advanced volume control"
},
"right-label_volumelabel": {
"text": "",
"command": "echo $(pamixer --get-volume-human | sed 's/.*/\\u&/')"
}
}

View file

@ -0,0 +1,18 @@
/* Label Color. Config default is white. */
label {
color: white;
font-family: "DejaVuSansMono Nerd Font", monospace;
}
/* Button Configuration */
button {
font-weight: normal;
border: none;
box-shadow: none;
margin-bottom: -8px;
margin-top: -8px;
padding-right: 0;
padding-left: 0;
background: none;
}

View file

@ -0,0 +1,4 @@
theme = "onedark"
[editor]
line-number = "relative"

142
.config/hypr/hyprland.conf Normal file
View file

@ -0,0 +1,142 @@
monitor=,preferred,auto,auto
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = hybrid-bar & hyprpaper & swayidle -w & mako & udiskie
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Some default env vars.
env = XCURSOR_SIZE,24
# 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
}
sensitivity = 0
}
general {
gaps_in = 5
gaps_out = 20
border_size = 2
col.active_border = rgb(61afef)
col.inactive_border = rgb(282c34)
layout = dwindle
}
decoration {
rounding = 0
blur = yes
blur_size = 3
blur_passes = 1
blur_new_optimizations = on
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}
blurls="hybrid-bar"
windowrule=noanim,^(wlogout)$
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.22, 1, 0.36, 1
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 {
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
}
gestures {
workspace_swipe = on
}
$mainMod = SUPER
bind = $mainMod, Return, exec, kitty
bind = $mainMod, B, exec, librewolf
bind = $mainMod, G, exec, steam
bind = $mainMod, D, exec, webcord-git
bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, Q, killactive,
bind = $mainMod, E, exec, pkill hybrid-bar & hyprctl dispatch exit
bind = $mainMod, V, togglefloating,
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = , Print, exec, grim
bind = SHIFT , Print, exec, grim -g "$(slurp)"
bind = , XF86AudioRaiseVolume, exec, pamixer -i 10
bind = , XF86AudioLowerVolume, exec, pamixer -d 10
bind = , XF86AudioMute, exec, pamixer -t
bind = $mainMod, L, exec, wlogout
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
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
# 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

View file

@ -0,0 +1,3 @@
preload = ~/.local/share/evawallpaper.jpg
wallpaper = ,~/.local/share/evawallpaper.jpg

25
.config/kitty/kitty.conf Normal file
View file

@ -0,0 +1,25 @@
# One Dark by Giuseppe Cesarano, https://github.com/GiuseppeCesarano
# This work is licensed under the terms of the GPL-2.0 license.
# For a copy, see https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
foreground #979eab
background #282c34
cursor #cccccc
color0 #282c34
color1 #e06c75
color2 #98c379
color3 #e5c07b
color4 #61afef
color5 #be5046
color6 #56b6c2
color7 #979eab
color8 #393e48
color9 #d19a66
color10 #56b6c2
color11 #e5c07b
color12 #61afef
color13 #be5046
color14 #56b6c2
color15 #abb2bf
selection_foreground #282c34
selection_background #979eab

2
.config/swayidle/config Normal file
View file

@ -0,0 +1,2 @@
timeout 300 'swaylock -f -c 282c34'
before-sleep 'swaylock -f -c 282c34'

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 KiB

16
install.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
sudo pacman -S rustup
rustup default stable
which paru || (git clone https://aur.archlinux.org/paru.git && cd paru && makepkg -si)
paru -Syu helix kitty qt6ct nwg-look-bin pamixer pavucontrol wlogout bashtop \
xdg-desktop-portal-hyprland-git polkit-kde-agent qt6-wayland ttf-dejavu ttf-dejavu-nerd \
hyprland hybrid-bar wofi hyprpaper grim slurp cliphist udiskie swaylock swayidle libappindicator-gtk3 \
webcord-git-screenshare librewolf-bin steam wine gamescope wl-clipboard fzf zoxide joshuto sxiv
sudo usermod -aG seat $USER
sudo echo $USER >> /etc/shutdown.allow
sudo update-mime-database /usr/share/mime
sudo update-desktop-database
nmtui