Browse Source

Merge pull request #205 from JaKooLit/development

Development to Main before
pull/206/head^2 v2.2.7
Ja.KooLit 2 years ago committed by GitHub
parent
commit
cd114b9991
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      config/hypr/UserConfigs/Startup_Apps.conf
  2. 2
      config/hypr/UserScripts/QuickEdit.sh
  3. 2
      config/hypr/UserScripts/WallpaperRandom.sh
  4. 2
      config/hypr/UserScripts/WallpaperSelect.sh
  5. 1
      config/hypr/configs/Keybinds.conf
  6. 4
      config/hypr/scripts/KeyHints.sh
  7. 10
      config/hypr/scripts/RofiSearch.sh
  8. 2
      config/hypr/scripts/TouchPad.sh
  9. 246
      config/rofi/config-search.rasi
  10. 258
      config/waybar/style/Mauve.css

4
config/hypr/UserConfigs/Startup_Apps.conf

@ -9,7 +9,7 @@ $lock = $scriptsDir/LockScreen.sh
$SwwwRandom = $UserScripts/WallpaperAutoChange.sh
# wallpaper stuff / More wallpaper options below
exec-once = swww query || swww init
exec-once = swww query || swww-daemon --format xrgb
exec-once = $SwwwRandom $wallDIR # random wallpaper switcher every 30 minutes
# Startup
@ -42,7 +42,7 @@ exec-once = swayidle -w timeout 900 '$lock'
#exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
# Here are list of features available but disabled by default
#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper
#exec-once = swww query || swww swww-daemon --format xrgb && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper
#gnome polkit for nixos
#exec-once = $scriptsDir/Polkit-NixOS.sh

2
config/hypr/UserScripts/QuickEdit.sh

@ -17,7 +17,7 @@ menu(){
}
main() {
choice=$(menu | rofi -dmenu -config ~/.config/rofi/config-compact.rasi | cut -d. -f1)
choice=$(menu | rofi -i -dmenu -config ~/.config/rofi/config-compact.rasi | cut -d. -f1)
case $choice in
1)
kitty -e nano "$UserConfigs/ENVariables.conf"

2
config/hypr/UserScripts/WallpaperRandom.sh

@ -17,7 +17,7 @@ BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION --transition-bezier $BEZIER"
swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS
swww query || swww swww-daemon --format xrgb && swww img ${RANDOMPICS} $SWWW_PARAMS
${scriptsDir}/PywalSwww.sh

2
config/hypr/UserScripts/WallpaperSelect.sh

