diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-11-19 12:22:05 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-19 12:22:05 +0900 |
| commit | fb614caa72259511682ee8d7651532a783d45ec8 (patch) | |
| tree | c256dcac1c406abaa89f532d7e4b56ead2e22f3f /config/hypr | |
| parent | 832ad0456d2f9dace1e629fbf08650fc4dd95a32 (diff) | |
| parent | 68819bdfc574a6c0e3cdd1786972275df13c8d20 (diff) | |
Merge pull request #27 from JaKooLit/rofi
Rofi, releases-dots, creation of wiki
Diffstat (limited to 'config/hypr')
| -rw-r--r-- | config/hypr/HelpFile.md | 94 | ||||
| -rw-r--r-- | config/hypr/configs/Keybinds.conf | 9 | ||||
| -rwxr-xr-x | config/hypr/scripts/Help.sh | 3 | ||||
| -rwxr-xr-x | config/hypr/scripts/KeyHints.sh | 1 | ||||
| -rwxr-xr-x | config/hypr/scripts/WallpaperSelect.sh | 2 |
5 files changed, 6 insertions, 103 deletions
diff --git a/config/hypr/HelpFile.md b/config/hypr/HelpFile.md deleted file mode 100644 index 23581c94..00000000 --- a/config/hypr/HelpFile.md +++ /dev/null @@ -1,94 +0,0 @@ -# Welcome to my Hyprland help, and tips and tricks # -# If you have questions, or need help you can open issue on my github -# Or you can reach me in or join on Discord that I admin -# Discord link https://discord.gg/V2SJ92vbEN -# Github page: https://github.com/JaKooLit - - Super = Windows Key - -# common operations - Super Shift H *keyhint* (THIS DOCUMENT) - Super Return *term* (`kitty`) - Super q *quit* (kill focused window) - Super Shift q *quit* (kill focused window) - Super d *show app menu* (`rofi`) - Super *show app menu* (`rofi`) - -# Scripts (Power menu, waybar-layout menu, wallpaper menu, etc, have small box) - - All the scripts all located in ~/.config/hypr/scripts. - -# wallpaper / styling stuff - CTRL ALT w *wallpaper shuffle* (right click on wallpaper waybar module) - Super w *wallpaper select* (click on wallpaper waybar module) add more wallpaper in ~/Pictures/wallpapers - - - right click on update waybar module *wallpaper cycle using swww* - - - for the wallpaper styles and configurations, you can watch my video about it *https://youtu.be/6ZGzOjMJBe4* - - - scripts for wallpaper stuff are located in *~/.config/hypr/scripts* file names `DarkLight.sh` `Wallpaper.sh` `WallpaperSelect.sh` `WallpaperRandom.sh` (last one for automatic wallpaper changed every 5 mins) - -# Monitor, executables, keybindings, window rules, - files are located in *~/.config/hypr/configs* . View with SUPER E - Keybindings file is located here *~/.config/hypr/configs/Keybinds.conf* - -# screenshot may need to hold down the function (`fn`) key. You can change keybinds in *~/.config/hypr/configs/Keybinds.conf* - Super PrintScr(button) *full screenshot* - Super Shift PrintSrc(button) *active window screenshot* - Super CTRL SHIFT PrintScr *full screenshot + timer (5s)* - Super Alt PrintScr *full screenshot + timer (10s)* - Super Shift S *screenshot with swappy* - -# clipboard manager (cliphist) - Super Alt V *launch the rofi menu of clipboard manager* - - click to select the clipboard. And paste as normal (CTRL V or right click menu) - - to clean up clipboard manager, launch kitty (super enter) then type ```cliphist wipe``` - -# applications shortcuts - Super T *file manager* (`thunar`) - if you chose to install - -# container layout - Super Shift F *toggle tiling/floating mode* - Super Alt F *toggle all windows in float mode* - Super left mouse button *move window* - Super right mouse button *resize window* (note! only in float mode) - -# workspaces - Super 1 .. 0 *switch to workspace 1 .. 10* - Super Shift 1 .. 0 *move container to workspace 1 .. 10* - Super Tab *cycle through workspaces* - Super Shift Tab *cycle previous workspaces* - -# waybar customizations - - waybar font too big or too small. Edit the font-size in waybar styles located in ~/.config/waybar/styles/ . By default, it is set to 98%. After adjusting the GTK font scaling to your liking, edit all the waybar styles. Reduce or increase according to your needs. NOTE that its on percent %. You can also change to px whichever suits you. Note: This corresponds well with nwg-look - - - if you want 12h format instead of 24H format, edit the ~/.config/waybar/modules look for clock. for 12h format, should be like %I:%M%P; for 24H format, %H:%M:%S.. ensure to disable one format by adding // before that line. For clock formatting, you can use website: https://help.gnome.org/users/gthumb/stable/gthumb-date-formats.html.en - - - - CPU Temperature: - - a.) to change from deg C to deg F , edit the ~/.config/waybar/modules look for "temperature". Change the format to "format": "{temperatureF}°F {icon}", - - b.) to fix the temperature if not showing correctly, comment "thermal zone": 0 by putting // before. Delete the // on the "hwmon path". Refresh waybar by pressing SUPER SHIFT W or SUPER ALT W If still not showing correctly, navigate to /sys/class/hwmon/ and open each hwmon. Look for k10temp for amd. Not sure about intel cpu. and edit accordingly the hwmon path in the "temperature" waybar module. - - b.1) use this function to easily identify the hwmon path. Ran this in your terminal ``` for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done ``` - - - Weather.sh (Default weather app in waybar) edit ~/.config/hypr/scripts/Weather.sh or Weather.py and add your city. Make sure a major city in your Area. Delete rbn folder in ~/.cache and refresh waybar by either pressing SUPER SHIFT W or choose waybar layout SUPER ALT W. If wanted to use Weather.py for weather, edit weather module located in ~/.config/waybar/modules.\ - - - NOTE!!! some waybars layouts have a separate modules baked into their respective configs (ie Peony, Chrysanthemum, Camelia, etc) and does not get all modules from main waybar modules file. Edit each configs accordingly to your liking (~/.config/waybar/configs) - -# Hyprland configurations - - *Hyprland* configuration files are in `~/.config/hypr/configs` Can view using SUPER E (by default, will be opened with nano. You can edit default editor by editing ~/.config/hypr/scripts/QuickEdit.sh) - - files located in this folder can be edited using editor of your choice. - -# notes for nvidia gpu users - - Do note that you need to enable or disable some items in ENVariables.conf file located in `~/.config/hypr/configs/ENVariables.conf` - - - a guide on wiki - https://wiki.hyprland.org/Nvidia/ - -# other notes - - *Multimedia keys* - may not work for every keyboard may need to hold down the function (`fn`) key - - Follow the wiki - https://wiki.hyprland.org/ - - Follow the github - https://github.com/hyprwm/Hyprland - -# If you dont like kitty or in your tty to get the pywal colors, edit ~/.config/kitty/kitty.conf or .zshrc (for zsh). You can also edit ~/.config/hypr/scripts/PywalSwww.sh . At the bottom of the file, you will see that I have placed a note. I have placed on the readme for the link - -# HIDDEN FEATURES! - - ROFI BEATS or ONLINE Music ( SUPER SHIFT S) (note: you may need to install yt-dlp or youtube-dl) - - EMOTICONS (SUPER ALT E) - useful for chats or messages ). Click to copy and CTRL ALT V to paste diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 1a8a56b7..b83b258f 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -15,11 +15,13 @@ $screenshot = $scriptsDir/ScreenShot.sh $volume = $scriptsDir/Volume.sh # see https://wiki.hyprland.org/Configuring/Binds/ for more +# rofi launcher +bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser +bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser +#bind = CTRL, D, exec, pkill rofi || rofi -dmenu + bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0 bind = $mainMod SHIFT, C, exec, hyprctl reload -bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi run,drun,filebrowser -bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi run,drun,filebrowser -#bind = CTRL, D, exec, pkill rofi || rofi -dmenu bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, F, togglefloating, bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat @@ -31,7 +33,6 @@ bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh bind = $mainMod CTRL, S, exec, $scriptsDir/RofiBeats.sh bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh -bind = $mainMod SHIFT, H, exec, $scriptsDir/Help.sh bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh bind = $mainMod, E, exec, $scriptsDir/QuickEdit.sh bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar diff --git a/config/hypr/scripts/Help.sh b/config/hypr/scripts/Help.sh deleted file mode 100755 index 38bcdec8..00000000 --- a/config/hypr/scripts/Help.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -mousepad ~/.config/hypr/HelpFile.md diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index 6d82a919..d868b5d6 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -32,7 +32,6 @@ yad --width=1000 --height=1000 \ " Shift F" "Toggle float" "single window" \ " ALT F" "Toggle all windows to float" "all windows" \ " SHIFT G" "Gamemode! All animations off" "" \ -" SHIFT H" "Launch a small Help File" "" \ " H" "Launch this app" "" \ " E" "View or EDIT Keybinds, Settings, Monitor" "" \ "" "" "" \ diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh index c989adf3..24fcae2e 100755 --- a/config/hypr/scripts/WallpaperSelect.sh +++ b/config/hypr/scripts/WallpaperSelect.sh @@ -18,7 +18,7 @@ RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}" RANDOM_PIC_NAME="${#PICS[@]}. random" # Rofi command -rofi_command="rofi -dmenu -config ~/.config/rofi/config-short.rasi" +rofi_command="rofi -dmenu -config ~/.config/rofi/config-wallpaper.rasi" menu() { for i in "${!PICS[@]}"; do |
