Browse Source

small updates

pull/3/head
Ja.KooLit 2 years ago
parent
commit
167829d29f
  1. 3
      CHANGELOG.md
  2. 4
      README.md
  3. 7
      config/hypr/HelpFile.md
  4. 5
      config/hypr/configs/ENVariables.conf
  5. 19
      config/hypr/configs/Monitors.conf
  6. 6
      copy.sh

3
CHANGELOG.md

@ -1,5 +1,8 @@
## CHANGES
### 26-Oct-2023
- Automatic nvidia gpu detection and setting WLR_NO_CURSORS of ENVariables.conf automatically
### 24-Oct-2023
- fix lots of waybar stylings
- introducing waybar separators (only in default)

4
README.md

@ -63,8 +63,8 @@ ln -sf "$HOME/.config/wofi/configs/config-default" "$HOME/.config/wofi/config"
### ⚠ A MUST! after copying these dots
- By default I have not set a wallpaper. If using swww, just press SUPER CTRL W and choose wallpaper. Once you reboot or logged out, the last wallpaper will be loaded by swww automatically.
- If not using swww, edit ~/.config/hypr/Execs.conf and set using swaybg
- Nvidia Owners. Make sure to edit your ~/.config/hypr/configs/ENVariables.conf and uncomment atleast env = WLR_NO_HARDWARE_CURSORS,1 before log out or reboot.
- If you have already set your own keybinds, monitors, etc.... Just copy over from backup created.
- Nvidia Owners. Make sure to edit your ~/.config/hypr/configs/ENVariables.conf if you have set a proper environment already. (recommended). WLR_NO_CURSORS will be activated if nvidia gpu is detected.
- If you have already set your own keybinds, monitors, etc.... Just copy over from backup created before log-out or reboot. (recommended)
### 📖 Known issues and possibly solutions
- Foot tty fonts after copying dots is broken - Install Fira Code or just restore your previous foot configuration in ~/.config/foot

7
config/hypr/HelpFile.md

@ -14,6 +14,9 @@
Super d *show app menu* (`wofi small`)
Super Shift d *show app menu* (`wofi large`)
# Wofi scripts (Power menu, waybar-layout menu, wallpaper menu, etc, have small box)
- edit the scripts which are all located in ~/.config/hypr/scripts. You can set a desired Width and Height to your liking.
# wallpaper / styling stuff
Super w *wallpaper shuffle* (right click on wallpaper waybar module)
Super Shift w *waybar style-change* (middle click on wallpaper waybar module)
@ -49,14 +52,12 @@
# applications shortcuts
Super T *file manager* (`thunar`) - if installed
# container layout
Super Shift Space *toggle tiling/floating 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*
@ -91,4 +92,4 @@
TO CLOSE THIS DOCUMENT - Super q or Super Shift q or if vim, press esc :q!
TO CLOSE THIS DOCUMENT - (vim) press esc :q!

5
config/hypr/configs/ENVariables.conf

@ -19,12 +19,11 @@ env = QT_AUTO_SCREEN_SCALE_FACTOR,1
#env = MOZ_ENABLE_WAYLAND,1
# NVIDIA
# This is from Hyprland Wiki
# As a start, I only recommend to enable the WLR_NO_HARD_CURSORS.
# This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected
#env = WLR_NO_HARDWARE_CURSORS,1
#env = LIBVA_DRIVER_NAME,nvidia
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#env = GBM_BACKEND,nvidia-drm #if I enable this, Hyprland will crash
#env = GBM_BACKEND,nvidia-drm
#env = __NV_PRIME_RENDER_OFFLOAD,1
#env = __VK_LAYER_NV_optimus,NVIDIA_only

19
config/hypr/configs/Monitors.conf

@ -1,19 +1,36 @@
# Monitor Configuration
# See Hyprland wiki for more details
# https://wiki.hyprland.org/Configuring/Monitors/
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
# Monitors
monitor=,preferred,auto,1
# my G15 Laptop
# monitor = eDP-1, preferred, auto, 1
#monitor = eDP-1, preferred, auto, 1
#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen
#monitor = DP-2, preferred, auto, 1 #my Samsung Odyssey-G7
#monitor = DP-1, preferred, auto, 1
#monitor = HDMI-A-1, preferred,auto,1
# QEMU
#monitor = Virtual-1, 1920x1080@60,auto,1
# Hi Refresh Rate
#monitor=,highrr,auto,1
# High Resolution
#monitor=,highres,auto,1
# to disable a monitor
#monitor=name,disable
# Mirror
#monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2
#monitor=,preferred,auto,1,mirror,eDP-1
# Example :
#monitor=eDP-1,2560x1440@165,0x0,1
#workspace=HDMI-A-1,1

6
copy.sh

@ -21,6 +21,12 @@ RESET=$(tput sgr0)
# Set the name of the log file to include the current date and time
LOG="install-$(date +%d-%H%M%S)_dotfiles.log"
#uncommenting WLR_NO_HARDWARE_CURSORS if nvidia is detected
if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then
# NVIDIA GPU detected, uncomment line 23 in ENVariables.conf
sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/configs/ENVariables.conf
fi
# preparing hyprland.conf keyboard layout
# Function to detect keyboard layout in an X server environment
detect_x_layout() {

Loading…
Cancel
Save