@ -40,7 +40,7 @@ menu() {
printf "$RANDOM_PIC_NAME\n"
}
swww query || swww init
swww query || swww-daemon --format xrgb
main() {
choice=$(menu | ${rofi_command})

1
config/hypr/configs/Keybinds.conf

@ -23,6 +23,7 @@ bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh
bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file
bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi
bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji
bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search from Rofi
bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings
bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF
bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout

4
config/hypr/scripts/KeyHints.sh

@ -41,6 +41,7 @@ yad --width=$dynamic_width --height=$dynamic_height \
" enter" "Terminal" "(kitty)" \
" or D" "App Launcher" "(rofi)" \
" T" "Open File Manager" "(Thunar)" \
" S" "Google Search" "(rofi)" \
" Q" "close active window" "(not kill)" \
" Shift Q " "closes a specified window" "(window)" \
" Alt V" "Clipboard Manager" "(cliphist)" \
@ -68,6 +69,3 @@ yad --width=$dynamic_width --height=$dynamic_height \
" E" "View or EDIT Keybinds, Settings, Monitor" "" \
"" "" "" \
"More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""\

10
config/hypr/scripts/RofiSearch.sh

@ -0,0 +1,10 @@
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Modified Script for Google Search
# Original Submitted by https://github.com/LeventKaanOguz
# Opens rofi in dmenu mod and waits for input. Then pushes the input to the query of the URL.
#
rofi_config="$HOME/.config/rofi/config-search.rasi"
echo "" | rofi -dmenu -config "$rofi_config" -p "Search:" | xargs -I{} xdg-open https://www.google.com/search?q={}

2
config/hypr/scripts/TouchPad.sh

@ -18,7 +18,7 @@ toggle_touchpad() {
fi
notify-send -u low -i "$notif" "Touchpad $action"
hyprctl keyword "device:$Touchpad_Device:enabled" "$(cat "$STATUS_FILE")"
hyprctl keyword "device[$Touchpad_Device]:enabled" "$(cat "$STATUS_FILE")"
}
toggle_touchpad

246
config/rofi/config-search.rasi

@ -0,0 +1,246 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Rofi Config for Google Search) */
/* ---- Configuration ---- */
configuration {
modi: "drun,run,filebrowser";
font: "Fira Code SemiBold 12";
show-icons: true;
display-drun: "";
display-run: "";
display-filebrowser: "";
display-window: "󱂬";
drun-display-format: "{name}";
hover-select: true;
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}";
dpi: 1;
}
/* ---- Load pywal colors (custom wal template) ---- */
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
/* ---- Window ---- */
window {
width: 600px;
/*height: 450px;*/
x-offset: 0px;
y-offset: 0px;
spacing: 0px;
padding: 1px;
margin: 0px;
border: 2px;
border-color: @active-background;
cursor: "default";
location: north;
anchor: center;
fullscreen: false;
enabled: true;
border-radius: 12px;
background-image: url("~/.config/rofi/.current_wallpaper", height);
}
/* ---- Mainbox ---- */
mainbox {
enabled: true;
orientation: vertical;
padding: 8px;
background-color: transparent;
children: [ "inputbar", "imagebox" ];
border-radius: 12px;
}
/* ---- Imagebox ---- */
imagebox {
background-color: transparent;
orientation: horizontal;
children: [ "mode-switcher", "listbox"];
}
/* ---- Listbox ---- */
listbox {
spacing: 4px;
orientation: vertical;
children: ["listview" ];
padding: 6px;
border-radius: 12px;
border: 1px;
border-color: @active-background;
background-color: @background;
}
/* ---- Dummy ---- */
dummy {
background-color: transparent;
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
text-color: @foreground;
spacing: 10px;
border-radius: 12px;
border-color: @foreground;
background-color: @background;
children: [ "textbox-prompt-colon","entry" ];
border: 1px;
border-color: @active-background;
}
textbox-prompt-colon {
enabled: true;
padding: 6px 0px 6px 10px;
expand: false;
str: " 󰜏 ";
text-color: inherit;
background-color: transparent;
}
entry {
enabled: true;
padding: 6px 0px 0px 0px;
text-color: inherit;
cursor: text;
placeholder: "Google Search";
placeholder-color: inherit;
background-color: transparent;
}
/* ---- Mode Switcher ---- */
mode-switcher{
orientation: vertical;
enabled: true;
spacing: 12px;
background-color: transparent;
text-color: @foreground;
}
button {
padding: 0px 12px 0px 8px;
border-radius: 12px;
background-color: @background;
text-color: inherit;
cursor: pointer;
border: 1px;
border-color: @active-background;
}
button selected {
background-color: @selected-normal-background;
text-color: @foreground;
border: 1px;
border-color: @background;
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 2;
lines: 0;
spacing: 2px;
padding: 6px;
dynamic: true;
cycle: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: false;
background-color: transparent;
border-radius: 12px;
border: 0px;
}
/* ---- Element ---- */
element {
enabled: true;
padding: 5px;
margin: 2px;
cursor: pointer;
background-color: transparent;
border-radius: 12px;
border: 0px;
}
element normal.normal {
background-color: inherit;
text-color: @foreground;
}
element normal.urgent {
background-color: inherit;
text-color: @foreground;
}
element normal.active {
background-color: inherit;
text-color: @foreground;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @foreground;
}
element selected.urgent {
background-color: inherit;
text-color: @foreground;
}
element selected.active {
background-color: inherit;
text-color: @foreground;
}
element alternate.normal {
background-color: inherit;
text-color: @foreground;
}
element alternate.urgent {
background-color: inherit;
text-color: @foreground;
}
element alternate.active {
background-color: inherit;
text-color: @foreground;
}
element-icon {
background-color: transparent;
text-color: inherit;
size: 32px;
cursor: inherit;
}
element-text {
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0;
}
/*****----- Message -----*****/
message {
background-color: @background;
margin: 20px 0px 0px 0px;
border-radius: 12px;
}
textbox {
padding: 10px;
background-color: @background;
text-color: @foreground;
}
error-message {
padding: 15px;
border-radius: 12px;
background-color: @background;
text-color: @foreground;
}

258
config/waybar/style/Mauve.css

