diff --git a/2-install-hyprland.sh b/2-install-hyprland.sh index 497f9b9..0ff7443 100755 --- a/2-install-hyprland.sh +++ b/2-install-hyprland.sh @@ -54,6 +54,7 @@ packagesPacman=( "slurp" "swayidle" "swappy" + "cliphist" ); packagesYay=( diff --git a/3-dotfiles.sh b/3-dotfiles.sh index 2ec2e96..9bbbc6a 100755 --- a/3-dotfiles.sh +++ b/3-dotfiles.sh @@ -78,7 +78,9 @@ _installSymLink starship ~/.config/starship.toml ~/dotfiles/starship/starship.to _installSymLink rofi ~/.config/rofi ~/dotfiles/rofi/ ~/.config _installSymLink dunst ~/.config/dunst ~/dotfiles/dunst/ ~/.config _installSymLink wal ~/.config/wal ~/dotfiles/wal/ ~/.config - +wal -i screenshots/ +echo "Pywal templates initiated!" +echo "" echo "-------------------------------------" echo "-> Install GTK dotfiles" echo "-------------------------------------" diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 9f498f9..1118c06 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -32,6 +32,7 @@ exec-once = ~/dotfiles/scripts/updatewal-swww.sh exec-once = ~/dotfiles/hypr/gtk.sh exec-once = ~/dotfiles/waybar/launch.sh exec-once = hyprctl setcursor Bibata-Modern-Classic 24 +exec-once = wl-paste --watch cliphist store exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # ----------------------------------------------------- @@ -48,7 +49,7 @@ env = XCURSOR_SIZE,24 # Keyboard layout and mouse # ----------------------------------------------------- input { - kb_layout = us + kb_layout = de kb_variant = kb_model = kb_options = diff --git a/rofi/config.rasi b/rofi/config.rasi index f5f634a..ac2e11d 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -15,22 +15,57 @@ configuration { drun-display-format: "{name}"; font: "Fira Sans SemiBold 11"; modi: "window,run,drun"; - /* show-icons: true; */ + show-icons: true; } /* Dark theme. */ @import "~/.cache/wal/colors-rofi-dark" window { - width:700px; + width:900px; + height:600px; + spacing:0px; + padding:0px; + + border: 3px; + border-color:#FFFFFF; + border-radius:15px; + + cursor: "default"; + transparency: "real"; + fullscreen: "false"; + background-color: transparent; +} + +mainbox { + spacing:0px; + padding: 0px 0px 0px 500px; + background-color:#000000; + background-image: url("~/.cache/current_wallpaper.jpg", height); +} + +inputbar { + padding: 10px; +} + +listview { + padding: 10px; + background-color:#000000; + } element { + font-color:#FFFFFF; padding:6; + border-radius:4px; + border:2px; + border-color:#000000; + background-color:#000000; } -element-text selected { +element selected { text-color:@background; + border-color: #FFFFFF; } prompt { diff --git a/waybar/config b/waybar/config index c7b880f..807dc67 100644 --- a/waybar/config +++ b/waybar/config @@ -45,6 +45,7 @@ // Modules Right "modules-right": [ + "custom/cliphist", "custom/updates", "pulseaudio", "bluetooth", diff --git a/waybar/modules.json b/waybar/modules.json index ccf9380..d7a6119 100644 --- a/waybar/modules.json +++ b/waybar/modules.json @@ -64,6 +64,18 @@ "on-click": "brave https://studio.youtube.com", "tooltip": false }, + + // Cliphist + "custom/cliphist": { + "format": "{}", + "on-click": "cliphist list | rofi -dmenu | cliphist decode | wl-copy", + // "exec": "echo ; echo 󰅇 clipboard history", + // "on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c", + // "on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d", + // "on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w", + // "interval" : 86400, // once every day + "tooltip": true + }, // Updates Count "custom/updates": { diff --git a/waybar/myconfig b/waybar/myconfig index 29fe7c8..1e0ea94 100644 --- a/waybar/myconfig +++ b/waybar/myconfig @@ -44,6 +44,7 @@ // Modules Right "modules-right": [ + "custom/cliphist", "custom/youtube", "custom/updates", "pulseaudio",