summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/hyprland/foot/foot.ini196
-rw-r--r--config/hyprland/hypr/hyprland.conf7
-rw-r--r--config/hyprland/waybar/config.jsonc98
-rw-r--r--config/hyprland/waybar/style.css127
4 files changed, 423 insertions, 5 deletions
diff --git a/config/hyprland/foot/foot.ini b/config/hyprland/foot/foot.ini
new file mode 100644
index 0000000..671ede4
--- /dev/null
+++ b/config/hyprland/foot/foot.ini
@@ -0,0 +1,196 @@
+# -*- conf -*-
+
+# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
+# term=foot (or xterm-256color if built with -Dterminfo=disabled)
+term=xterm-256color
+# login-shell=no
+
+# app-id=foot
+# title=foot
+# locked-title=no
+
+# font=monospace:size=8
+# font-bold=<bold variant of regular font>
+# font-italic=<italic variant of regular font>
+# font-bold-italic=<bold+italic variant of regular font>
+# line-height=<font metrics>
+# letter-spacing=0
+# horizontal-letter-offset=0
+# vertical-letter-offset=0
+# underline-offset=<font metrics>
+# box-drawings-uses-font-glyphs=no
+# dpi-aware=auto
+
+# initial-window-size-pixels=700x500 # Or,
+# initial-window-size-chars=<COLSxROWS>
+# initial-window-mode=windowed
+# pad=2x2 # optionally append 'center'
+# resize-delay-ms=100
+
+# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
+
+# bold-text-in-bright=no
+# word-delimiters=,│`|:"'()[]{}<>
+# selection-target=primary
+# workers=<number of logical CPUs>
+
+[environment]
+# name=value
+
+[bell]
+# urgent=no
+# notify=no
+# command=
+# command-focused=no
+
+[scrollback]
+# lines=1000
+# multiplier=3.0
+# indicator-position=relative
+# indicator-format=
+
+[url]
+# launch=xdg-open ${url}
+# label-letters=sadfjklewcmpgh
+# osc8-underline=url-mode
+# protocols=http, https, ftp, ftps, file, gemini, gopher
+# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
+
+[cursor]
+# style=block
+# color=<inverse foreground/background>
+# blink=no
+# beam-thickness=1.5
+# underline-thickness=<font underline thickness>
+
+[mouse]
+# hide-when-typing=no
+# alternate-scroll-mode=yes
+
+[colors]
+alpha=0.90
+foreground=d8dee9
+background=2e3440
+
+## Normal/regular colors (color palette 0-7)
+regular0=3b4252 # black
+regular1=bf616a # red
+regular2=a3be8c # green
+regular3=ebcb8b # yellow
+regular4=81a1c1 # blue
+regular5=b48ead # magenta
+regular6=88c0d0 # cyan
+regular7=e5e9f0 # white
+
+## Bright colors (color palette 8-15)
+bright0=6c566a # bright black
+bright1=bf616a # bright red
+bright2=a5abb6 # bright green
+bright3=ebcb8b # bright yellow
+bright4=81a1c1 # bright blue
+bright5=b48ead # bright magenta
+bright6=8fbcbb # bright cyan
+bright7=eceff4 # bright white
+
+## dimmed colors (see foot.ini(5) man page)
+# dim0=<not set>
+# ...
+# dim7=<not-set>
+
+## The remaining 256-color palette
+# 16 = <256-color palette #16>
+# ...
+# 255 = <256-color palette #255>
+
+## Misc colors
+# selection-foreground=<inverse foreground/background>
+# selection-background=<inverse foreground/background>
+# jump-labels=<regular0> <regular3> # black-on-yellow
+# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
+# search-box-no-match=<regular0> <regular1> # black-on-red
+# search-box-match=<regular0> <regular3> # black-on-yellow
+# urls=<regular3>
+
+[csd]
+# preferred=server
+# size=26
+# font=<primary font>
+# color=<foreground color>
+# hide-when-typing=no
+# border-width=0
+# border-color=<csd.color>
+# button-width=26
+# button-color=<background color>
+# button-minimize-color=<regular4>
+# button-maximize-color=<regular2>
+# button-close-color=<regular1>
+
+[key-bindings]
+# scrollback-up-page=Shift+Page_Up
+# scrollback-up-half-page=none
+# scrollback-up-line=none
+# scrollback-down-page=Shift+Page_Down
+# scrollback-down-half-page=none
+# scrollback-down-line=none
+# clipboard-copy=Control+Shift+c XF86Copy
+# clipboard-paste=Control+Shift+v XF86Paste
+# primary-paste=Shift+Insert
+# search-start=Control+Shift+r
+# font-increase=Control+plus Control+equal Control+KP_Add
+# font-decrease=Control+minus Control+KP_Subtract
+# font-reset=Control+0 Control+KP_0
+# spawn-terminal=Control+Shift+n
+# minimize=none
+# maximize=none
+# fullscreen=none
+# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
+# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
+# pipe-selected=[xargs -r firefox] none
+# show-urls-launch=Control+Shift+u
+# show-urls-copy=none
+# show-urls-persistent=none
+# prompt-prev=Control+Shift+z
+# prompt-next=Control+Shift+x
+# unicode-input=none
+# noop=none
+
+[search-bindings]
+# cancel=Control+g Control+c Escape
+# commit=Return
+# find-prev=Control+r
+# find-next=Control+s
+# cursor-left=Left Control+b
+# cursor-left-word=Control+Left Mod1+b
+# cursor-right=Right Control+f
+# cursor-right-word=Control+Right Mod1+f
+# cursor-home=Home Control+a
+# cursor-end=End Control+e
+# delete-prev=BackSpace
+# delete-prev-word=Mod1+BackSpace Control+BackSpace
+# delete-next=Delete
+# delete-next-word=Mod1+d Control+Delete
+# extend-to-word-boundary=Control+w
+# extend-to-next-whitespace=Control+Shift+w
+# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
+# primary-paste=Shift+Insert
+# unicode-input=none
+
+[url-bindings]
+# cancel=Control+g Control+c Control+d Escape
+# toggle-url-visible=t
+
+[text-bindings]
+# \x03=Mod4+c # Map Super+c -> Ctrl+c
+
+[mouse-bindings]
+# selection-override-modifiers=Shift
+# primary-paste=BTN_MIDDLE
+# select-begin=BTN_LEFT
+# select-begin-block=Control+BTN_LEFT
+# select-extend=BTN_RIGHT
+# select-extend-character-wise=Control+BTN_RIGHT
+# select-word=BTN_LEFT-2
+# select-word-whitespace=Control+BTN_LEFT-2
+# select-row=BTN_LEFT-3
+
+# vim: ft=dosini
diff --git a/config/hyprland/hypr/hyprland.conf b/config/hyprland/hypr/hyprland.conf
index df2dac4..1cafd71 100644
--- a/config/hyprland/hypr/hyprland.conf
+++ b/config/hyprland/hypr/hyprland.conf
@@ -2,6 +2,7 @@ monitor=HDMI-A-1, 1920x1080, 0x0, 1
monitor=VGA-1, 1920x1080, 1920x0, 1
monitor=,preferred,auto,1
+# Environment variables
env = HYPRLAND_LOG_WLR,1
env = XCURSOR_THEME,Bibata-Modern-Classic
@@ -28,11 +29,7 @@ env = XDG_SESSION_DESKTOP,Hyprland
env = SDL_IM_MODULE,fcitx
env = SDL_VIDEODRIVER,wayland
-# See https://wiki.hyprland.org/Configuring/Keywords/ for more
-
-# Execute your favorite apps at launch
-exec-once = gammastep
-# exec-once = waybar
+exec-once = gammastep & waybar
exec-once = swaybg -i ~/pics/wallpaper
# source = ~/.config/hypr/myColors.conf
diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc
new file mode 100644
index 0000000..5428f79
--- /dev/null
+++ b/config/hyprland/waybar/config.jsonc
@@ -0,0 +1,98 @@
+{
+ "position": "top",
+ "height": 25,
+
+ "modules-left": ["wlr/workspaces"],
+ "modules-center": ["custom/media"],
+ "modules-right": ["battery", "network", "pulseaudio", "clock", "tray"],
+
+ "wlr/workspaces": {
+ "disable-scroll": true,
+ "all-outputs": true,
+ "on-click": "activate",
+ //"format": "{icon}",
+ "persistent_workspaces": {
+ "1": [],
+ "2": [],
+ "3": [],
+ "4": [],
+ "5": [],
+ "6": [],
+ "7": [],
+ "8": [],
+ "9": [],
+ "10": []
+ },
+ /*"format-icons": {
+ "1": "",
+ "2": "",
+ "3": "",
+ "4": "",
+ "5": "",
+ "6": "",
+ "7": "",
+ "8": "",
+ "9": "",
+ "10": "",
+ "default": "",
+ "active": ""
+ }*/
+ },
+ "battery": {
+ "states": {
+ "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": "{capacity}% {icon}",
+ "format-charging": "{capacity}% ",
+ "format-plugged": "{capacity}% ",
+ "format-alt": "{time} {icon}",
+ // "format-good": "", // An empty format will hide the module
+ // "format-full": "",
+ "format-icons": ["", "", "", "", ""]
+ },
+ "battery#bat2": {
+ "bat": "BAT2"
+ },
+ "clock": {
+ "format": "{: %R  %d/%m}",
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
+ },
+ "network": {
+ "format-wifi": " {essid}",
+ "format-ethernet": " {essid}",
+ "format-linked": "{ifname} (No IP) ",
+ "format-disconnected": "睊 Disconnected",
+ "tooltip-format-wifi": "Signal Strenght: {signalStrength}% | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}"
+ },
+ "pulseaudio": {
+ "format": "{icon} {volume}%",
+ "format-muted": "Muted",
+ "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
+ "scroll-step": 1,
+ "format-icons": {
+ "headphone": "",
+ "hands-free": "",
+ "headset": "",
+ "phone": "",
+ "portable": "",
+ "car": "",
+ "default": ["", "", "墳", ""]
+ }
+ },
+ "mpd": {
+ "format": "{icon} {}",
+ "return-type": "json",
+ "max-length": 40,
+ "format-icons": {
+ "spotify": "",
+ "default": ""
+ },
+ "escape": true,
+ },
+ "tray": {
+ "icon-size": 13,
+ "spacing": 10
+ },
+}
diff --git a/config/hyprland/waybar/style.css b/config/hyprland/waybar/style.css
new file mode 100644
index 0000000..c1a3f93
--- /dev/null
+++ b/config/hyprland/waybar/style.css
@@ -0,0 +1,127 @@
+* {
+ border: none;
+ border-radius: 0;
+ font-family: "FiraCode Nerd Font";
+ font-size: 13px;
+ min-height: 0;
+}
+
+window#waybar {
+ background: rgba(129,161,193,0.54);
+ color: #2e3440;
+ border-radius: 3px;
+ border: solid #2e3449 1px;
+}
+
+#window {
+ font-weight: normal;
+ font-family: "FiraCode Nerd Font";
+}
+
+#workspaces {
+ padding: 0 5px;
+}
+
+#workspaces button {
+ padding: 0 5px;
+ color: #BBBBBB;
+}
+
+#workspaces button.visible {
+ color: inherit;
+ background-color: #ff007c;
+}
+
+#workspaces button.active{
+ color: inherit;
+ background-color: #ff007c;
+}
+
+#workspaces button.focused {
+ color: #BBBBBB;
+ background-color: #ff007c;
+}
+
+#workspaces button.urgent {
+ color: #F44747;
+}
+#workspaces button.hidden {
+ color: #F44747;
+}
+
+#tags button {
+ padding: 0 5px;
+ color: #BBBBBB;
+}
+
+#tags button.occupied {
+ color: inherit;
+ background-color: #ff007c;
+}
+
+
+
+#tags button.focused {
+ color: #BBBBBB;
+ background-color: #ff007c;
+}
+
+#tags button.urgent {
+ color: #F44747;
+}
+
+#mode {
+ background: #ff007c;
+ border-bottom: 3px solid #BBBBBB;
+}
+
+#clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode, #custom-wofi-power {
+ padding: 0 10px;
+ margin: 0 2px;
+}
+
+#clock {
+ font-weight: normal;
+}
+
+#battery icon {
+ color: #F44747;
+}
+
+@keyframes blink {
+ to {
+ background-color: #ff007c;
+ color: black;
+ }
+}
+
+#battery.warning:not(.charging) {
+ color: #F44747;
+ animation-name: blink;
+ animation-duration: 0.5s;
+ animation-timing-function: linear;
+ animation-iteration-count: infinite;
+ animation-direction: alternate;
+}
+
+#cpu {
+}
+
+#memory {
+}
+
+#network {
+}
+
+#network.disconnected {
+ background: #F44747;
+}
+
+#pulseaudio {
+}
+
+#pulseaudio.muted {
+}
+
+#tray {
+}