@ -0,0 +1,258 @@
/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */
/* ..........................................*/
/* .......Mauve....................... */
/* ......................................... */
/* --- 👍 designed by https://github.com/CelestiaKai 👍 --- */
* {
font-family: "FiraCode Mono Nerd Font";
font-weight: bold;
min-height: 0;
/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
font-size: 97%;
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
padding: 2px;
}
window#waybar {
background: #11111b;
color: #cba6f7;
/* background-color: transparent; */
}
window#waybar.hidden {
opacity: 0.5;
}
window#waybar.empty {
background-color: transparent;
background: #11111b;
}
window#waybar.empty #window {
padding: 0px;
border: 0px;
/* background-color: rgba(66,66,66,0.5); */
/* transparent */
background-color: transparent;
}
tooltip {
background: #1e1e2e;
border-radius: 10px;
border-width: 2px;
border-style: solid;
border-color: #11111b;
color: #cba6f7;
}
/*-----module groups----*/
.modules-right {
border: 3px solid #11111b;
border-radius: 10px 10px 10px 10px;
background-color: #1e1e2e;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 4px;
padding-left: 4px;
}
.modules-center {
padding-top: 2px;
padding-bottom: 2px;
padding-right: 4px;
padding-left: 4px;
}
.modules-left {
/*background-color: #1e1e2e;*/
border: 3px solid #11111b;
border-radius: 10px 10px 10px 10px;
background-color: #1e1e2e;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 4px;
padding-left: 4px;
}
#workspaces button {
color: #6E6A86;
box-shadow: none;
text-shadow: none;
padding: 0px;
border-radius: 9px;
padding-left: 4px;
padding-right: 4px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
}
#workspaces button.active {
color: #1e1e1e;
border-radius: 30%;
background-color: #cba6f7;
padding-left: 6px;
padding-right: 8px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}
#workspaces button.active:hover {
color: #1e1e1e;
border-radius: 30%;
background-color: #cba6f7;
border: 0px solid #1e1e2e;
padding-left: 6px;
padding-right: 8px;
}
#workspaces button.focused {
color: #d8dee9;
}
#workspaces button.urgent {
border-radius: 30%;
background-color: #cba6f7;
color: #1e1e1e;
}
#workspaces button:hover {
color: #1e1e1e;
border: 3px solid #1e1e2e;
background-color: #cba6f7;
border-radius: 30%;
padding-left: 4px;
padding-right: 4px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}
#backlight,
#backlight-slider,
#battery,
#bluetooth,
#clock,
#cpu,
#disk,
#idle_inhibitor,
#keyboard-state,
#memory,
#mode,
#mpris,
#network,
#pulseaudio,
#pulseaudio-slider,
#taskbar,
#temperature,
#tray,
#window,
#wireplumber,
#workspaces,
#custom-backlight,
#custom-cava_mviz,
#custom-cycle_wall,
#custom-keybinds,
#custom-keyboard,
#custom-light_dark,
#custom-lock,
#custom-menu,
#custom-power_vertical,
#custom-power,
#custom-swaync,
#custom-updater,
#custom-weather,
#custom-weather.clearNight,
#custom-weather.cloudyFoggyDay,
#custom-weather.cloudyFoggyNight,
#custom-weather.default,
#custom-weather.rainyDay,
#custom-weather.rainyNight,
#custom-weather.severe,
#custom-weather.showyIcyDay,
#custom-weather.snowyIcyNight,
#custom-weather.sunnyDay {
color: whitesmoke;
padding-top: 1px;
padding-bottom: 1px;
padding-right: 6px;
padding-left: 6px;
}
#temperature.critical {
background-color: #ff0000;
}
@keyframes blink {
to {
color: #000000;
}
}
#taskbar button.active {
background-color: purple;
padding-left: 12px;
padding-right: 12px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}
#taskbar button:hover {
padding-left: 3px;
padding-right: 3px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#pulseaudio-slider slider {
min-width: 0px;
min-height: 0px;
opacity: 0;
background-image: none;
border: none;
box-shadow: none;
}
#pulseaudio-slider trough {
min-width: 80px;
min-height: 5px;
border-radius: 5px;
background-color: #6E6A86;
}
#pulseaudio-slider highlight {
min-height: 10px;
border-radius: 5px;
background-color: purple;
}
#backlight-slider slider {
min-width: 0px;
min-height: 0px;
opacity: 0;
background-image: none;
border: none;
box-shadow: none;
}
#backlight-slider trough {
min-width: 80px;
min-height: 10px;
border-radius: 5px;
background-color: #6E6A86;
}
#backlight-slider highlight {
min-width: 10px;
border-radius: 5px;
background-color: purple;
}
Loading…
Cancel
Save