diff --git a/dunst/dunstrc b/dunst/dunstrc
deleted file mode 100644
index e4b5797..0000000
--- a/dunst/dunstrc
+++ /dev/null
@@ -1,456 +0,0 @@
-# See dunst(5) for all configuration options
-
-[global]
- ### Display ###
-
- # Which monitor should the notifications be displayed on.
- monitor = 2
-
- # Display notification on focused monitor. Possible modes are:
- # mouse: follow mouse pointer
- # keyboard: follow window with keyboard focus
- # none: don't follow anything
- #
- # "keyboard" needs a window manager that exports the
- # _NET_ACTIVE_WINDOW property.
- # This should be the case for almost all modern window managers.
- #
- # If this option is set to mouse or keyboard, the monitor option
- # will be ignored.
- follow = mouse
-
- ### Geometry ###
-
- # dynamic width from 0 to 300
- # width = (0, 300)
- # constant width of 300
- width = (0, 300)
-
- # The maximum height of a single notification, excluding the frame.
- height = 300
-
- # Position the notification in the top right corner
- origin = top-right
-
- # Offset from the origin
- offset = 10x10
-
- # Scale factor. It is auto-detected if value is 0.
- scale = 0
-
- # Maximum number of notification (0 means no limit)
- notification_limit = 3
-
- ### Progress bar ###
-
- # Turn on the progess bar. It appears when a progress hint is passed with
- # for example dunstify -h int:value:12
- progress_bar = true
-
- # Set the progress bar height. This includes the frame, so make sure
- # it's at least twice as big as the frame width.
- progress_bar_height = 10
-
- # Set the frame width of the progress bar
- progress_bar_frame_width = 1
-
- # Set the minimum width for the progress bar
- progress_bar_min_width = 150
-
- # Set the maximum width for the progress bar
- progress_bar_max_width = 300
-
-
- # Show how many messages are currently hidden (because of
- # notification_limit).
- indicate_hidden = yes
-
- # The transparency of the window. Range: [0; 100].
- # This option will only work if a compositing window manager is
- # present (e.g. xcompmgr, compiz, etc.). (X11 only)
- transparency = 0
-
- # Draw a line of "separator_height" pixel height between two
- # notifications.
- # Set to 0 to disable.
- # If gap_size is greater than 0, this setting will be ignored.
- separator_height = 2
-
- # Padding between text and separator.
- padding = 8
-
- # Horizontal padding.
- horizontal_padding = 8
-
- # Padding between text and icon.
- text_icon_padding = 0
-
- # Defines width in pixels of frame around the notification window.
- # Set to 0 to disable.
- frame_width = 3
-
- # Defines color of the frame around the notification window.
- frame_color = "#002684"
-
- # Size of gap to display between notifications - requires a compositor.
- # If value is greater than 0, separator_height will be ignored and a border
- # of size frame_width will be drawn around each notification instead.
- # Click events on gaps do not currently propagate to applications below.
- gap_size = 2
-
- # Define a color for the separator.
- # possible values are:
- # * auto: dunst tries to find a color fitting to the background;
- # * foreground: use the same color as the foreground;
- # * frame: use the same color as the frame;
- # * anything else will be interpreted as a X color.
- separator_color = frame
-
- # Sort messages by urgency.
- sort = yes
-
- # Don't remove messages, if the user is idle (no mouse or keyboard input)
- # for longer than idle_threshold seconds.
- # Set to 0 to disable.
- # A client can set the 'transient' hint to bypass this. See the rules
- # section for how to disable this if necessary
- # idle_threshold = 120
-
- ### Text ###
-
- font = FuraMono Nerd Font 10
-
- # The spacing between lines. If the height is smaller than the
- # font height, it will get raised to the font height.
- line_height = 0
-
- # Possible values are:
- # full: Allow a small subset of html markup in notifications:
- # bold
- # italic
- # strikethrough
- # underline
- #
- # For a complete reference see
- # .
- #
- # strip: This setting is provided for compatibility with some broken
- # clients that send markup even though it's not enabled on the
- # server. Dunst will try to strip the markup but the parsing is
- # simplistic so using this option outside of matching rules for
- # specific applications *IS GREATLY DISCOURAGED*.
- #
- # no: Disable markup parsing, incoming notifications will be treated as
- # plain text. Dunst will not advertise that it has the body-markup
- # capability if this is set as a global setting.
- #
- # It's important to note that markup inside the format option will be parsed
- # regardless of what this is set to.
- markup = full
-
- # The format of the message. Possible variables are:
- # %a appname
- # %s summary
- # %b body
- # %i iconname (including its path)
- # %I iconname (without its path)
- # %p progress value if set ([ 0%] to [100%]) or nothing
- # %n progress value if set without any extra characters
- # %% Literal %
- # Markup is allowed
- format = "%s\n%b"
-
- # Alignment of message text.
- # Possible values are "left", "center" and "right".
- alignment = left
-
- # Vertical alignment of message text and icon.
- # Possible values are "top", "center" and "bottom".
- vertical_alignment = center
-
- # Show age of message if message is older than show_age_threshold
- # seconds.
- # Set to -1 to disable.
- show_age_threshold = 60
-
- # Specify where to make an ellipsis in long lines.
- # Possible values are "start", "middle" and "end".
- ellipsize = middle
-
- # Ignore newlines '\n' in notifications.
- ignore_newline = no
-
- # Stack together notifications with the same content
- stack_duplicates = true
-
- # Hide the count of stacked notifications with the same content
- hide_duplicate_count = false
-
- # Display indicators for URLs (U) and actions (A).
- show_indicators = yes
-
- ### Icons ###
-
- # Recursive icon lookup. You can set a single theme, instead of having to
- # define all lookup paths.
- enable_recursive_icon_lookup = true
-
- # Set icon theme (only used for recursive icon lookup)
- icon_theme = Adwaita
- # You can also set multiple icon themes, with the leftmost one being used first.
- # icon_theme = "Adwaita, breeze"
-
- # Align icons left/right/top/off
- icon_position = left
-
- # Scale small icons up to this size, set to 0 to disable. Helpful
- # for e.g. small files or high-dpi screens. In case of conflict,
- # max_icon_size takes precedence over this.
- min_icon_size = 32
-
- # Scale larger icons down to this size, set to 0 to disable
- max_icon_size = 128
-
- # Paths to default icons (only neccesary when not using recursive icon lookup)
- icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
-
- ### History ###
-
- # Should a notification popped up from history be sticky or timeout
- # as if it would normally do.
- sticky_history = yes
-
- # Maximum amount of notifications kept in history
- history_length = 20
-
- ### Misc/Advanced ###
-
- # dmenu path.
- dmenu = /usr/bin/dmenu -p dunst:
-
- # Browser for opening urls in context menu.
- browser = /usr/bin/xdg-open
-
- # Always run rule-defined scripts, even if the notification is suppressed
- always_run_script = true
-
- # Define the title of the windows spawned by dunst
- title = Dunst
-
- # Define the class of the windows spawned by dunst
- class = Dunst
-
- # Define the corner radius of the notification window
- # in pixel size. If the radius is 0, you have no rounded
- # corners.
- # The radius will be automatically lowered if it exceeds half of the
- # notification height to avoid clipping text and/or icons.
- corner_radius = 10
-
- # Ignore the dbus closeNotification message.
- # Useful to enforce the timeout set by dunst configuration. Without this
- # parameter, an application may close the notification sent before the
- # user defined timeout.
- ignore_dbusclose = false
-
- ### Wayland ###
- # These settings are Wayland-specific. They have no effect when using X11
-
- # Uncomment this if you want to let notications appear under fullscreen
- # applications (default: overlay)
- # layer = top
-
- # Set this to true to use X11 output on Wayland.
- force_xwayland = false
-
- ### Legacy
-
- # Use the Xinerama extension instead of RandR for multi-monitor support.
- # This setting is provided for compatibility with older nVidia drivers that
- # do not support RandR and using it on systems that support RandR is highly
- # discouraged.
- #
- # By enabling this setting dunst will not be able to detect when a monitor
- # is connected or disconnected which might break follow mode if the screen
- # layout changes.
- force_xinerama = false
-
- ### mouse
-
- # Defines list of actions for each mouse event
- # Possible values are:
- # * none: Don't do anything.
- # * do_action: Invoke the action determined by the action_name rule. If there is no
- # such action, open the context menu.
- # * open_url: If the notification has exactly one url, open it. If there are multiple
- # ones, open the context menu.
- # * close_current: Close current notification.
- # * close_all: Close all notifications.
- # * context: Open context menu for the notification.
- # * context_all: Open context menu for all notifications.
- # These values can be strung together for each mouse event, and
- # will be executed in sequence.
- mouse_left_click = close_current
- mouse_middle_click = do_action, close_current
- mouse_right_click = close_all
-
-# Experimental features that may or may not work correctly. Do not expect them
-# to have a consistent behaviour across releases.
-[experimental]
- # Calculate the dpi to use on a per-monitor basis.
- # If this setting is enabled the Xft.dpi value will be ignored and instead
- # dunst will attempt to calculate an appropriate dpi value for each monitor
- # using the resolution and physical size. This might be useful in setups
- # where there are multiple screens with very different dpi values.
- per_monitor_dpi = false
-
-
-[urgency_low]
- # IMPORTANT: colors have to be defined in quotation marks.
- # Otherwise the "#" and following would be interpreted as a comment.
- background = "#222222F0"
- foreground = "#888888"
- frame_color = "#002684C8"
- timeout = 3
- # Icon for notifications with low urgency, uncomment to enable
- #default_icon = /path/to/icon
-
-[urgency_normal]
- background = "#222222F0"
- foreground = "#888888"
- frame_color = "#002684C8"
- timeout = 3
- # Icon for notifications with normal urgency, uncomment to enable
- #default_icon = /path/to/icon
-
-[urgency_critical]
- background = "#900000F0"
- foreground = "#ffffff"
- frame_color = "#ff0000C8"
- timeout = 0
- # Icon for notifications with critical urgency, uncomment to enable
- #default_icon = /path/to/icon
-
-# Every section that isn't one of the above is interpreted as a rules to
-# override settings for certain messages.
-#
-# Messages can be matched by
-# appname (discouraged, see desktop_entry)
-# body
-# category
-# desktop_entry
-# icon
-# match_transient
-# msg_urgency
-# stack_tag
-# summary
-#
-# and you can override the
-# background
-# foreground
-# format
-# frame_color
-# fullscreen
-# new_icon
-# set_stack_tag
-# set_transient
-# set_category
-# timeout
-# urgency
-# icon_position
-# skip_display
-# history_ignore
-# action_name
-# word_wrap
-# ellipsize
-# alignment
-# hide_text
-#
-# Shell-like globbing will get expanded.
-#
-# Instead of the appname filter, it's recommended to use the desktop_entry filter.
-# GLib based applications export their desktop-entry name. In comparison to the appname,
-# the desktop-entry won't get localized.
-#
-# SCRIPTING
-# You can specify a script that gets run when the rule matches by
-# setting the "script" option.
-# The script will be called as follows:
-# script appname summary body icon urgency
-# where urgency can be "LOW", "NORMAL" or "CRITICAL".
-#
-# NOTE: It might be helpful to run dunst -print in a terminal in order
-# to find fitting options for rules.
-
-# Disable the transient hint so that idle_threshold cannot be bypassed from the
-# client
-#[transient_disable]
-# match_transient = yes
-# set_transient = no
-#
-# Make the handling of transient notifications more strict by making them not
-# be placed in history.
-#[transient_history_ignore]
-# match_transient = yes
-# history_ignore = yes
-
-# fullscreen values
-# show: show the notifications, regardless if there is a fullscreen window opened
-# delay: displays the new notification, if there is no fullscreen window active
-# If the notification is already drawn, it won't get undrawn.
-# pushback: same as delay, but when switching into fullscreen, the notification will get
-# withdrawn from screen again and will get delayed like a new notification
-#[fullscreen_delay_everything]
-# fullscreen = delay
-#[fullscreen_show_critical]
-# msg_urgency = critical
-# fullscreen = show
-
-#[espeak]
-# summary = "*"
-# script = dunst_espeak.sh
-
-#[script-test]
-# summary = "*script*"
-# script = dunst_test.sh
-
-#[ignore]
-# # This notification will not be displayed
-# summary = "foobar"
-# skip_display = true
-
-#[history-ignore]
-# # This notification will not be saved in history
-# summary = "foobar"
-# history_ignore = yes
-
-#[skip-display]
-# # This notification will not be displayed, but will be included in the history
-# summary = "foobar"
-# skip_display = yes
-
-#[signed_on]
-# appname = Pidgin
-# summary = "*signed on*"
-# urgency = low
-#
-#[signed_off]
-# appname = Pidgin
-# summary = *signed off*
-# urgency = low
-#
-#[says]
-# appname = Pidgin
-# summary = *says*
-# urgency = critical
-#
-#[twitter]
-# appname = Pidgin
-# summary = *twitter.com*
-# urgency = normal
-#
-#[stack-volumes]
-# appname = "some_volume_notifiers"
-# set_stack_tag = "volume"
-#
-# vim: ft=cfg
diff --git a/environment.d/envvars.conf b/environment.d/envvars.conf
deleted file mode 100644
index f073bea..0000000
--- a/environment.d/envvars.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-GTK_CSD=0
-QT_QPA_PLATFORM=wayland
-QT_QPA_PLATFORMTHEME=qt5ct
-QT_WAYLAND_FORCE_DPI=96
-QT_AUTO_SCREEN_SCALE_FACTOR=0
-QT_WAYLAND_DISABLE_WINDOWDECORATION=1
-QT_SCALE_FACTOR=1
-XCURSOR_SIZE=24
-WAYLAND_DISPLAY=wayland-1
-XDG_CURRENT_DESKTOP=wlr
-GPG_TTY=$(tty)
-PATH=$PATH:$HOME/.local/bin
-TEXMFHOME=$HOME/.texmf
-PATH=/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:$HOME/.local/bin:$HOME/.cargo/bin:$PATH
-EDITOR=neovide
-SUDO_EDITOR=neovide
-PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
-LD_LIBRARY_PATH=/usr/local/lib
diff --git a/eww_desktop/bar/eww.scss b/eww_desktop/bar/eww.scss
deleted file mode 100644
index 1036c3a..0000000
--- a/eww_desktop/bar/eww.scss
+++ /dev/null
@@ -1,447 +0,0 @@
-/** EWW.SCSS
-Created by saimoom **/
-*{
- all: unset;
- font-family: feather;
- font-family: DaddyTimeMono Nerd Font;
-}
-
-/** General **/
-.bar_class {
- background-color: #0f0f17;
- border-radius: 16px;
-}
-.module {
- margin: 0px 0px 0px 0px;
- border-radius: 10px 16px 0px 10px;
-}
-
-/** tooltip!! **/
-tooltip.background {
- background-color: #0f0f17;
- font-size: 18;
- border-radius: 10px;
- color: #bfc9db;
-}
-
-tooltip label {
- margin: 6px;
-}
-
-
-/** Widgets **/
-
-.clock_time_sep {
- font-size: 16;
- color: #bfc9db;
- margin: 0px 4px 1px 4px;
-}
-.clock_time_class, .clock_minute_class {
- font-size: 23;
-}
-.clock_date_class {
- font-size: 18;
- margin: 0px 20px 0px -1px;
- color: #d7beda;
-}
-.clock_minute_class {
- margin: 0px 20px 0px 3px;
- color: #bfc9db;
-}
-
-.clock_time_class {
- color: #bfc9db;
- font-weight: bold;
- margin: 0px 5px 0px 0px;
-}
-
-
-.membar {
- color: #e0b089;
- background-color: #38384d;
- border-radius: 10px;
-}
-.batbar {
- color: #afbea2;
- background-color: #38384d;
- border-radius: 10px;
-}
-.brightbar trough highlight {
- background-image: linear-gradient(to right, #e4c9af 30%, #f2cdcd 50%, #e0b089 100% *50);
- border-radius: 10px;
-}
-.volbar trough highlight {
- background-image: linear-gradient(to right, #afcee0 30%, #a1bdce 50%, #77a5bf 100% *50);
- border-radius: 10px;
-}
-.volume_icon {
- font-size: 22;
- color: #a1bdce;
- margin: 0px 10px 0px 10px;
-}
-
-
-.module_essid {
- font-size: 18;
- color: #a1bdce;
- margin: 0px 10px 0px 0px;
-}
-.module-wif {
- font-size: 22;
- color: #a1bdce;
- border-radius: 100%;
- margin: 0px 10px 0px 5px;
-}
-
-.iconmem {
- color: #e0b089;
-}
-.iconbat {
- color: #afbea2;
-}
-.iconbat, .iconmem {
- font-size: 15;
- margin: 10px;
-}
-.bright_icon {
- font-size: 22;
- color: #e4c9af;
- margin: 0px 10px 0px 10px;
-}
-
-
-.separ {
- color: #3e424f;
- font-weight: bold;
- font-size: 22px;
- margin: 0px 8px 0px 8px;
- }
-
-.mem_module {
- background-color: #0f0f17;
- border-radius: 16px;
- margin: 0px 10px 0px 3px;
- }
-.bat_module {
- background-color: #0f0f17;
- border-radius: 16px;
- margin: 0px 10px 0px 10px;
- }
-
-
-scale trough {
- all: unset;
- background-color: #22242b;
- box-shadow: 0 2px 3px 2px #06060b;
- border-radius: 16px;
- min-height: 10px;
- min-width: 70px;
- margin: 0px 10px 0px 0px;
-}
-
-.works {
-font-size: 27px;
-font-weight: normal;
-margin: 5px 0px 0px 20px;
-background-color: #0f0f17;
-}
-
-.0 , .01, .02, .03, .04, .05, .06,
-.011, .022, .033, .044, .055, .066{
- margin: 0px 10px 0px 0px;
-}
-
-/* Unoccupied */
-.0 {
-color: #3e424f;
-}
-
-/* Occupied */
-.01, .02, .03, .04, .05, .06 {
- color: #bfc9db;
-}
-
-/* Focused */
-.011, .022, .033, .044, .055, .066 {
- color: #a1bdce;
-}
-
-
-.song_cover_art {
- background-size: cover;
- background-position: center;
- min-height: 24px;
- min-width: 24px;
- margin: 10px;
- border-radius: 100px;
-}
-
-.song {
- color: #a1bdce;
- font-size : 18px;
- font-weight : bold;
- margin : 3px 5px 0px 0px;
-}
-
-.song_btn_play {
- color: #a1bdce;
- font-size : 28px;
- margin : 3px 0px 0px 5px;
-
-}
-
-
-.song_btn_prev, .song_btn_next {
- color: #bfc9db;
- font-size : 24px;
- margin : 3px 0px 0px 5px;
-
-}
-// Calendar
-.cal {
- background-color: #0f0f17;
- font-family: JetBrainsMono Nerd Font;
- font-size: 18px;
- font-weight: normal;
-
-.cal-in {
- padding: 0px 10px 0px 10px;
- color: #bfc9db;
-
-.cal {
- &.highlight {
- padding: 20px;
- }
-
- padding: 5px 5px 5px 5px;
- margin-left: 10px;
- }
- }
-}
-
-calender {
- color: #bfc9db;
-}
-calendar:selected {
- color: #a1bdce;
-}
-
-calendar.header {
-color: #a1bdce;
-font-weight: bold;
-}
-
-calendar.button {
-color: #afbea2;
-}
-
-calendar.highlight {
-color: #a1bdce;
-font-weight: bold;
-}
-
-calendar:indeterminate {
-color: #bfc9db;
-}
-
-
-
-
-
-
-
-.sys_sep {
- color: #38384d;
- font-size: 18;
- margin: 0px 10px 0px 10px;
-}
-.sys_text_bat_sub, .sys_text_mem_sub {
- font-size: 16;
- color: #bbc5d7;
- margin: 5px 0px 0px 25px;
-}
-.sys_text_bat, .sys_text_mem {
- font-size: 21;
- font-weight: bold;
- margin: 14px 0px 0px 25px;
-}
-.sys_icon_bat, .sys_icon_mem {
- font-size: 30;
- margin: 30px;
-}
-.sys_win {
- background-color: #0f0f17;
-}
-.sys_bat {
- color: #afbea2;
- background-color: #38384d;
- border-radius: 10px;
-}
-.sys_mem {
- color: #e4c9af;
- background-color: #38384d;
- border-radius: 10px;
-}
-.sys_icon_bat, .sys_text_bat {
- color: #afbea2;
-}
-.sys_icon_mem, .sys_text_mem {
- color: #e4c9af;
-}
-.sys_bat_box {
- border-radius: 16px;
- margin: 15px 10px 10px 20px;
- }
-.sys_mem_box {
- border-radius: 16px;
- margin: 10px 10px 15px 20px;
- }
-
-
-
-
-
-
-
-.music_pop {
- background-color: #0f0f17;
- border-radius: 16px;
-}
- .music_cover_art {
- background-size: cover;
- background-position: center;
- min-height: 100px;
- box-shadow: 5px 5px 5px 5px #06060b;
- min-width: 170px;
- margin: 20px;
- border-radius: 20px;
-}
-
-.music {
- color: #a1bdce;
- font-size : 20px;
- font-weight : bold;
- margin : 20px 0px 0px -15px;
-}
-
-.music_artist {
- color: #bbc5d7;
- font-size : 16px;
- font-weight : normal;
- margin : 0px 0px 0px 0px;
-}
-
-.music_btn_prev, .music_btn_play, .music_btn_next {
- font-family: Iosevka Nerd Font;
-}
-.music_btn_prev {
- color: #bbc5d7;
- font-size : 32px;
- font-weight : normal;
- margin: 0px 0px 0px 0px;
-}
-.music_btn_play {
- color: #a1bdce;
- font-size : 48px;
- font-weight : normal;
- margin: 0px 0px 0px 0px;
-}
-.music_btn_next {
- color: #bbc5d7;
- font-size : 32px;
- font-weight : normal;
- margin: 0px 0px 0px 0px;
-}
-
-.music_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(to right, #afcee0 30%, #a1bdce 50%, #77a5bf 100% *50);
- border-radius: 24px;
-}
-.music_bar scale trough {
- all: unset;
- background-color: #232232;
- box-shadow: 0 6px 5px 2px #06060b;
- border-radius: 24px;
- min-height: 13px;
- min-width: 190px;
- margin : -10px 10px 20px 0px;
-}
-
-.audio-box {
- background-color: #0f0f17;
- border-radius: 16px;
-}
-.speaker_icon {
- background-size: cover;
- background-image: url('images/speaker.png');
- background-position: center;
- min-height: 70px;
- min-width: 75px;
- margin: 10px 20px 5px 20px;
- border-radius: 12px;
-}
-
-.speaker_text {
- color: #a1bdce;
- font-size : 26px;
- font-weight : bold;
- margin: 20px 0px 0px 0px;
-}
-
-.speaker_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(to right, #afcee0 30%, #a1bdce 50%, #77a5bf 100% *50);
- border-radius: 24px;
-}
-.speaker_bar scale trough {
- all: unset;
- background-color: #232232;
- box-shadow: 0 6px 5px 2px #06060b;
- border-radius: 24px;
- min-height: 13px;
- min-width: 120px;
- margin : 0px 0px 5px 0px;
-}
-
-
-
-
-.mic_icon {
- background-size: cover;
- background-image: url('images/mic.png');
- background-position: center;
- min-height: 70px;
- min-width: 75px;
- margin: 5px 20px 20px 20px;
- border-radius: 12px;
-}
-
-.mic_text {
- color: #a1bdce;
- font-size : 26px;
- font-weight : bold;
- margin: 0px 0px 0px 0px;
-}
-
-.mic_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(to right, #afcee0 30%, #a1bdce 50%, #77a5bf 100% *50);
- border-radius: 24px;
-}
-.mic_bar scale trough {
- all: unset;
- box-shadow: 0 6px 5px 2px #06060b;
- background-color: #232232;
- border-radius: 24px;
- min-height: 13px;
- min-width: 120px;
- margin : 0px 0px 20px 0px;
-}
-
-.audio_sep {
- color: #38384d;
- font-size: 18;
- margin : 0px 0px 0px 0px;
-}
-
diff --git a/eww_desktop/bar/eww.yuck b/eww_desktop/bar/eww.yuck
deleted file mode 100644
index c0663b5..0000000
--- a/eww_desktop/bar/eww.yuck
+++ /dev/null
@@ -1,352 +0,0 @@
-;; Variables
-(defpoll clock_time :interval "5m" "date +\%I")
-(defpoll clock_minute :interval "5s" "date +\%M")
-(defpoll clock_date :interval "10h" "date '+%d/%m'")
-(defpoll volume_percent :interval "3s" "amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'")
-(defpoll mic_percent :interval "3s" "amixer -D pulse sget Capture | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'")
-(defpoll brightness_percent :interval "5s" "brightnessctl -m -d intel_backlight | awk -F, '{print substr($4, 0, length($4)-1)}' | tr -d '%'")
-(defpoll battery :interval "15s" "./scripts/battery --bat")
-(defpoll battery_status :interval "1m" "./scripts/battery --bat-st")
-(defpoll memory :interval "15s" "scripts/memory")
-(defpoll memory_used_mb :interval "2m" "scripts/mem-ad used")
-(defpoll memory_total_mb :interval "2m" "scripts/mem-ad total")
-(defpoll memory_free_mb :interval "2m" "scripts/mem-ad free")
-(defvar vol_reveal false)
-(defvar br_reveal false)
-(defvar music_reveal false)
-(defvar wifi_rev false)
-(defvar time_rev false)
-(deflisten workspace "scripts/workspace")
-
-(defvar eww "$HOME/.local/bin/eww/eww -c $HOME/.config/eww/bar")
-
-
-(defpoll COL_WLAN :interval "1m" "~/.config/eww/bar/scripts/wifi --COL")
-(defpoll ESSID_WLAN :interval "1m" "~/.config/eww/bar/scripts/wifi --ESSID")
-(defpoll WLAN_ICON :interval "1m" "~/.config/eww/bar/scripts/wifi --ICON")
-
-
-(defpoll song :interval "2s" "~/.config/eww/bar/scripts/music_info --song")
-(defpoll song_artist :interval "2s" "~/.config/eww/bar/scripts/music_info --artist")
-(defpoll current_status :interval "1s" "~/.config/eww/bar/scripts/music_info --time")
-(defpoll song_status :interval "2s" "~/.config/eww/bar/scripts/music_info --status")
-(defpoll cover_art :interval "2s" "~/.config/eww/bar/scripts/music_info --cover")
-
-(defpoll calendar_day :interval "20h" "date '+%d'")
-(defpoll calendar_year :interval "20h" "date '+%Y'")
-
-;; widgets
-
-(defwidget wifi []
- (eventbox :onhover "${eww} update wifi_rev=true"
- :onhoverlost "${eww} update wifi_rev=false"
- (box :vexpand "false" :hexpand "false" :space-evenly "false"
- (button :class "module-wif" :onclick "networkmanager_dmenu" :wrap "false" :limit-width 12 :style "color: ${COL_WLAN};" WLAN_ICON)
- (revealer :transition "slideright"
- :reveal wifi_rev
- :duration "350ms"
- (label :class "module_essid"
- :text ESSID_WLAN
- :orientation "h"
- )))))
-
-
-(defwidget workspaces []
- (literal :content workspace))
-
-
-(defwidget bat []
- (box :class "bat_module" :vexpand "false" :hexpand "false"
- (circular-progress :value battery
- :class "batbar"
- :thickness 4
- (button
- :class "iconbat"
- :limit-width 2
- :tooltip "battery on ${battery}%"
- :show_truncated false
- :onclick "$HOME/.config/eww/bar/scripts/pop system"
- :wrap false
- ""))))
-
-
-(defwidget mem []
- (box :class "mem_module" :vexpand "false" :hexpand "false"
- (circular-progress :value memory
- :class "membar"
- :thickness 4
- (button
- :class "iconmem"
- :limit-width 2
- :tooltip "using ${memory}% ram"
- :onclick "$HOME/.config/eww/bar/scripts/pop system"
- :show_truncated false
- :wrap false
- ""))))
-
-
-
-(defwidget sep []
- (box :class "module-2" :vexpand "false" :hexpand "false"
- (label :class "separ" :text "|")))
-
-(defwidget clock_module []
- (eventbox :onhover "${eww} update time_rev=true"
- :onhoverlost "${eww} update time_rev=false"
- (box :class "module" :space-evenly "false" :orientation "h" :spacing "3"
- (label :text clock_time :class "clock_time_class" )
- (label :text "" :class "clock_time_sep" )
- (label :text clock_minute :class "clock_minute_class")
- (revealer :transition "slideleft"
- :reveal time_rev
- :duration "350ms"
- (button :class "clock_date_class"
- :onclick "$HOME/.config/eww/bar/scripts/pop calendar" clock_date
- )
- ))))
-
-(defwidget volume []
- (eventbox :onhover "${eww} update vol_reveal=true"
- :onhoverlost "${eww} update vol_reveal=false"
- (box :class "module-2" :space-evenly "false" :orientation "h" :spacing "3"
- (button :onclick "scripts/pop audio" :class "volume_icon" "")
- (revealer :transition "slideleft"
- :reveal vol_reveal
- :duration "350ms"
- (scale :class "volbar"
- :value volume_percent
- :orientation "h"
- :tooltip "${volume_percent}%"
- :max 100
- :min 0
- :onchange "amixer -D pulse sset Master {}%" )))))
-
-(defwidget bright []
- (eventbox :onhover "${eww} update br_reveal=true" :onhoverlost "${eww} update br_reveal=false"
- (box :class "module-2" :space-evenly "false" :orientation "h" :spacing "3"
- (label :text "" :class "bright_icon" :tooltip "brightness")
- (revealer :transition "slideleft"
- :reveal br_reveal
- :duration "350ms"
- (scale :class "brightbar"
- :value brightness_percent
- :orientation "h"
- :tooltip "${brightness_percent}%"
- :max 100
- :min 0
- :onchange "brightnessctl set {}%" )))))
-
-
-
- ;; Music
-(defwidget music []
- (eventbox :onhover "${eww} update music_reveal=true"
- :onhoverlost "${eww} update music_reveal=false"
- (box :class "module-2" :orientation "h" :space-evenly "false" :vexpand "false" :hexpand "false"
- (box :class "song_cover_art" :vexpand "false" :hexpand "false" :style "background-image: url('${cover_art}');")
- (button :class "song" :wrap "true" :onclick "~/.config/eww/bar/scripts/pop music" song)
- (revealer :transition "slideright"
- :reveal music_reveal
- :duration "350ms"
- (box :vexpand "false" :hexpand "false" :oreintation "h"
- (button :class "song_btn_prev" :onclick "~/.config/eww/bar/scripts/music_info --prev" "")
- (button :class "song_btn_play" :onclick "~/.config/eww/bar/scripts/music_info --toggle" song_status)
- (button :class "song_btn_next" :onclick "~/.config/eww/bar/scripts/music_info --next" ""))))))
-
-
-
-(defwidget left []
- (box :orientation "h"
- :space-evenly false
- :halign "end"
- :class "left_modules"
-(bright)
-(volume)
-(wifi)
-(sep)
-(bat)
-(mem)
-(sep)
-(clock_module)))
-
-
-(defwidget right []
- (box :orientation "h"
- :space-evenly false
- :halign "start"
- :class "right_modules"
-(workspaces)))
-
-
-(defwidget center []
- (box :orientation "h"
- :space-evenly false
- :halign "center"
- :class "center_modules"
-(music)))
-
-(defwidget bar_1 []
- (box :class "bar_class"
- :orientation "h"
- (right)
- (center)
- (left)
- ))
-
-(defwindow bar
- :monitor 0
- :geometry (geometry :x "0%"
- :y "9px"
- :width "98%"
- :height "30px"
- :anchor "top center")
- :stacking "fg"
- :wm-ignore true
- :windowtype "dock"
- (bar_1))
-
-(defwidget system []
- (box :class "sys_win" :orientation "v" :space-evenly "false" :hexpand "false" :vexpand "false" :spacing 0
- (box :class "sys_bat_box" :orientation "h" :space-evenly "false"
- (circular-progress :value battery
- :class "sys_bat"
- :thickness 9
- (label :text ""
- :class "sys_icon_bat"
- :limit-width 2
- :show_truncated false
- :wrap false))
- (box :orientation "v" :space-evenly "false" :spacing 0 :hexpand "false" :vexpand "false"
- (label :text "battery"
- :halign "start"
- :class "sys_text_bat"
- :limit-width 9
- :show_truncated false
- :wrap false)
- (label :text "${battery}%"
- :halign "start"
- :class "sys_text_bat_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)
- (label :text "${battery_status}"
- :halign "start"
- :class "sys_text_bat_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)))
- (label :text "" :class "sys_sep" :halign "center")
- (box :class "sys_mem_box" :orientation "h" :space-evenly "false" :halign "start"
- (circular-progress :value memory
- :class "sys_mem"
- :thickness 9
- (label :text ""
- :class "sys_icon_mem"
- :limit-width 2
- :show_truncated false
- :wrap false
- :angle 0.0))
- (box :orientation "v" :space-evenly "false" :spacing 0 :hexpand "false" :vexpand "false"
- (label :text "memory"
- :halign "start"
- :class "sys_text_mem"
- :limit-width 9
- :show_truncated false
- :wrap false)
- (label :text "${memory_used_mb} | ${memory_total_mb}mb "
- :halign "start"
- :class "sys_text_mem_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)
- (label :text "${memory_free_mb}mb free"
- :halign "start"
- :class "sys_text_mem_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)))))
-
-(defwidget cal []
- (box :class "cal" :orientation "v"
- (box :class "cal-in"
- (calendar :class "cal"
- :day calendar_day
- :year calendar_year))))
-
-(defwindow calendar
- :geometry (geometry :x "-20px"
- :y "7%"
- :anchor "top right"
- :width "270px"
- :height "60px")
-(cal))
-
-
-
-(defwidget audio []
- (box :class "audio-box" :orientation "v" :space-evenly "false" :vexpand "false" :hexpand "false"
- (box :halign "v" :space-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "speaker_icon" :orientation "v")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "speaker_text" :text "speaker" :valign "center" :halign "left" )
- (box :class "speaker_bar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value volume_percent
- :space-evenly "false"
- :orientation "h"
- :onchange "amixer -D pulse sset Master {}%"
- :tooltip "volume on ${volume_percent}%"
- :max 100
- :min 0))))
- (label :text "" :class "audio_sep" :halign "center")
- (box :halign "v" :space-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "mic_icon" :orientation "v")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "mic_text" :text "mic" :valign "center" :halign "left" )
- (box :class "mic_bar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value mic_percent
- :space-evenly "false"
- :orientation "h"
- :tooltip "mic on ${mic_percent}%"
- :onchange "amixer -D pulse sset Capture {}%"
- :max 100
- :min 0))))))
-
-(defwindow audio_ctl
- :geometry (geometry :x "-20px"
- :y "7%"
- :anchor "top right"
- :width "280px"
- :height "60px")
-(audio))
-
-
-(defwindow system
- :geometry (geometry :x "-20px"
- :y "7%"
- :anchor "top right"
- :width "290px"
- :height "120px")
-(system))
-
-
-
-;; Music
-(defwidget music_pop []
- (box :class "music_pop" :orientation "h" :space-evenly "false" :vexpand "false" :hexpand "false"
- (box :class "music_cover_art" :vexpand "false" :hexpand "false" :style "background-image: url('${cover_art}');")
- (box :orientation "v" :spacing 20 :space-evenly "false" :vexpand "false" :hexpand "false"
- (label :halign "center" :class "music" :wrap "true" :limit-width 13 :text song)
- (label :halign "center" :class "music_artist" :wrap "true" :limit-width 15 :text song_artist)
- (box :orientation "h" :spacing 15 :halign "center" :space-evenly "false" :vexpand "false" :hexpand "false"
- (button :class "music_btn_prev" :onclick "~/.config/eww/bar/scripts/music_info --prev" "")
- (button :class "music_btn_play" :onclick "~/.config/eww/bar/scripts/music_info --toggle" song_status)
- (button :class "music_btn_next" :onclick "~/.config/eww/bar/scripts/music_info --next" ""))
- (box :class "music_bar" :halign "center" :vexpand "false" :hexpand "false" :space-evenly "false"
- (scale :onscroll "mpc -q seek {}" :min 0 :active "true" :max 100 :value current_status)))))
-
-
-;; music
- (defwindow music_win :stacking "fg" :focusable "false" :screen 1
- :geometry (geometry :x "0" :y "7%" :width 428 :height 104 :anchor "top center")
- (music_pop))
-
diff --git a/eww_desktop/bar/images/mic.png b/eww_desktop/bar/images/mic.png
deleted file mode 100644
index d77f315..0000000
Binary files a/eww_desktop/bar/images/mic.png and /dev/null differ
diff --git a/eww_desktop/bar/images/music.png b/eww_desktop/bar/images/music.png
deleted file mode 100644
index 11804f5..0000000
Binary files a/eww_desktop/bar/images/music.png and /dev/null differ
diff --git a/eww_desktop/bar/images/profile.png b/eww_desktop/bar/images/profile.png
deleted file mode 100644
index 0190a36..0000000
Binary files a/eww_desktop/bar/images/profile.png and /dev/null differ
diff --git a/eww_desktop/bar/images/speaker.png b/eww_desktop/bar/images/speaker.png
deleted file mode 100644
index 79e005b..0000000
Binary files a/eww_desktop/bar/images/speaker.png and /dev/null differ
diff --git a/eww_desktop/bar/launch_bar b/eww_desktop/bar/launch_bar
deleted file mode 100755
index 51f2a1d..0000000
--- a/eww_desktop/bar/launch_bar
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-## Files and cmd
-FILE="$HOME/.cache/eww_launch.xyz"
-EWW="$HOME/.local/bin/eww/eww -c $HOME/.config/eww/bar"
-
-## Run eww daemon if not running already
-if [[ ! `pidof eww` ]]; then
- ${EWW} daemon
- sleep 1
-fi
-
-## Open widgets
-run_eww() {
- ${EWW} open-many \
- bar
-
-}
-
-## Launch or close widgets accordingly
-if [[ ! -f "$FILE" ]]; then
- touch "$FILE"
- run_eww && bspc config -m LVDS-1 top_padding 49
-else
- ${EWW} close-all && killall eww
- rm "$FILE"
-fi
diff --git a/eww_desktop/bar/scripts/battery b/eww_desktop/bar/scripts/battery
deleted file mode 100755
index 0540a1b..0000000
--- a/eww_desktop/bar/scripts/battery
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-battery() {
- BAT=`ls /sys/class/power_supply | grep BAT | head -n 1`
- cat /sys/class/power_supply/${BAT}/capacity
-}
-battery_stat() {
- BAT=`ls /sys/class/power_supply | grep BAT | head -n 1`
- cat /sys/class/power_supply/${BAT}/status
-}
-
-if [[ "$1" == "--bat" ]]; then
- battery
-elif [[ "$1" == "--bat-st" ]]; then
- battery_stat
-fi
-
diff --git a/eww_desktop/bar/scripts/mem-ad b/eww_desktop/bar/scripts/mem-ad
deleted file mode 100755
index 1e4cf89..0000000
--- a/eww_desktop/bar/scripts/mem-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-
-total="$(free -m | grep Mem: | awk '{ print $2 }')"
-used="$(free -m | grep Mem: | awk '{ print $3 }')"
-
-free=$(expr $total - $used)
-
-if [ "$1" = "total" ]; then
- echo $total
-elif [ "$1" = "used" ]; then
- echo $used
-elif [ "$1" = "free" ]; then
- echo $free
-fi
diff --git a/eww_desktop/bar/scripts/memory b/eww_desktop/bar/scripts/memory
deleted file mode 100755
index 217c834..0000000
--- a/eww_desktop/bar/scripts/memory
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
diff --git a/eww_desktop/bar/scripts/music_info b/eww_desktop/bar/scripts/music_info
deleted file mode 100755
index ffafe87..0000000
--- a/eww_desktop/bar/scripts/music_info
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/bash
-# scripts by adi1090x
-
-## Get data
-STATUS="$(mpc status)"
-COVER="/tmp/.music_cover.png"
-MUSIC_DIR="$HOME/Music"
-
-## Get status
-get_status() {
- if [[ $STATUS == *"[playing]"* ]]; then
- echo ""
- else
- echo "奈"
- fi
-}
-
-## Get song
-get_song() {
- song=`mpc -f %title% current`
- if [[ -z "$song" ]]; then
- echo "Offline"
- else
- echo "$song"
- fi
-}
-
-## Get artist
-get_artist() {
- artist=`mpc -f %artist% current`
- if [[ -z "$artist" ]]; then
- echo ""
- else
- echo "$artist"
- fi
-}
-
-## Get time
-get_time() {
- time=`mpc status | grep "%)" | awk '{print $4}' | tr -d '(%)'`
- if [[ -z "$time" ]]; then
- echo "0"
- else
- echo "$time"
- fi
-}
-get_ctime() {
- ctime=`mpc status | grep "#" | awk '{print $3}' | sed 's|/.*||g'`
- if [[ -z "$ctime" ]]; then
- echo "0:00"
- else
- echo "$ctime"
- fi
-}
-get_ttime() {
- ttime=`mpc -f %time% current`
- if [[ -z "$ttime" ]]; then
- echo "0:00"
- else
- echo "$ttime"
- fi
-}
-
-## Get cover
-get_cover() {
- ffmpeg -i "${MUSIC_DIR}/$(mpc current -f %file%)" "${COVER}" -y &> /dev/null
- STATUS=$?
-
- # Check if the file has a embbeded album art
- if [ "$STATUS" -eq 0 ];then
- echo "$COVER"
- else
- echo "images/music.png"
- fi
-}
-
-## Execute accordingly
-if [[ "$1" == "--song" ]]; then
- get_song
-elif [[ "$1" == "--artist" ]]; then
- get_artist
-elif [[ "$1" == "--status" ]]; then
- get_status
-elif [[ "$1" == "--time" ]]; then
- get_time
-elif [[ "$1" == "--ctime" ]]; then
- get_ctime
-elif [[ "$1" == "--ttime" ]]; then
- get_ttime
-elif [[ "$1" == "--cover" ]]; then
- get_cover
-elif [[ "$1" == "--toggle" ]]; then
- mpc -q toggle
-elif [[ "$1" == "--next" ]]; then
- { mpc -q next; get_cover; }
-elif [[ "$1" == "--prev" ]]; then
- { mpc -q prev; get_cover; }
-fi
diff --git a/eww_desktop/bar/scripts/pop b/eww_desktop/bar/scripts/pop
deleted file mode 100755
index aef82e8..0000000
--- a/eww_desktop/bar/scripts/pop
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/bash
-
-calendar() {
-LOCK_FILE="$HOME/.cache/eww-calendar.lock"
-EWW_BIN="$HOME/.local/bin/eww/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww/bar open calendar
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww/bar close system music_win audio_ctl
- touch "$LOCK_FILE"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww/bar close calendar
- rm "$LOCK_FILE" && echo "closed"
-fi
-}
-
-
-system() {
-LOCK_FILE_MEM="$HOME/.cache/eww-system.lock"
-EWW_BIN="$HOME/.local/bin/eww/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww/bar open system
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_MEM" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww/bar close calendar music_win audio_ctl
- touch "$LOCK_FILE_MEM"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww/bar close system
- rm "$LOCK_FILE_MEM" && echo "closed"
-fi
-}
-
-
-music() {
-LOCK_FILE_SONG="$HOME/.cache/eww-song.lock"
-EWW_BIN="$HOME/.local/bin/eww/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww/bar open music_win
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_SONG" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww/bar close system calendar
- touch "$LOCK_FILE_SONG"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww/bar close music_win
- rm "$LOCK_FILE_SONG" && echo "closed"
-fi
-}
-
-
-
-audio() {
-LOCK_FILE_AUDIO="$HOME/.cache/eww-audio.lock"
-EWW_BIN="$HOME/.local/bin/eww/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww/bar open audio_ctl
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_AUDIO" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww/bar close system calendar music
- touch "$LOCK_FILE_AUDIO"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww/bar close audio_ctl
- rm "$LOCK_FILE_AUDIO" && echo "closed"
-fi
-}
-
-
-if [ "$1" = "calendar" ]; then
-calendar
-elif [ "$1" = "system" ]; then
-system
-elif [ "$1" = "music" ]; then
-music
-elif [ "$1" = "audio" ]; then
-audio
-fi
diff --git a/eww_desktop/bar/scripts/wifi b/eww_desktop/bar/scripts/wifi
deleted file mode 100755
index 5d7cc59..0000000
--- a/eww_desktop/bar/scripts/wifi
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-status=$(nmcli g | grep -oE "disconnected")
-essid=$(nmcli c | grep wlp2s0 | awk '{print ($1)}')
-
-if [ $status ] ; then
- icon=""
- text=""
- col="#575268"
-
-else
- icon=""
- text="${essid}"
- col="#a1bdce"
-fi
-
-
-
-if [[ "$1" == "--COL" ]]; then
- echo $col
-elif [[ "$1" == "--ESSID" ]]; then
- echo $text
-elif [[ "$1" == "--ICON" ]]; then
- echo $icon
-fi
-
diff --git a/eww_desktop/bar/scripts/workspace b/eww_desktop/bar/scripts/workspace
deleted file mode 100755
index f202ef1..0000000
--- a/eww_desktop/bar/scripts/workspace
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-workspaces() {
-
-ws1="1"
-ws2="2"
-ws3="3"
-ws4="4"
-ws5="5"
-ws6="6"
-
-# Unoccupied
-un="0"
-
-# check if Occupied
-o1=$(bspc query -D -d .occupied --names | grep "$ws1" )
-o2=$(bspc query -D -d .occupied --names | grep "$ws2" )
-o3=$(bspc query -D -d .occupied --names | grep "$ws3" )
-o4=$(bspc query -D -d .occupied --names | grep "$ws4" )
-o5=$(bspc query -D -d .occupied --names | grep "$ws5" )
-o6=$(bspc query -D -d .occupied --names | grep "$ws6" )
-
-# check if Focused
-f1=$(bspc query -D -d focused --names | grep "$ws1" )
-f2=$(bspc query -D -d focused --names | grep "$ws2" )
-f3=$(bspc query -D -d focused --names | grep "$ws3" )
-f4=$(bspc query -D -d focused --names | grep "$ws4" )
-f5=$(bspc query -D -d focused --names | grep "$ws5" )
-f6=$(bspc query -D -d focused --names | grep "$ws6" )
-
-ic_1=""
-ic_2=""
-ic_3=""
-ic_4=""
-ic_5=""
-ic_6=""
-if [ $f1 ]; then
- ic_1=""
-elif [ $f2 ]; then
- ic_2=""
-elif [ $f3 ]; then
- ic_3=""
-elif [ $f4 ]; then
- ic_4=""
-elif [ $f5 ]; then
- ic_5=""
-elif [ $f6 ]; then
- ic_6=""
-fi
-
-echo "(box :class \"works\" :orientation \"h\" :spacing 5 :space-evenly \"false\" (button :onclick \"bspc desktop -f $ws1\" :class \"$un$o1$f1\" \"$ic_1\") (button :onclick \"bspc desktop -f $ws2\" :class \"$un$o2$f2\" \"$ic_2\") (button :onclick \"bspc desktop -f $ws3\" :class \"$un$o3$f3\" \"$ic_3\") (button :onclick \"bspc desktop -f $ws4\" :class \"$un$o4$f4\" \"$ic_4\") (button :onclick \"bspc desktop -f $ws5\" :class \"$un$o5$f5\" \"$ic_5\") (button :onclick \"bspc desktop -f $ws6\" :class \"$un$o6$f6\" \"$ic_6\"))"
-
-}
-workspaces
-bspc subscribe desktop node_transfer | while read -r _ ; do
-workspaces
-done
diff --git a/eww_desktop/eww.scss b/eww_desktop/eww.scss
deleted file mode 100644
index 8bb87fe..0000000
--- a/eww_desktop/eww.scss
+++ /dev/null
@@ -1,517 +0,0 @@
-* {
- all: unset;
- // font-family: feather;
- font-family: JetBrainsMono Nerd Font;
-}
-
-/** General **/
-.bar_class {
- background-color: #111017; /** #111017 old **/
- border-radius: 10px;
-}
-.module {
- margin: 0px 0px 0px 0px;
- border-radius: 10px 10px 0px 10px;
-}
-
-/** tooltip!! **/
-tooltip.background {
- background-color: #0f0f17;
- font-size: 14;
- border-radius: 10px;
- color: #bfc9db;
-}
-
-tooltip label {
- margin: 3px;
-}
-
-/** Widgets **/
-
-.clock_time_sep {
- font-size: 20;
- color: #71BBE6;
- margin: 0px 0px 1px 0px;
-}
-.clock_time_class,
-.clock_minute_class {
- font-size: 20;
-}
-.clock_date_class {
- font-size: 20;
- margin: 0px 5px 0px 5px;
- color: #71BBE6;
-}
-.clock_minute_class {
- margin: 0px 5px 0px 2px;
- color: #71BBE6;
-}
-.clock_time_class {
- color: #71BBE6;
- font-weight: bold;
- margin: 0px 0px 0px 8px;
-}
-
-.membar {
- color: #71BBE6;
- background-color: #38384d;
- border-radius: 10px;
-}
-
-.module_app_text {
- font-size: 20;
- margin: 2px 0px 0px 0px;
-}
-
-.bright_icon_overlay {
- font-size: 23;
- color: #71BBE6;
- background-size: cover;
- background-position: center;
- margin: 0px 27px 0px 3px;
-}
-.volume_icon {
- font-size: 20;
- color: #71BBE6;
- margin: 0px 5px 0px 0px;
-}
-.module-blu {
- font-size: 20;
- color: #71BBE6;
- border-radius: 100%;
- margin: 0px 10px 0px 0px;
-}
-
-.iconmem {
- font-size: 20;
- margin: 0px -3px 4px 8px;
- color: #71BBE6;
-}
-
-.mem_padding {
- margin: 10px;
-}
-
-.separ {
- color: #71BBE6;
- font-weight: bold;
- font-size: 20px;
- margin: 0px 0px 0px 0px;
-}
-
-.mem_module {
- background-color: #111017;
- border-radius: 16px;
- margin: 0px 10px 0px 0px;
-}
-
-scale trough {
- all: unset;
- background-color: #22242b;
- box-shadow: 0 2px 3px 2px #06060b;
- border-radius: 16px;
- min-height: 10px;
- min-width: 70px;
- margin: 0px 10px 0px 0px;
-}
-
-.works {
- font-size: 22px;
- font-weight: normal;
- margin: 0px 0px 0px 15px;
- background-color: #111017;
- color: #71BBE6;
-}
-
-.0,
-.01,
-.02,
-.03,
-.04,
-.05,
-.06,
-.011,
-.022,
-.033,
-.044,
-.055,
-.066 {
- margin: 0px 10px 0px 0px;
-}
-
-/* Unoccupied */
-.0 {
- color: #71BBE6;
-}
-
-/* Occupied */
-.01,
-.02,
-.03,
-.04,
-.05,
-.06 {
- color: #71BBE6;
-}
-
-/* Focused */
-.011,
-.022,
-.033,
-.044,
-.055,
-.066 {
- color: #71BBE6;
-}
-
-.song_cover_art {
- background-size: cover;
- background-position: center;
- min-height: 24px;
- min-width: 24px;
- margin: 10px;
- border-radius: 100px;
-}
-
-// Calendar
-.cal {
- border-radius: 10px;
- background-color: #0f0f17;
- font-family: JetBrainsMono Nerd Font;
- font-size: 18px;
- font-weight: normal;
-
- .cal-in {
- padding: 0px 10px 0px 10px;
- color: #bfc9db;
-
- .cal {
- &.highlight {
- padding: 20px;
- }
-
- padding: 5px 5px 5px 5px;
- margin-left: 10px;
- }
- }
-}
-
-calender {
- color: #71BBE6;
-}
-calendar:selected {
- color: #71BBE6;
-}
-
-calendar.header {
- color: #71BBE6;
- font-weight: bold;
-}
-
-calendar.button {
- color: #afbea2;
-}
-
-calendar.highlight {
- color: #a1bdce;
- font-weight: bold;
-}
-
-calendar:indeterminate {
- color: #bfc9db;
-}
-
-.sys_sep {
- color: #38384d;
- font-size: 18;
- margin: 0px 10px 0px 10px;
-}
-.sys_text_mem_sub {
- font-size: 16;
- color: #bbc5d7;
- margin: 5px 0px 0px 25px;
-}
-.sys_text_mem {
- color: #71BBE6;
- font-size: 21;
- font-weight: bold;
- margin: 14px 0px 0px 25px;
-}
-.sys_icon_mem {
- color: #71BBE6;
- font-size: 30;
- margin: 30px;
-}
-.sys_win {
- border-radius: 10px;
- background-color: #0f0f17;
-}
-
-.sys_mem {
- color: #71BBE6;
- background-color: #38384d;
- border-radius: 10px;
-}
-
-.sys_icon_mem,
-.sys_text_mem {
- color: #71BBE6;
-}
-
-.sys_mem_box {
- border-radius: 16px;
- margin: 10px 10px 15px 20px;
-}
-
-.audio-box {
- background-color: #0f0f17;
- border-radius: 16px;
-}
-.speaker_icon {
- background-size: cover;
- background-image: url("images/speaker.png");
- background-position: center;
- min-height: 40px;
- min-width: 45px;
- margin: 10px 10px 5px 20px;
- border-radius: 12px;
-}
-
-.speaker_text {
- color: #a1bdce;
- font-size: 22px;
- font-weight: bold;
- margin: 5px 15px 0px 15px;
-}
-.bright_text {
- color: #a1bdce;
- font-size: 22px;
- font-weight: bold;
- margin: 5px 15px 0px 25px;
-}
-
-.change_audio_box {
- margin: 0px 0px 0px 10px;
-}
-
-.change_audio {
- color: #a1bdce;
- margin: 0px 50px 0px 50px;
- font-size: 30px;
- font-weight: bold;
-}
-
-.speaker_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(
- to right,
- #afcee0 30%,
- #a1bdce 50%,
- #77a5bf 100% * 50
- );
- border-radius: 24px;
-}
-.speaker_bar scale trough {
- all: unset;
- background-color: #232232;
- box-shadow: 0 6px 5px 2px #06060b;
- border-radius: 24px;
- min-height: 10px;
- min-width: 100px;
- margin: 0px 0px 5px 0px;
-}
-
-.mic_icon {
- background-size: cover;
- background-image: url("images/mic.png");
- background-position: center;
- min-height: 40px;
- min-width: 45px;
- margin: 5px 20px 20px 10px;
- border-radius: 12px;
-}
-
-.mic_text {
- color: #71BBE6;
- font-size: 26px;
- font-weight: bold;
- margin: 0px 0px 0px 0px;
-}
-
-.mic_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(
- to right,
- #afcee0 30%,
- #a1bdce 50%,
- #77a5bf 100% * 50
- );
- border-radius: 24px;
-}
-.mic_bar scale trough {
- all: unset;
- box-shadow: 0 6px 5px 2px #06060b;
- background-color: #232232;
- border-radius: 24px;
- min-height: 10px;
- min-width: 100px;
- margin: 6px 0px 20px 0px;
-}
-
-.audio_sep {
- color: #38384d;
- font-size: 18;
- margin: 0px 0px 0px 0px;
-}
-
-//cockpit stuff
-
-.cockpit_class {
- all: unset;
-}
-
-.cockpit_clock {
- padding: 0px 30px 0px 30px;
-}
-
-.cockpit_box {
- background-color: #06060b;
- border-radius: 10px;
- margin: 5px;
- padding: 0px 5px 0px 5px;
- opacity: 0.85;
-}
-
-.cockpit_button_shutdown {
- color: red;
- font-size: 40px;
- margin: 0px 5px -30px 5px;
-}
-
-.cockpit_button_sleep {
- color: blue;
- font-size: 40px;
- margin: 0px 5px -30px 5px;
-}
-
-.cockpit_button_restart {
- color: green;
- font-size: 40px;
- margin: 0px 5px -30px 5px;
-}
-
-.song_info {
- margin: -50px 0px 0px 0px;
- font-size: 20px;
- color: grey;
-}
-
-.album_cover {
- margin: -60px 10px 20px 10px;
- padding: 0px;
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- border-radius: 10px;
-}
-
-.cockpit_button_settings {
- color: #d35d6e;
- font-size: 35px;
- margin: -30px 5px 0px 5px;
-}
-
-.weather-icon {
- font-size: 80px;
- margin: 10px 0px 5px 10px;
- font-family: JetBrainsMono Nerd Font;
-}
-
-.weather-stat {
- font-size: 30px;
- font-weight: bold;
- color: #d35d6e;
- margin: -5px 0px 10px 50px;
-}
-
-.temperature {
- color: grey;
- font-size: 48px;
- font-weight: 900;
- margin: 0px 0px 0px 20px;
-}
-.weather-quote {
- margin: 20px 10px 1000px 10px;
- font-size: 20px;
-}
-.weather-quote-head,
-.weather-quote-tail {
- color: grey;
- font-size: 18px;
- margin: 0px 0px 10px 0px;
-}
-
-.cockpit_clock_left {
- font-size: 50px;
- font-weight: bold;
- color: #d35d6e;
- margin: 5px -20px -30px 0px;
-}
-
-.cockpit_clock_right {
- font-size: 50px;
- font-weight: bold;
- color: #d35d6e;
- margin: 5px 0px -30px -20px;
-}
-
-.cockpit_date {
- font-size: 50px;
- font-weight: bold;
- color: #d35d6e;
- margin: -30px -20px 0px -20px;
-}
-
-.cockpit_clock_sep {
- font-size: 40px;
- font-weight: bold;
- color: #d35d6e;
- margin: 0px -20px -30px -20px;
-}
-
-.cockpit_docs {
- color: red;
- font-size: 30px;
- margin: 10px 0px -10px 0px;
-}
-
-.cockpit_pics {
- color: green;
- font-size: 30px;
- margin: 0px 0px 0px 0px;
- padding: 0px;
-}
-
-.cockpit_gits {
- color: blue;
- font-size: 30px;
- margin: -20px 0px 10px 0px;
-}
-
-.cockpit_sep_bottom {
- color: #38384d;
- font-size: 18;
- margin: -10px 0px 0px 0px;
- padding: 0px;
-}
-
-.cockpit_sep_top {
- color: #38384d;
- font-size: 18;
- margin: 0px 0px -10px 0px;
- padding: 0px;
-}
-
-.windowname {
- color: #71BBE6;
-}
diff --git a/eww_desktop/eww.yuck b/eww_desktop/eww.yuck
deleted file mode 100644
index 45cff80..0000000
--- a/eww_desktop/eww.yuck
+++ /dev/null
@@ -1,354 +0,0 @@
-;; date definitions ;;
-(defpoll clock_time :interval "5s" "date +\%I")
-(defpoll clock_minute :interval "5s" "date +\%M")
-(defpoll clock_date :interval "1h" "date '+%d/%m'")
-
-;; volume definitions ;;
-(defpoll volume_percent :interval "1s" "pactl get-sink-volume @DEFAULT_SINK@ | awk -F '/' ' { print $2 } ' | tr -d ' %'")
-(defpoll mic_percent :interval "1s" "pactl get-source-volume @DEFAULT_SOURCE@ | awk -F'/' '{ print $2 }' | tr -d ' %'")
-
-;; memory definitions ;;
-(defpoll memory :interval "15s" "scripts/memory")
-(defpoll memory_used_mb :interval "2m" "scripts/mem-ad used")
-(defpoll memory_total_mb :interval "2m" "scripts/mem-ad total")
-(defpoll memory_free_mb :interval "2m" "scripts/mem-ad free")
-
-;; music definitions ;;
-(defpoll Song_info :interval "2s" "scripts/music_control")
-(defpoll Thumbnail :interval "2s" "scripts/music_control2")
-
-;; calendar definitions ;;
-(defpoll calendar_day :interval "20h" "date '+%d'")
-(defpoll calendar_year :interval "20h" "date '+%Y'")
-
-;; Weather vars
-(defpoll weather-icon :interval "21m" "cat ~/.cache/weather/weather-icon")
-(defpoll temperature :interval "21m" "cat ~/.cache/weather/weather-degree")
-(defpoll weather-hex :interval "21m" "cat ~/.cache/weather/weather-hex")
-(defpoll weather-stat :interval "21m" "cat ~/.cache/weather/weather-stat")
-(defpoll weather-stat-side :interval "21m" "~/.config/eww/scripts/weather-trimmer")
-(defpoll weather-quote :interval "21m" "~/.config/eww/scripts/getwethquote")
-(defpoll weather-quote2 :interval "21m" "~/.config/eww/scripts/getwethquote2")
-
-;; simple variables ;;
-(defvar eww "$HOME/.local/bin/eww -c $HOME/.config/eww")
-(defvar vol_reveal false)
-(defvar br_reveal false)
-(defvar music_reveal false)
-(defvar wifi_rev false)
-(defvar time_rev false)
-(defvar current_monitor 0)
-(deflisten workspace "scripts/workspace")
-(deflisten currentName "scripts/current_name")
-
-
-;; widgets
-(defwidget bluetooth []
- (box :vexpand "false" :hexpand "false" :space-evenly "false"
- (button :class "module-blu" :onclick "hyprctl dispatch exec 'blueman-manager'" :wrap "false" :limit-width 12 "")
- ))
-
-;; workspaces ;;
-(defwidget workspaces []
- (literal :content workspace))
-
-;; memory ;;
-(defwidget mem []
- (box :class "mem_module" :vexpand "false" :hexpand "false"
- (button :class "iconmem"
- :onclick "$HOME/.config/eww/scripts/pop system"
- (circular-progress :value memory
- :class "membar"
- :thickness 4
- :tooltip "using ${memory}% ram"
- :show_truncated false
- :wrap false
- (label :class "mem_padding" :text "")
- ))))
-
-;; seperator ;;
-(defwidget sep []
- (box :class "module-2" :vexpand "false" :hexpand "false"
- (label :class "separ" :text "|")))
-
-;; clock ;;
-(defwidget clock_module []
- (eventbox :onhover "${eww} update time_rev=true"
- :onhoverlost "${eww} update time_rev=false"
- (button :onclick "scripts/pop calendar"
- (box :class "module" :space-evenly "false" :orientation "h" :spacing "3"
- (label :text clock_time :class "clock_time_class" )
- (label :text "" :class "clock_time_sep" )
- (label :text clock_minute :class "clock_minute_class")
- (revealer :class "clock_date_class"
- :transition "slideleft"
- :reveal time_rev
- :duration "350ms"
- clock_date
- )))))
-
-;; speaker volume ;;
-(defwidget volume []
- (box :class "module-2" :space-evenly "false" :orientation "h" :spacing "3"
- (button :onclick "scripts/pop audio" :class "volume_icon" "")))
-
-;; audio volume widget ;;
-(defwidget audio []
- (eventbox :onhover "scripts/pop hoverCreate"
- :onhoverlost "scripts/pop hoverGet audio_ctl"
- (box :class "audio-box" :orientation "v" :space-evenly "false" :vexpand "false" :hexpand "false"
- (box :halign "center" :space-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "speaker_icon" :orientation "v")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "speaker_text" :text "speaker" :valign "center" :halign "left" )
- (box :class "speaker_bar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value volume_percent
- :space-evenly "false"
- :orientation "h"
- :onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
- :tooltip "volume on ${volume_percent}%"
- :max 100
- :min 0))))
- (label :text "" :class "audio_sep" :halign "center")
- (box :halign "center" :space-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "mic_icon" :orientation "v")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "speaker_text" :text "mic" :valign "center" :halign "left" )
- (box :class "mic_bar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value mic_percent
- :space-evenly "false"
- :orientation "h"
- :tooltip "mic on ${mic_percent}%"
- :onchange "pactl set-source-volume @DEFAULT_SOURCE@ {}%"
- :max 100
- :min 0))))
- (label :text "" :class "audio_sep" :halign "center")
- (box :class "change_audio_box" :halign "center" :spac`e-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "change_audio" :orientation "v" :halign "left"
- (button :onclick "scripts/change-audio internal" ""))
- (box :class "change_audio" :orientation "v" :halign "right"
- (button :onclick "scripts/change-audio bluetooth" ""))
- ))))
-
-(defwidget cname []
- (literal :class "windowname" :content currentName))
-
-;; calendar ;;
-(defwidget cal []
- (eventbox :onhover "scripts/pop hoverCreate"
- :onhoverlost "scripts/pop hoverGet calendar"
- (box :class "cal" :orientation "v"
- (box :class "cal-in"
- (calendar :class "cal"
- :day calendar_day
- :year calendar_year)))))
-
-(defwidget system []
- (eventbox :onhover "scripts/pop hoverCreate"
- :onhoverlost "scripts/pop hoverGet system"
- (box :class "sys_win" :orientation "v" :space-evenly "false" :hexpand "false" :vexpand "false" :spacing 0
- (box :class "sys_mem_box" :orientation "h" :space-evenly "false" :halign "start"
- (circular-progress :value memory
- :class "sys_mem"
- :thickness 9
- (label :text ""
- :class "sys_icon_mem"
- :limit-width 2
- :show_truncated false
- :wrap false
- :angle 0.0))
- (box :orientation "v" :space-evenly "false" :spacing 0 :hexpand "false" :vexpand "false"
- (label :text "memory"
- :halign "start"
- :class "sys_text_mem"
- :limit-width 9
- :show_truncated false
- :wrap false)
- (label :text "${memory_used_mb} | ${memory_total_mb}mb "
- :halign "start"
- :class "sys_text_mem_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)
- (label :text "${memory_free_mb}mb free"
- :halign "start"
- :class "sys_text_mem_sub"
- :limit-width 22
- :show_truncated false
- :wrap false))))))
-
-;; cockpit widget ;;
-(defwidget cockpit []
- (box :orientation "h"
- (box :class "cockpit_class"
- :orientation "h"
- (box :orientation "v"
- (box :class "cockpit_box" :orientation "v"
- (box
- (button :class "cockpit_button_shutdown" :onclick "hyprctl dispatch exec 'shutdown now'" "")
- (button :class "cockpit_button_restart" :onclick "hyprctl dispatch exec reboot" "")
- (button :class "cockpit_button_sleep" :onclick "hyprctl dispatch exec 'playerctl -a pause & swaylock -c 000000 & systemctl suspend'" "⏾"))
- (label :text "" :class "audio_sep" :halign "center")
- (box
- (button :class "cockpit_button_settings" :onclick "hyprctl dispatch exec 'pavucontrol'" "")
- (button :class "cockpit_button_settings" :onclick "scripts/change-audio bluetooth" "")))
- (box :class "cockpit_box" :orientation "v"
- (button :class "cockpit_docs" :onclick "hyprctl dispatch exec nautilus $HOME/Documents" "Documents ")
- (label :text "" :class "cockpit_sep_top" :halign "center")
- (button :class "cockpit_pics" :onclick "hyprctl dispatch exec nautilus $HOME/Pictures" "Pictures ")
- (label :text "" :class "cockpit_sep_bottom" :halign "center")
- (button :class "cockpit_gits" :onclick "hyprctl dispatch exec 'alacritty --working-directory $HOME/gits'" "gits ")))
- (box :orientation "v"
- (box :class "cockpit_box" :orientation "v"
- (box :class "cockpit_clock"
- (label :text clock_time :class "cockpit_clock_left" )
- (label :text "" :class "cockpit_clock_sep" )
- (label :text clock_minute :class "cockpit_clock_right"))
- (label :text "" :class "audio_sep" :halign "center")
- (box :class "cockpit_clock"
- (label :text clock_date :class "cockpit_date")
- ))
- (box :class "cockpit_box" (weather)))
- (box :width 300 :height 200 :class "cockpit_box" :orientation "v"
- (box :class "song_info"
- (label :wrap true :text "${Song_info}"))
- (box :class "album_cover" :style 'background-image: url("${Thumbnail}")')
- )))
-)
-
-;; weather ;;
- (defwidget weather []
- (box :orientation "v" :space-evenly "false"
- (box :orientation "h" :space-evenly "false"
- (box :class "weather-icon" :style "color: ${weather-hex}" {weather-icon})
- (box :class "temperature" "${temperature}"))
- (box :orientation "v" :space-evenly "false"
- (box :class "weather-stat" {weather-stat}))
- (box :class "weather-quote-head"
- (label :wrap true :text {weather-quote}))))
-
-;; left side but displayed right? ;;
-(defwidget left []
- (box :orientation "h"
- :space-evenly false
- :halign "end"
- :class "left_modules"
-(volume)
-(bluetooth)
-(sep)
-(mem)
-(sep)
-(clock_module)))
-
-;; right side but displayed left? ;;
-(defwidget right []
- (box :orientation "h"
- :space-evenly false
- :halign "start"
- :class "right_modules"
-(workspaces)))
-
-;; center widget ;;
-(defwidget center []
- (box :orientation "h"
- :space-evenly false
- :halign "center"
- :class "center_modules"
-(cname)))
-
-;; bar as widget;;
-(defwidget bar_1 []
- (box :class "bar_class"
- :orientation "h"
- (right)
- (center)
- (left)
- ))
-
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Drawing Windows ;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defwindow calendar
- :monitor 0
- :geometry (geometry :x "20px"
- :y "2px"
- :anchor "top right"
- :width "270px"
- :height "60px")
- :stacking "overlay"
-(cal))
-
-(defwindow audio_ctl
- :monitor 0
- :geometry (geometry :x "120px"
- :y "2px"
- :anchor "top right"
- :width "250px"
- :height "230px")
- :stacking "overlay"
-(audio))
-
-(defwindow system
- :monitor 0
- :geometry (geometry :x "50px"
- :y "2px"
- :anchor "top right"
- :width "290px"
- :height "120px")
- :stacking "overlay"
-(system))
-
-;; draw the bar ;;
-(defwindow bar
- :monitor 0
- :geometry (geometry :x "0%"
- :y "0px"
- :width "3440px"
- :height "10px"
- :anchor "top center")
- :stacking "bottom"
- :wm-ignore false
- :exclusive true
- (bar_1))
-
-;; draw the cockpit monitor 0 ;;
-(defwindow cockpit_window_0
- :monitor 0
- :geometry (geometry :x "1470px"
- :y "420px"
- :width "600px"
- :height "400px"
- :anchor "center")
- :stacking "overlay"
- :wm-ignore false
- :exclusive true
- (cockpit))
-
-
-;; draw the cockpit monitor 1 ;;
-(defwindow cockpit_window_1
- :monitor 1
- :geometry (geometry
- :width "600px"
- :height "400px"
- :anchor "center")
- :stacking "overlay"
- :wm-ignore false
- :exclusive true
- (cockpit))
-
-
-;; draw the cockpit monitor 2 ;;
-(defwindow cockpit_window_2
- :monitor 2
- :geometry (geometry
- :width "600px"
- :height "400px"
- :anchor "center")
- :stacking "overlay"
- :wm-ignore false
- :exclusive true
- (cockpit))
diff --git a/eww_desktop/images/mic.png b/eww_desktop/images/mic.png
deleted file mode 100644
index d77f315..0000000
Binary files a/eww_desktop/images/mic.png and /dev/null differ
diff --git a/eww_desktop/images/music.png b/eww_desktop/images/music.png
deleted file mode 100644
index 11804f5..0000000
Binary files a/eww_desktop/images/music.png and /dev/null differ
diff --git a/eww_desktop/images/profile.png b/eww_desktop/images/profile.png
deleted file mode 100644
index 0190a36..0000000
Binary files a/eww_desktop/images/profile.png and /dev/null differ
diff --git a/eww_desktop/images/speaker.png b/eww_desktop/images/speaker.png
deleted file mode 100644
index 79e005b..0000000
Binary files a/eww_desktop/images/speaker.png and /dev/null differ
diff --git a/eww_desktop/launch_bar b/eww_desktop/launch_bar
deleted file mode 100755
index 205cd60..0000000
--- a/eww_desktop/launch_bar
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-## Files and cmd
-FILE="$HOME/.cache/eww_launch.xyz"
-EWW="$HOME/.local/bin/eww -c $HOME/.config/eww"
-
-## Run eww daemon if not running already
-if [[ ! `pidof eww` ]]; then
- ${EWW} daemon
- sleep 1
-fi
-
-## Open widgets
-run_eww() {
- ${EWW} open-many \
- bar
-
-}
-
-## Launch or close widgets accordingly
-if [[ ! -f "$FILE" ]]; then
- touch "$FILE"
- run_eww && bspc config -m LVDS-1 top_padding 49
-else
- ${EWW} close-all && killall eww
- rm "$FILE"
-fi
diff --git a/eww_desktop/scripts/audio_devices b/eww_desktop/scripts/audio_devices
deleted file mode 100755
index 1548cfd..0000000
--- a/eww_desktop/scripts/audio_devices
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-CLIENTS=$(pactl list sink-inputs | grep "application.process.binary" | awk -F '= ' ' { print $2 } ' | tr -d '"')
-
-readarray -t lines <<<"$CLIENTS"
-
-printf "%s\n" "${lines[@]}"
-echo ${lines[2]}
-
-
-#echo "(box :class \"works\" :orientation \"h\" :spacing 5 :space-evenly \"false\" (button :onclick \"hyprctl dispatch workspace 1\" :class \"$un$o1$f1\" \"$ic_1\") (button :onclick \"hyprctl dispatch workspace 2\" :class \"$un$o2$f2\" \"$ic_2\") (button :onclick \"hyprctl dispatch workspace 3\" :class \"$un$o3$f3\" \"$ic_3\") (button :onclick \"hyprctl dispatch workspace 4\" :class \"$un$o4$f4\" \"$ic_4\") (button :onclick \"hyprctl dispatch workspace 5\" :class \"$un$o5$f5\" \"$ic_5\") (button :onclick \"hyprctl dispatch workspace 6\" :class \"$un$o6$f6\" \"$ic_6\") (button :onclick \"hyprctl dispatch workspace 7\" :class \"$un$o7$f7\" \"$ic_7\") (button :onclick \"hyprctl dispatch workspace 8\" :class \"$un$o8$f8\" \"$ic_8\"))"
-
- # (eventbox :onhover "scripts/pop hoverCreate"
- # :onhoverlost "scripts/pop hoverGet audio_ctl"
- # (box :class "audio-box" :orientation "v" :space-evenly "false" :vexpand "false" :hexpand "false"
-
- # (box :halign "center" :space-evenly "false" :hexpand "false" :vexpand "false"
- # (box :class "speaker_icon" :orientation "v")
- # (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- # (label :class "speaker_text" :text "speaker" :valign "center" :halign "left" )
- # (box :class "speaker_bar" :halign "center" :vexpand "false" :hexpand "false"
- # (scale :value volume_percent
- # :space-evenly "false"
- # :orientation "h"
- # :onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
- # :tooltip "volume on ${volume_percent}%"
- # :max 100
- # :min 0))))
-
- # (label :text "" :class "audio_sep" :halign "center")
-
- # ))))
diff --git a/eww_desktop/scripts/battery b/eww_desktop/scripts/battery
deleted file mode 100755
index 091e715..0000000
--- a/eww_desktop/scripts/battery
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/bash
-
-bat=/sys/class/power_supply/BAT0/
-per="$(cat "$bat/capacity")"
-char="$(cat "$bat/status")"
-
-icon() {
-
-#[ $(cat "$bat/status") = Charging ] && echo "" && exit
-
-if [ "$char" == "Charging" ]; then
- if [ "$per" -gt "90" ]; then
- icon=""
- elif [ "$per" -gt "80" ]; then
- icon=""
- elif [ "$per" -gt "70" ]; then
- icon=""
- elif [ "$per" -gt "60" ]; then
- icon=""
- elif [ "$per" -gt "50" ]; then
- icon=""
- elif [ "$per" -gt "40" ]; then
- icon=""
- elif [ "$per" -gt "30" ]; then
- icon=""
- elif [ "$per" -gt "20" ]; then
- icon=""
- elif [ "$per" -gt "10" ]; then
- icon=""
- elif [ "$per" -gt "0" ]; then
- icon=""
- else
- echo && exit
- fi
-else
- if [ "$per" -gt "90" ]; then
- icon=""
- elif [ "$per" -gt "80" ]; then
- icon=""
- elif [ "$per" -gt "70" ]; then
- icon=""
- elif [ "$per" -gt "60" ]; then
- icon=""
- elif [ "$per" -gt "50" ]; then
- icon=""
- elif [ "$per" -gt "40" ]; then
- icon=""
- elif [ "$per" -gt "30" ]; then
- icon=""
- elif [ "$per" -gt "20" ]; then
- icon=""
- elif [ "$per" -gt "10" ]; then
- icon=""
- notify-send -u critical "Battery Low" "Connect Charger"
- elif [ "$per" -gt "0" ]; then
- icon=""
- notify-send -u critical "Battery Low" "Connect Charger"
- else
- echo && exit
- fi
-fi
- echo "$icon"
-}
-
-percent() {
- echo $per
-}
-
-stat() {
- echo $char
-}
-
-[ "$1" = "icon" ] && icon && exit
-[ "$1" = "percent" ] && percent && exit
-[ "$1" = 'stat' ] && stat && exit
-exit
-
diff --git a/eww_desktop/scripts/cockpit_toggle b/eww_desktop/scripts/cockpit_toggle
deleted file mode 100755
index 30a714e..0000000
--- a/eww_desktop/scripts/cockpit_toggle
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /bin/bash
-
-ISOPEN=$(eww windows | grep "*cockpit" | tr -d '*')
-
-
-if [ "$ISOPEN" = "" ]; then
-MONITOR=$(hyprctl monitors | grep -B 11 "focused: yes" | grep "ID" | awk -F '(' ' { print $2 } ' | tr -d 'ID ):')
- eww open cockpit_window_"$MONITOR"
-else
- eww close "$ISOPEN"
-fi
diff --git a/eww_desktop/scripts/current_name b/eww_desktop/scripts/current_name
deleted file mode 100755
index 224bfac..0000000
--- a/eww_desktop/scripts/current_name
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-currentName() {
- win=$(hyprctl activewindow | grep class | awk -F ':' '{print $2}' | tr -d ' ')
- echo "(box :class \"module_app_text\" :space-evenly \"false\" :orientation \"h\" :spacing \"3\" (label :text \"$win\"))"
-}
-currentName
-tail -f /tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | grep -E --line-buffered "focus to surface" | while read -r; do
-currentName
-done
diff --git a/eww_desktop/scripts/getwethquote b/eww_desktop/scripts/getwethquote
deleted file mode 100755
index 7bfaf34..0000000
--- a/eww_desktop/scripts/getwethquote
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo -e $(cat $HOME/.cache/weather/weather-quote) | head -n1
diff --git a/eww_desktop/scripts/getwethquote2 b/eww_desktop/scripts/getwethquote2
deleted file mode 100755
index a34afa9..0000000
--- a/eww_desktop/scripts/getwethquote2
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo -e $(cat $HOME/.cache/weather/weather-quote) | tail -n1
diff --git a/eww_desktop/scripts/mem-ad b/eww_desktop/scripts/mem-ad
deleted file mode 100755
index 0495e00..0000000
--- a/eww_desktop/scripts/mem-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-
-total="$(free -m | grep Mem: | awk '{ print $2 }')"
-used="$(free -m | grep Mem: | awk '{ print $3 }')"
-
-free=$(expr $total - $used)
-
-if [ "$1" = "total" ]; then
- echo $total
-elif [ "$1" = "used" ]; then
- echo $used
-elif [ "$1" = "free" ]; then
- echo $free
-fi
diff --git a/eww_desktop/scripts/memory b/eww_desktop/scripts/memory
deleted file mode 100755
index da37c1d..0000000
--- a/eww_desktop/scripts/memory
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
diff --git a/eww_desktop/scripts/music_control b/eww_desktop/scripts/music_control
deleted file mode 100755
index 70a1483..0000000
--- a/eww_desktop/scripts/music_control
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo $(playerctl metadata -p ncspot,%any --format "{{ artist }}\n{{ album }}\n{{ title }}")
diff --git a/eww_desktop/scripts/music_control2 b/eww_desktop/scripts/music_control2
deleted file mode 100755
index 42dca7f..0000000
--- a/eww_desktop/scripts/music_control2
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-echo $(playerctl -p ncspot,%any metadata mpris:artUrl)
-
diff --git a/eww_desktop/scripts/music_info b/eww_desktop/scripts/music_info
deleted file mode 100755
index ffafe87..0000000
--- a/eww_desktop/scripts/music_info
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/bash
-# scripts by adi1090x
-
-## Get data
-STATUS="$(mpc status)"
-COVER="/tmp/.music_cover.png"
-MUSIC_DIR="$HOME/Music"
-
-## Get status
-get_status() {
- if [[ $STATUS == *"[playing]"* ]]; then
- echo ""
- else
- echo "奈"
- fi
-}
-
-## Get song
-get_song() {
- song=`mpc -f %title% current`
- if [[ -z "$song" ]]; then
- echo "Offline"
- else
- echo "$song"
- fi
-}
-
-## Get artist
-get_artist() {
- artist=`mpc -f %artist% current`
- if [[ -z "$artist" ]]; then
- echo ""
- else
- echo "$artist"
- fi
-}
-
-## Get time
-get_time() {
- time=`mpc status | grep "%)" | awk '{print $4}' | tr -d '(%)'`
- if [[ -z "$time" ]]; then
- echo "0"
- else
- echo "$time"
- fi
-}
-get_ctime() {
- ctime=`mpc status | grep "#" | awk '{print $3}' | sed 's|/.*||g'`
- if [[ -z "$ctime" ]]; then
- echo "0:00"
- else
- echo "$ctime"
- fi
-}
-get_ttime() {
- ttime=`mpc -f %time% current`
- if [[ -z "$ttime" ]]; then
- echo "0:00"
- else
- echo "$ttime"
- fi
-}
-
-## Get cover
-get_cover() {
- ffmpeg -i "${MUSIC_DIR}/$(mpc current -f %file%)" "${COVER}" -y &> /dev/null
- STATUS=$?
-
- # Check if the file has a embbeded album art
- if [ "$STATUS" -eq 0 ];then
- echo "$COVER"
- else
- echo "images/music.png"
- fi
-}
-
-## Execute accordingly
-if [[ "$1" == "--song" ]]; then
- get_song
-elif [[ "$1" == "--artist" ]]; then
- get_artist
-elif [[ "$1" == "--status" ]]; then
- get_status
-elif [[ "$1" == "--time" ]]; then
- get_time
-elif [[ "$1" == "--ctime" ]]; then
- get_ctime
-elif [[ "$1" == "--ttime" ]]; then
- get_ttime
-elif [[ "$1" == "--cover" ]]; then
- get_cover
-elif [[ "$1" == "--toggle" ]]; then
- mpc -q toggle
-elif [[ "$1" == "--next" ]]; then
- { mpc -q next; get_cover; }
-elif [[ "$1" == "--prev" ]]; then
- { mpc -q prev; get_cover; }
-fi
diff --git a/eww_desktop/scripts/oxidash.sh b/eww_desktop/scripts/oxidash.sh
deleted file mode 100755
index 79af23e..0000000
--- a/eww_desktop/scripts/oxidash.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-ID=$(pgrep oxidash-gtk)
-
-if [ "$ID" != "" ]; then
- killall oxidash-gtk
-else
- oxidash-gtk
-fi
diff --git a/eww_desktop/scripts/pop b/eww_desktop/scripts/pop
deleted file mode 100755
index 0a39794..0000000
--- a/eww_desktop/scripts/pop
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/bin/bash
-
-
-calendar() {
-LOCK_FILE="$HOME/.cache/eww-calendar.lock"
-EWW_BIN="$HOME/.local/bin/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww open calendar
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close system music_win audio_ctl brightness
- touch "$LOCK_FILE"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww close calendar
- rm "$LOCK_FILE" && echo "closed"
-fi
-}
-
-
-system() {
-LOCK_FILE_MEM="$HOME/.cache/eww-system.lock"
-EWW_BIN="$HOME/.local/bin/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww open system
-}
-
-# Open system
-if [[ ! -f "$LOCK_FILE_MEM" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close calendar music_win audio_ctl brightness
- touch "$LOCK_FILE_MEM"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww close system
- rm "$LOCK_FILE_MEM" && echo "closed"
-fi
-}
-
-
-music() {
-LOCK_FILE_SONG="$HOME/.cache/eww-song.lock"
-EWW_BIN="$HOME/.local/bin/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww open music_win
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_SONG" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close system calendar brightness
- touch "$LOCK_FILE_SONG"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww close music_win
- rm "$LOCK_FILE_SONG" && echo "closed"
-fi
-}
-
-
-
-audio() {
-LOCK_FILE_AUDIO="$HOME/.cache/eww-audio.lock"
-EWW_BIN="$HOME/.local/bin/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww open audio_ctl
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_AUDIO" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close system calendar music brightness
- touch "$LOCK_FILE_AUDIO"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww close audio_ctl
- rm "$LOCK_FILE_AUDIO" && echo "closed"
-fi
-}
-
-brightness() {
-LOCK_FILE_AUDIO="$HOME/.cache/eww-brightness.lock"
-EWW_BIN="$HOME/.local/bin/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww open brightness_window
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_AUDIO" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close system calendar music audio_ctl
- touch "$LOCK_FILE_AUDIO"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww close brightness_window
- rm "$LOCK_FILE_AUDIO" && echo "closed"
-fi
-}
-
-hoverGet() {
-NAME="$1"
-EWW_BIN="$HOME/.local/bin/eww"
-if [[ -f "$STORE" ]]; then
- rm "$STORE"
- ${EWW_BIN} -c $HOME/.config/eww close "$NAME"
-fi
-}
-
-hoverCreate() {
-if [[ ! -f "$STORE" ]]; then
- touch "$STORE"
-else
- echo "failure!"
-fi
-}
-STORE=true
-if [ "$1" = "calendar" ]; then
- calendar
-elif [ "$1" = "system" ]; then
- system
-#elif [ "$1" = "music" ]; then
-#music
-elif [ "$1" = "audio" ]; then
- audio
-elif [ "$1" = "brightness" ]; then
- brightness
-elif [ "$1" = "hoverGet" ]; then
- hoverGet "$2"
-elif [ "$1" = "hoverCreate" ]; then
- hoverCreate
-fi
diff --git a/eww_desktop/scripts/weather b/eww_desktop/scripts/weather
deleted file mode 100755
index a835246..0000000
--- a/eww_desktop/scripts/weather
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/bash
-
-tmp_weather="$HOME/.cache/weather"
-tmp_weather_stat=$tmp_weather/weather-stat
-tmp_weather_degree=$tmp_weather/weather-degree
-tmp_weather_quote=$tmp_weather/weather-quote
-tmp_weather_hex=$tmp_weather/weather-hex
-tmp_weather_icon=$tmp_weather/weather-icon
-
-if [ ! -d $tmp_weather ]; then
- mkdir -p $tmp_weather
-fi
-#notify-send -u critical "weather ping" "pangping"
-# Put in your api and stuff link here
-# If you dunno, head to openweathermap.org, and make and account
-#(completely free I swear, and then get your API Key and your City ID)
-# I wish I was smart enough to do it like Elena, but this is the top I could do lol
-KEY=$(cat $HOME/.ssh/weather-key)
-ID=$(cat $HOME/.ssh/location)
-UNIT="{metric}" #Options are 'metric' and 'imperial'
-weather=$(curl -sf "http://api.openweathermap.org/data/2.5/weather?APPID="$KEY"&q="$ID"&units="$UNIT"")
-#echo $weather
-if [ ! -z "$weather" ]; then
- weather_temp=$(echo "$weather" | jq ".main.temp" | cut -d "." -f 1)
- weather_icon_code=$(echo "$weather" | jq -r ".weather[].icon" | head -1)
- weather_description=$(echo "$weather" | jq -r ".weather[].description" | head -1 | sed -e "s/\b\(.\)/\u\1/g")
-
- #Big long if statement of doom
- if [ "$weather_icon_code" == "50d" ]; then
- weather_icon=" "
- weather_quote="Forecast says it's misty \nMake sure you don't get lost on your way..."
- weather_hex="#84afdb" #a7b8b2
- elif [ "$weather_icon_code" == "50n" ]; then
- weather_icon=" "
- weather_quote="Forecast says it's a misty night \nDon't go anywhere tonight or you might get lost..."
- weather_hex="#84afdb"
- elif [ "$weather_icon_code" == "01d" ]; then
- weather_icon=" "
- weather_quote="It's a sunny day, gonna be fun! \nDon't go wandering all by yourself though..."
- weather_hex="#ffd86b"
- elif [ "$weather_icon_code" == "01n" ]; then
- weather_icon=" "
- weather_quote="It's a clear night \nYou might want to take a evening stroll to relax..."
- weather_hex="#fcdcf6"
- elif [ "$weather_icon_code" == "02d" ]; then
- weather_icon=" "
- weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "02n" ]; then
- weather_icon=" "
- weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "03d" ]; then
- weather_icon=" "
- weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "03n" ]; then
- weather_icon=" "
- weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "04d" ]; then
- weather_icon=" "
- weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "04n" ]; then
- weather_icon=" "
- weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "09d" ]; then
- weather_icon=" "
- weather_quote="It's rainy, it's a great day! \nGet some ramen and watch as the rain falls..."
- weather_hex="#6b95ff"
- elif [ "$weather_icon_code" == "09n" ]; then
- weather_icon=" "
- weather_quote=" It's gonna rain tonight it seems \nMake sure your clothes aren't still outside..."
- weather_hex="#6b95ff"
- elif [ "$weather_icon_code" == "10d" ]; then
- weather_icon=" "
- weather_quote="It's rainy, it's a great day! \nGet some ramen and watch as the rain falls..."
- weather_hex="#6b95ff"
- elif [ "$weather_icon_code" == "10n" ]; then
- weather_icon=" "
- weather_quote=" It's gonna rain tonight it seems \nMake sure your clothes aren't still outside..."
- weather_hex="#6b95ff"
- elif [ "$weather_icon_code" == "11d" ]; then
- weather_icon=""
- weather_quote="There's storm for forecast today \nMake sure you don't get blown away..."
- weather_hex="#ffeb57"
- elif [ "$weather_icon_code" == "11n" ]; then
- weather_icon=""
- weather_quote="There's gonna be storms tonight \nMake sure you're warm in bed and the windows are shut..."
- weather_hex="#ffeb57"
- elif [ "$weather_icon_code" == "13d" ]; then
- weather_icon=" "
- weather_quote="It's gonna snow today \nYou'd better wear thick clothes and make a snowman as well!"
- weather_hex="#e3e6fc"
- elif [ "$weather_icon_code" == "13n" ]; then
- weather_icon=" "
- weather_quote="It's gonna snow tonight \nMake sure you get up early tomorrow to see the sights..."
- weather_hex="#e3e6fc"
- elif [ "$weather_icon_code" == "40d" ]; then
- weather_icon=" "
- weather_quote="Forecast says it's misty \nMake sure you don't get lost on your way..."
- weather_hex="#84afdb"
- elif [ "$weather_icon_code" == "40n" ]; then
- weather_icon=" "
- weather_quote="Forecast says it's a misty night \nDon't go anywhere tonight or you might get lost..."
- weather_hex="#84afdb"
- else
- weather_icon=" "
- weather_quote="Sort of odd, I don't know what to forecast \nMake sure you have a good time!"
- weather_hex="#adadff"
- fi
- echo "$weather_icon" > $tmp_weather_icon
- echo "$weather_description" > $tmp_weather_stat
- echo "$weather_temp""°C" > $tmp_weather_degree
- echo "$weather_quote" > $tmp_weather_quote
- echo "$weather_hex" > $tmp_weather_hex
- else
- echo "Weather Unavailable" > $tmp_weather_stat
- echo " " > $tmp_weather_icon
- echo "Ah well, no weather huh? \nEven if there's no weather, it's gonna be a great day!" > $tmp_weather_quote
- echo "-" > $tmp_weather_degree
- echo "#adadff" > $tmp_weather_hex
-fi
diff --git a/eww_desktop/scripts/weather-trimmer b/eww_desktop/scripts/weather-trimmer
deleted file mode 100755
index 8ddeaa1..0000000
--- a/eww_desktop/scripts/weather-trimmer
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-weather=$(cat $HOME/.cache/weather/weather-stat)
-weather_count=$(cat $HOME/.cache/weather/weather-stat | wc -c)
-
-if [ "$weather_count" -lt 10 ]; then
- echo $weather;
-else
- echo $(cat $HOME/.cache/weather/weather-stat | cut -c1-6)...
-fi
diff --git a/eww_desktop/scripts/wifi b/eww_desktop/scripts/wifi
deleted file mode 100755
index 9de7f23..0000000
--- a/eww_desktop/scripts/wifi
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-status=$(nmcli g | grep -oE "disconnected")
-essid=$(nmcli c | grep wlp2s0 | awk '{print ($1)}')
-
-if [ $status ] ; then
- icon=""
- text=""
- col="#575268"
-
-else
- icon=""
- text="${essid}"
- col="#a1bdce"
-fi
-
-
-
-if [[ "$1" == "--COL" ]]; then
- echo $col
-elif [[ "$1" == "--ESSID" ]]; then
- echo $text
-elif [[ "$1" == "--ICON" ]]; then
- echo $icon
-fi
-
diff --git a/eww_desktop/scripts/workspace b/eww_desktop/scripts/workspace
deleted file mode 100755
index 3ea7097..0000000
--- a/eww_desktop/scripts/workspace
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/bin/bash
-workspaces() {
-
-ws1="ID 1 "
-ws2="ID 2 "
-ws3="ID 3 "
-ws4="ID 4 "
-ws5="ID 5 "
-ws6="ID 6 "
-ws7="ID 7 "
-ws8="ID 8 "
-ws9="ID 9 "
-ws0="ID 10"
-
-# check if Occupied
-o1=$(hyprctl workspaces | grep "$ws1" )
-o2=$(hyprctl workspaces | grep "$ws2" )
-o3=$(hyprctl workspaces | grep "$ws3" )
-o4=$(hyprctl workspaces | grep "$ws4" )
-o5=$(hyprctl workspaces | grep "$ws5" )
-o6=$(hyprctl workspaces | grep "$ws6" )
-o7=$(hyprctl workspaces | grep "$ws7" )
-o8=$(hyprctl workspaces | grep "$ws8" )
-o9=$(hyprctl workspaces | grep "$ws9" )
-o0=$(hyprctl workspaces | grep "$ws0" )
-
-# check if Focused
-f1=$(hyprctl monitors | grep "workspace: 1 " -A 5 | grep "focused: yes" )
-f2=$(hyprctl monitors | grep "workspace: 2 " -A 5 | grep "focused: yes" )
-f3=$(hyprctl monitors | grep "workspace: 3 " -A 5 | grep "focused: yes" )
-f4=$(hyprctl monitors | grep "workspace: 4 " -A 5 | grep "focused: yes" )
-f5=$(hyprctl monitors | grep "workspace: 5 " -A 5 | grep "focused: yes" )
-f6=$(hyprctl monitors | grep "workspace: 6 " -A 5 | grep "focused: yes" )
-f7=$(hyprctl monitors | grep "workspace: 7 " -A 5 | grep "focused: yes" )
-f8=$(hyprctl monitors | grep "workspace: 8 " -A 5 | grep "focused: yes" )
-f9=$(hyprctl monitors | grep "workspace: 9 " -A 5 | grep "focused: yes" )
-f0=$(hyprctl monitors | grep "workspace: 10" -A 5 | grep "focused: yes" )
-
-if [ "$o1" != "" ]; then
- ic_1="①"
- else
- ic_1=""
-fi
-if [ "$o2" != "" ]; then
- ic_2="②"
- else
- ic_2=""
-fi
-if [ "$o3" != "" ]; then
- ic_3="③"
- else
- ic_3=""
-fi
-if [ "$o4" != "" ]; then
- ic_4="④"
- else
- ic_4=""
-fi
-if [ "$o5" != "" ]; then
- ic_5="⑤"
- else
- ic_5=""
-fi
-if [ "$o6" != "" ]; then
- ic_6="⑥"
- else
- ic_6=""
-fi
-if [ "$o7" != "" ]; then
- ic_7="⑦"
- else
- ic_7=""
-fi
-if [ "$o8" != "" ]; then
- ic_8="⑧"
- else
- ic_8=""
-fi
-if [ "$o9" != "" ]; then
- ic_9="⑨"
- else
- ic_9=""
-fi
-if [ "$o0" != "" ]; then
- ic_0="⑩"
- else
- ic_0=""
-fi
-
-if [ "$f1" != "" ]; then
- ic_1="➊"
-elif [ "$f2" != "" ]; then
- ic_2="➋"
-elif [ "$f3" != "" ]; then
- ic_3="➌"
-elif [ "$f4" != "" ]; then
- ic_4="➍"
-elif [ "$f5" != "" ]; then
- ic_5="➎"
-elif [ "$f6" != "" ]; then
- ic_6="➏"
-elif [ "$f7" != "" ]; then
- ic_7="➐"
-elif [ "$f8" != "" ]; then
- ic_8="➑"
-elif [ "$f9" != "" ]; then
- ic_9="➒"
-elif [ "$f0" != "" ]; then
- ic_0="➓"
-fi
-
-
-#ic_1=$(hyprctl workspaces)
-#ic_2="t"
-echo "(box :class \"works\" :orientation \"h\" :spacing 5 :space-evenly \"false\" (button :onclick \"hyprctl dispatch workspace 1\" :class \"$un$o1$f1\" \"$ic_1\") (button :onclick \"hyprctl dispatch workspace 2\" :class \"$un$o2$f2\" \"$ic_2\") (button :onclick \"hyprctl dispatch workspace 3\" :class \"$un$o3$f3\" \"$ic_3\") (button :onclick \"hyprctl dispatch workspace 4\" :class \"$un$o4$f4\" \"$ic_4\") (button :onclick \"hyprctl dispatch workspace 5\" :class \"$un$o5$f5\" \"$ic_5\") (button :onclick \"hyprctl dispatch workspace 6\" :class \"$un$o6$f6\" \"$ic_6\") (button :onclick \"hyprctl dispatch workspace 7\" :class \"$un$o7$f7\" \"$ic_7\") (button :onclick \"hyprctl dispatch workspace 8\" :class \"$un$o8$f8\" \"$ic_8\") (button :onclick \"hyprctl dispatch workspace 9\" :class \"$un$o9$f9\" \"$ic_9\") (button :onclick \"hyprctl dispatch workspace 10\" :class \"$un$o0$f0\" \"$ic_0\"))"
-}
-workspaces
-tail -f /tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | grep -E --line-buffered "Changed to workspace|focus to surface" | while read -r; do
-workspaces
-done
diff --git a/eww_laptop/bar/eww.scss b/eww_laptop/bar/eww.scss
deleted file mode 100644
index 1036c3a..0000000
--- a/eww_laptop/bar/eww.scss
+++ /dev/null
@@ -1,447 +0,0 @@
-/** EWW.SCSS
-Created by saimoom **/
-*{
- all: unset;
- font-family: feather;
- font-family: DaddyTimeMono Nerd Font;
-}
-
-/** General **/
-.bar_class {
- background-color: #0f0f17;
- border-radius: 16px;
-}
-.module {
- margin: 0px 0px 0px 0px;
- border-radius: 10px 16px 0px 10px;
-}
-
-/** tooltip!! **/
-tooltip.background {
- background-color: #0f0f17;
- font-size: 18;
- border-radius: 10px;
- color: #bfc9db;
-}
-
-tooltip label {
- margin: 6px;
-}
-
-
-/** Widgets **/
-
-.clock_time_sep {
- font-size: 16;
- color: #bfc9db;
- margin: 0px 4px 1px 4px;
-}
-.clock_time_class, .clock_minute_class {
- font-size: 23;
-}
-.clock_date_class {
- font-size: 18;
- margin: 0px 20px 0px -1px;
- color: #d7beda;
-}
-.clock_minute_class {
- margin: 0px 20px 0px 3px;
- color: #bfc9db;
-}
-
-.clock_time_class {
- color: #bfc9db;
- font-weight: bold;
- margin: 0px 5px 0px 0px;
-}
-
-
-.membar {
- color: #e0b089;
- background-color: #38384d;
- border-radius: 10px;
-}
-.batbar {
- color: #afbea2;
- background-color: #38384d;
- border-radius: 10px;
-}
-.brightbar trough highlight {
- background-image: linear-gradient(to right, #e4c9af 30%, #f2cdcd 50%, #e0b089 100% *50);
- border-radius: 10px;
-}
-.volbar trough highlight {
- background-image: linear-gradient(to right, #afcee0 30%, #a1bdce 50%, #77a5bf 100% *50);
- border-radius: 10px;
-}
-.volume_icon {
- font-size: 22;
- color: #a1bdce;
- margin: 0px 10px 0px 10px;
-}
-
-
-.module_essid {
- font-size: 18;
- color: #a1bdce;
- margin: 0px 10px 0px 0px;
-}
-.module-wif {
- font-size: 22;
- color: #a1bdce;
- border-radius: 100%;
- margin: 0px 10px 0px 5px;
-}
-
-.iconmem {
- color: #e0b089;
-}
-.iconbat {
- color: #afbea2;
-}
-.iconbat, .iconmem {
- font-size: 15;
- margin: 10px;
-}
-.bright_icon {
- font-size: 22;
- color: #e4c9af;
- margin: 0px 10px 0px 10px;
-}
-
-
-.separ {
- color: #3e424f;
- font-weight: bold;
- font-size: 22px;
- margin: 0px 8px 0px 8px;
- }
-
-.mem_module {
- background-color: #0f0f17;
- border-radius: 16px;
- margin: 0px 10px 0px 3px;
- }
-.bat_module {
- background-color: #0f0f17;
- border-radius: 16px;
- margin: 0px 10px 0px 10px;
- }
-
-
-scale trough {
- all: unset;
- background-color: #22242b;
- box-shadow: 0 2px 3px 2px #06060b;
- border-radius: 16px;
- min-height: 10px;
- min-width: 70px;
- margin: 0px 10px 0px 0px;
-}
-
-.works {
-font-size: 27px;
-font-weight: normal;
-margin: 5px 0px 0px 20px;
-background-color: #0f0f17;
-}
-
-.0 , .01, .02, .03, .04, .05, .06,
-.011, .022, .033, .044, .055, .066{
- margin: 0px 10px 0px 0px;
-}
-
-/* Unoccupied */
-.0 {
-color: #3e424f;
-}
-
-/* Occupied */
-.01, .02, .03, .04, .05, .06 {
- color: #bfc9db;
-}
-
-/* Focused */
-.011, .022, .033, .044, .055, .066 {
- color: #a1bdce;
-}
-
-
-.song_cover_art {
- background-size: cover;
- background-position: center;
- min-height: 24px;
- min-width: 24px;
- margin: 10px;
- border-radius: 100px;
-}
-
-.song {
- color: #a1bdce;
- font-size : 18px;
- font-weight : bold;
- margin : 3px 5px 0px 0px;
-}
-
-.song_btn_play {
- color: #a1bdce;
- font-size : 28px;
- margin : 3px 0px 0px 5px;
-
-}
-
-
-.song_btn_prev, .song_btn_next {
- color: #bfc9db;
- font-size : 24px;
- margin : 3px 0px 0px 5px;
-
-}
-// Calendar
-.cal {
- background-color: #0f0f17;
- font-family: JetBrainsMono Nerd Font;
- font-size: 18px;
- font-weight: normal;
-
-.cal-in {
- padding: 0px 10px 0px 10px;
- color: #bfc9db;
-
-.cal {
- &.highlight {
- padding: 20px;
- }
-
- padding: 5px 5px 5px 5px;
- margin-left: 10px;
- }
- }
-}
-
-calender {
- color: #bfc9db;
-}
-calendar:selected {
- color: #a1bdce;
-}
-
-calendar.header {
-color: #a1bdce;
-font-weight: bold;
-}
-
-calendar.button {
-color: #afbea2;
-}
-
-calendar.highlight {
-color: #a1bdce;
-font-weight: bold;
-}
-
-calendar:indeterminate {
-color: #bfc9db;
-}
-
-
-
-
-
-
-
-.sys_sep {
- color: #38384d;
- font-size: 18;
- margin: 0px 10px 0px 10px;
-}
-.sys_text_bat_sub, .sys_text_mem_sub {
- font-size: 16;
- color: #bbc5d7;
- margin: 5px 0px 0px 25px;
-}
-.sys_text_bat, .sys_text_mem {
- font-size: 21;
- font-weight: bold;
- margin: 14px 0px 0px 25px;
-}
-.sys_icon_bat, .sys_icon_mem {
- font-size: 30;
- margin: 30px;
-}
-.sys_win {
- background-color: #0f0f17;
-}
-.sys_bat {
- color: #afbea2;
- background-color: #38384d;
- border-radius: 10px;
-}
-.sys_mem {
- color: #e4c9af;
- background-color: #38384d;
- border-radius: 10px;
-}
-.sys_icon_bat, .sys_text_bat {
- color: #afbea2;
-}
-.sys_icon_mem, .sys_text_mem {
- color: #e4c9af;
-}
-.sys_bat_box {
- border-radius: 16px;
- margin: 15px 10px 10px 20px;
- }
-.sys_mem_box {
- border-radius: 16px;
- margin: 10px 10px 15px 20px;
- }
-
-
-
-
-
-
-
-.music_pop {
- background-color: #0f0f17;
- border-radius: 16px;
-}
- .music_cover_art {
- background-size: cover;
- background-position: center;
- min-height: 100px;
- box-shadow: 5px 5px 5px 5px #06060b;
- min-width: 170px;
- margin: 20px;
- border-radius: 20px;
-}
-
-.music {
- color: #a1bdce;
- font-size : 20px;
- font-weight : bold;
- margin : 20px 0px 0px -15px;
-}
-
-.music_artist {
- color: #bbc5d7;
- font-size : 16px;
- font-weight : normal;
- margin : 0px 0px 0px 0px;
-}
-
-.music_btn_prev, .music_btn_play, .music_btn_next {
- font-family: Iosevka Nerd Font;
-}
-.music_btn_prev {
- color: #bbc5d7;
- font-size : 32px;
- font-weight : normal;
- margin: 0px 0px 0px 0px;
-}
-.music_btn_play {
- color: #a1bdce;
- font-size : 48px;
- font-weight : normal;
- margin: 0px 0px 0px 0px;
-}
-.music_btn_next {
- color: #bbc5d7;
- font-size : 32px;
- font-weight : normal;
- margin: 0px 0px 0px 0px;
-}
-
-.music_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(to right, #afcee0 30%, #a1bdce 50%, #77a5bf 100% *50);
- border-radius: 24px;
-}
-.music_bar scale trough {
- all: unset;
- background-color: #232232;
- box-shadow: 0 6px 5px 2px #06060b;
- border-radius: 24px;
- min-height: 13px;
- min-width: 190px;
- margin : -10px 10px 20px 0px;
-}
-
-.audio-box {
- background-color: #0f0f17;
- border-radius: 16px;
-}
-.speaker_icon {
- background-size: cover;
- background-image: url('images/speaker.png');
- background-position: center;
- min-height: 70px;
- min-width: 75px;
- margin: 10px 20px 5px 20px;
- border-radius: 12px;
-}
-
-.speaker_text {
- color: #a1bdce;
- font-size : 26px;
- font-weight : bold;
- margin: 20px 0px 0px 0px;
-}
-
-.speaker_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(to right, #afcee0 30%, #a1bdce 50%, #77a5bf 100% *50);
- border-radius: 24px;
-}
-.speaker_bar scale trough {
- all: unset;
- background-color: #232232;
- box-shadow: 0 6px 5px 2px #06060b;
- border-radius: 24px;
- min-height: 13px;
- min-width: 120px;
- margin : 0px 0px 5px 0px;
-}
-
-
-
-
-.mic_icon {
- background-size: cover;
- background-image: url('images/mic.png');
- background-position: center;
- min-height: 70px;
- min-width: 75px;
- margin: 5px 20px 20px 20px;
- border-radius: 12px;
-}
-
-.mic_text {
- color: #a1bdce;
- font-size : 26px;
- font-weight : bold;
- margin: 0px 0px 0px 0px;
-}
-
-.mic_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(to right, #afcee0 30%, #a1bdce 50%, #77a5bf 100% *50);
- border-radius: 24px;
-}
-.mic_bar scale trough {
- all: unset;
- box-shadow: 0 6px 5px 2px #06060b;
- background-color: #232232;
- border-radius: 24px;
- min-height: 13px;
- min-width: 120px;
- margin : 0px 0px 20px 0px;
-}
-
-.audio_sep {
- color: #38384d;
- font-size: 18;
- margin : 0px 0px 0px 0px;
-}
-
diff --git a/eww_laptop/bar/eww.yuck b/eww_laptop/bar/eww.yuck
deleted file mode 100644
index c0663b5..0000000
--- a/eww_laptop/bar/eww.yuck
+++ /dev/null
@@ -1,352 +0,0 @@
-;; Variables
-(defpoll clock_time :interval "5m" "date +\%I")
-(defpoll clock_minute :interval "5s" "date +\%M")
-(defpoll clock_date :interval "10h" "date '+%d/%m'")
-(defpoll volume_percent :interval "3s" "amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'")
-(defpoll mic_percent :interval "3s" "amixer -D pulse sget Capture | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'")
-(defpoll brightness_percent :interval "5s" "brightnessctl -m -d intel_backlight | awk -F, '{print substr($4, 0, length($4)-1)}' | tr -d '%'")
-(defpoll battery :interval "15s" "./scripts/battery --bat")
-(defpoll battery_status :interval "1m" "./scripts/battery --bat-st")
-(defpoll memory :interval "15s" "scripts/memory")
-(defpoll memory_used_mb :interval "2m" "scripts/mem-ad used")
-(defpoll memory_total_mb :interval "2m" "scripts/mem-ad total")
-(defpoll memory_free_mb :interval "2m" "scripts/mem-ad free")
-(defvar vol_reveal false)
-(defvar br_reveal false)
-(defvar music_reveal false)
-(defvar wifi_rev false)
-(defvar time_rev false)
-(deflisten workspace "scripts/workspace")
-
-(defvar eww "$HOME/.local/bin/eww/eww -c $HOME/.config/eww/bar")
-
-
-(defpoll COL_WLAN :interval "1m" "~/.config/eww/bar/scripts/wifi --COL")
-(defpoll ESSID_WLAN :interval "1m" "~/.config/eww/bar/scripts/wifi --ESSID")
-(defpoll WLAN_ICON :interval "1m" "~/.config/eww/bar/scripts/wifi --ICON")
-
-
-(defpoll song :interval "2s" "~/.config/eww/bar/scripts/music_info --song")
-(defpoll song_artist :interval "2s" "~/.config/eww/bar/scripts/music_info --artist")
-(defpoll current_status :interval "1s" "~/.config/eww/bar/scripts/music_info --time")
-(defpoll song_status :interval "2s" "~/.config/eww/bar/scripts/music_info --status")
-(defpoll cover_art :interval "2s" "~/.config/eww/bar/scripts/music_info --cover")
-
-(defpoll calendar_day :interval "20h" "date '+%d'")
-(defpoll calendar_year :interval "20h" "date '+%Y'")
-
-;; widgets
-
-(defwidget wifi []
- (eventbox :onhover "${eww} update wifi_rev=true"
- :onhoverlost "${eww} update wifi_rev=false"
- (box :vexpand "false" :hexpand "false" :space-evenly "false"
- (button :class "module-wif" :onclick "networkmanager_dmenu" :wrap "false" :limit-width 12 :style "color: ${COL_WLAN};" WLAN_ICON)
- (revealer :transition "slideright"
- :reveal wifi_rev
- :duration "350ms"
- (label :class "module_essid"
- :text ESSID_WLAN
- :orientation "h"
- )))))
-
-
-(defwidget workspaces []
- (literal :content workspace))
-
-
-(defwidget bat []
- (box :class "bat_module" :vexpand "false" :hexpand "false"
- (circular-progress :value battery
- :class "batbar"
- :thickness 4
- (button
- :class "iconbat"
- :limit-width 2
- :tooltip "battery on ${battery}%"
- :show_truncated false
- :onclick "$HOME/.config/eww/bar/scripts/pop system"
- :wrap false
- ""))))
-
-
-(defwidget mem []
- (box :class "mem_module" :vexpand "false" :hexpand "false"
- (circular-progress :value memory
- :class "membar"
- :thickness 4
- (button
- :class "iconmem"
- :limit-width 2
- :tooltip "using ${memory}% ram"
- :onclick "$HOME/.config/eww/bar/scripts/pop system"
- :show_truncated false
- :wrap false
- ""))))
-
-
-
-(defwidget sep []
- (box :class "module-2" :vexpand "false" :hexpand "false"
- (label :class "separ" :text "|")))
-
-(defwidget clock_module []
- (eventbox :onhover "${eww} update time_rev=true"
- :onhoverlost "${eww} update time_rev=false"
- (box :class "module" :space-evenly "false" :orientation "h" :spacing "3"
- (label :text clock_time :class "clock_time_class" )
- (label :text "" :class "clock_time_sep" )
- (label :text clock_minute :class "clock_minute_class")
- (revealer :transition "slideleft"
- :reveal time_rev
- :duration "350ms"
- (button :class "clock_date_class"
- :onclick "$HOME/.config/eww/bar/scripts/pop calendar" clock_date
- )
- ))))
-
-(defwidget volume []
- (eventbox :onhover "${eww} update vol_reveal=true"
- :onhoverlost "${eww} update vol_reveal=false"
- (box :class "module-2" :space-evenly "false" :orientation "h" :spacing "3"
- (button :onclick "scripts/pop audio" :class "volume_icon" "")
- (revealer :transition "slideleft"
- :reveal vol_reveal
- :duration "350ms"
- (scale :class "volbar"
- :value volume_percent
- :orientation "h"
- :tooltip "${volume_percent}%"
- :max 100
- :min 0
- :onchange "amixer -D pulse sset Master {}%" )))))
-
-(defwidget bright []
- (eventbox :onhover "${eww} update br_reveal=true" :onhoverlost "${eww} update br_reveal=false"
- (box :class "module-2" :space-evenly "false" :orientation "h" :spacing "3"
- (label :text "" :class "bright_icon" :tooltip "brightness")
- (revealer :transition "slideleft"
- :reveal br_reveal
- :duration "350ms"
- (scale :class "brightbar"
- :value brightness_percent
- :orientation "h"
- :tooltip "${brightness_percent}%"
- :max 100
- :min 0
- :onchange "brightnessctl set {}%" )))))
-
-
-
- ;; Music
-(defwidget music []
- (eventbox :onhover "${eww} update music_reveal=true"
- :onhoverlost "${eww} update music_reveal=false"
- (box :class "module-2" :orientation "h" :space-evenly "false" :vexpand "false" :hexpand "false"
- (box :class "song_cover_art" :vexpand "false" :hexpand "false" :style "background-image: url('${cover_art}');")
- (button :class "song" :wrap "true" :onclick "~/.config/eww/bar/scripts/pop music" song)
- (revealer :transition "slideright"
- :reveal music_reveal
- :duration "350ms"
- (box :vexpand "false" :hexpand "false" :oreintation "h"
- (button :class "song_btn_prev" :onclick "~/.config/eww/bar/scripts/music_info --prev" "")
- (button :class "song_btn_play" :onclick "~/.config/eww/bar/scripts/music_info --toggle" song_status)
- (button :class "song_btn_next" :onclick "~/.config/eww/bar/scripts/music_info --next" ""))))))
-
-
-
-(defwidget left []
- (box :orientation "h"
- :space-evenly false
- :halign "end"
- :class "left_modules"
-(bright)
-(volume)
-(wifi)
-(sep)
-(bat)
-(mem)
-(sep)
-(clock_module)))
-
-
-(defwidget right []
- (box :orientation "h"
- :space-evenly false
- :halign "start"
- :class "right_modules"
-(workspaces)))
-
-
-(defwidget center []
- (box :orientation "h"
- :space-evenly false
- :halign "center"
- :class "center_modules"
-(music)))
-
-(defwidget bar_1 []
- (box :class "bar_class"
- :orientation "h"
- (right)
- (center)
- (left)
- ))
-
-(defwindow bar
- :monitor 0
- :geometry (geometry :x "0%"
- :y "9px"
- :width "98%"
- :height "30px"
- :anchor "top center")
- :stacking "fg"
- :wm-ignore true
- :windowtype "dock"
- (bar_1))
-
-(defwidget system []
- (box :class "sys_win" :orientation "v" :space-evenly "false" :hexpand "false" :vexpand "false" :spacing 0
- (box :class "sys_bat_box" :orientation "h" :space-evenly "false"
- (circular-progress :value battery
- :class "sys_bat"
- :thickness 9
- (label :text ""
- :class "sys_icon_bat"
- :limit-width 2
- :show_truncated false
- :wrap false))
- (box :orientation "v" :space-evenly "false" :spacing 0 :hexpand "false" :vexpand "false"
- (label :text "battery"
- :halign "start"
- :class "sys_text_bat"
- :limit-width 9
- :show_truncated false
- :wrap false)
- (label :text "${battery}%"
- :halign "start"
- :class "sys_text_bat_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)
- (label :text "${battery_status}"
- :halign "start"
- :class "sys_text_bat_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)))
- (label :text "" :class "sys_sep" :halign "center")
- (box :class "sys_mem_box" :orientation "h" :space-evenly "false" :halign "start"
- (circular-progress :value memory
- :class "sys_mem"
- :thickness 9
- (label :text ""
- :class "sys_icon_mem"
- :limit-width 2
- :show_truncated false
- :wrap false
- :angle 0.0))
- (box :orientation "v" :space-evenly "false" :spacing 0 :hexpand "false" :vexpand "false"
- (label :text "memory"
- :halign "start"
- :class "sys_text_mem"
- :limit-width 9
- :show_truncated false
- :wrap false)
- (label :text "${memory_used_mb} | ${memory_total_mb}mb "
- :halign "start"
- :class "sys_text_mem_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)
- (label :text "${memory_free_mb}mb free"
- :halign "start"
- :class "sys_text_mem_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)))))
-
-(defwidget cal []
- (box :class "cal" :orientation "v"
- (box :class "cal-in"
- (calendar :class "cal"
- :day calendar_day
- :year calendar_year))))
-
-(defwindow calendar
- :geometry (geometry :x "-20px"
- :y "7%"
- :anchor "top right"
- :width "270px"
- :height "60px")
-(cal))
-
-
-
-(defwidget audio []
- (box :class "audio-box" :orientation "v" :space-evenly "false" :vexpand "false" :hexpand "false"
- (box :halign "v" :space-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "speaker_icon" :orientation "v")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "speaker_text" :text "speaker" :valign "center" :halign "left" )
- (box :class "speaker_bar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value volume_percent
- :space-evenly "false"
- :orientation "h"
- :onchange "amixer -D pulse sset Master {}%"
- :tooltip "volume on ${volume_percent}%"
- :max 100
- :min 0))))
- (label :text "" :class "audio_sep" :halign "center")
- (box :halign "v" :space-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "mic_icon" :orientation "v")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "mic_text" :text "mic" :valign "center" :halign "left" )
- (box :class "mic_bar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value mic_percent
- :space-evenly "false"
- :orientation "h"
- :tooltip "mic on ${mic_percent}%"
- :onchange "amixer -D pulse sset Capture {}%"
- :max 100
- :min 0))))))
-
-(defwindow audio_ctl
- :geometry (geometry :x "-20px"
- :y "7%"
- :anchor "top right"
- :width "280px"
- :height "60px")
-(audio))
-
-
-(defwindow system
- :geometry (geometry :x "-20px"
- :y "7%"
- :anchor "top right"
- :width "290px"
- :height "120px")
-(system))
-
-
-
-;; Music
-(defwidget music_pop []
- (box :class "music_pop" :orientation "h" :space-evenly "false" :vexpand "false" :hexpand "false"
- (box :class "music_cover_art" :vexpand "false" :hexpand "false" :style "background-image: url('${cover_art}');")
- (box :orientation "v" :spacing 20 :space-evenly "false" :vexpand "false" :hexpand "false"
- (label :halign "center" :class "music" :wrap "true" :limit-width 13 :text song)
- (label :halign "center" :class "music_artist" :wrap "true" :limit-width 15 :text song_artist)
- (box :orientation "h" :spacing 15 :halign "center" :space-evenly "false" :vexpand "false" :hexpand "false"
- (button :class "music_btn_prev" :onclick "~/.config/eww/bar/scripts/music_info --prev" "")
- (button :class "music_btn_play" :onclick "~/.config/eww/bar/scripts/music_info --toggle" song_status)
- (button :class "music_btn_next" :onclick "~/.config/eww/bar/scripts/music_info --next" ""))
- (box :class "music_bar" :halign "center" :vexpand "false" :hexpand "false" :space-evenly "false"
- (scale :onscroll "mpc -q seek {}" :min 0 :active "true" :max 100 :value current_status)))))
-
-
-;; music
- (defwindow music_win :stacking "fg" :focusable "false" :screen 1
- :geometry (geometry :x "0" :y "7%" :width 428 :height 104 :anchor "top center")
- (music_pop))
-
diff --git a/eww_laptop/bar/images/mic.png b/eww_laptop/bar/images/mic.png
deleted file mode 100644
index d77f315..0000000
Binary files a/eww_laptop/bar/images/mic.png and /dev/null differ
diff --git a/eww_laptop/bar/images/music.png b/eww_laptop/bar/images/music.png
deleted file mode 100644
index 11804f5..0000000
Binary files a/eww_laptop/bar/images/music.png and /dev/null differ
diff --git a/eww_laptop/bar/images/profile.png b/eww_laptop/bar/images/profile.png
deleted file mode 100644
index 0190a36..0000000
Binary files a/eww_laptop/bar/images/profile.png and /dev/null differ
diff --git a/eww_laptop/bar/images/speaker.png b/eww_laptop/bar/images/speaker.png
deleted file mode 100644
index 79e005b..0000000
Binary files a/eww_laptop/bar/images/speaker.png and /dev/null differ
diff --git a/eww_laptop/bar/launch_bar b/eww_laptop/bar/launch_bar
deleted file mode 100755
index 51f2a1d..0000000
--- a/eww_laptop/bar/launch_bar
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-## Files and cmd
-FILE="$HOME/.cache/eww_launch.xyz"
-EWW="$HOME/.local/bin/eww/eww -c $HOME/.config/eww/bar"
-
-## Run eww daemon if not running already
-if [[ ! `pidof eww` ]]; then
- ${EWW} daemon
- sleep 1
-fi
-
-## Open widgets
-run_eww() {
- ${EWW} open-many \
- bar
-
-}
-
-## Launch or close widgets accordingly
-if [[ ! -f "$FILE" ]]; then
- touch "$FILE"
- run_eww && bspc config -m LVDS-1 top_padding 49
-else
- ${EWW} close-all && killall eww
- rm "$FILE"
-fi
diff --git a/eww_laptop/bar/scripts/battery b/eww_laptop/bar/scripts/battery
deleted file mode 100755
index 0540a1b..0000000
--- a/eww_laptop/bar/scripts/battery
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-battery() {
- BAT=`ls /sys/class/power_supply | grep BAT | head -n 1`
- cat /sys/class/power_supply/${BAT}/capacity
-}
-battery_stat() {
- BAT=`ls /sys/class/power_supply | grep BAT | head -n 1`
- cat /sys/class/power_supply/${BAT}/status
-}
-
-if [[ "$1" == "--bat" ]]; then
- battery
-elif [[ "$1" == "--bat-st" ]]; then
- battery_stat
-fi
-
diff --git a/eww_laptop/bar/scripts/mem-ad b/eww_laptop/bar/scripts/mem-ad
deleted file mode 100755
index 1e4cf89..0000000
--- a/eww_laptop/bar/scripts/mem-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-
-total="$(free -m | grep Mem: | awk '{ print $2 }')"
-used="$(free -m | grep Mem: | awk '{ print $3 }')"
-
-free=$(expr $total - $used)
-
-if [ "$1" = "total" ]; then
- echo $total
-elif [ "$1" = "used" ]; then
- echo $used
-elif [ "$1" = "free" ]; then
- echo $free
-fi
diff --git a/eww_laptop/bar/scripts/memory b/eww_laptop/bar/scripts/memory
deleted file mode 100755
index 217c834..0000000
--- a/eww_laptop/bar/scripts/memory
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
diff --git a/eww_laptop/bar/scripts/music_info b/eww_laptop/bar/scripts/music_info
deleted file mode 100755
index ffafe87..0000000
--- a/eww_laptop/bar/scripts/music_info
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/bash
-# scripts by adi1090x
-
-## Get data
-STATUS="$(mpc status)"
-COVER="/tmp/.music_cover.png"
-MUSIC_DIR="$HOME/Music"
-
-## Get status
-get_status() {
- if [[ $STATUS == *"[playing]"* ]]; then
- echo ""
- else
- echo "奈"
- fi
-}
-
-## Get song
-get_song() {
- song=`mpc -f %title% current`
- if [[ -z "$song" ]]; then
- echo "Offline"
- else
- echo "$song"
- fi
-}
-
-## Get artist
-get_artist() {
- artist=`mpc -f %artist% current`
- if [[ -z "$artist" ]]; then
- echo ""
- else
- echo "$artist"
- fi
-}
-
-## Get time
-get_time() {
- time=`mpc status | grep "%)" | awk '{print $4}' | tr -d '(%)'`
- if [[ -z "$time" ]]; then
- echo "0"
- else
- echo "$time"
- fi
-}
-get_ctime() {
- ctime=`mpc status | grep "#" | awk '{print $3}' | sed 's|/.*||g'`
- if [[ -z "$ctime" ]]; then
- echo "0:00"
- else
- echo "$ctime"
- fi
-}
-get_ttime() {
- ttime=`mpc -f %time% current`
- if [[ -z "$ttime" ]]; then
- echo "0:00"
- else
- echo "$ttime"
- fi
-}
-
-## Get cover
-get_cover() {
- ffmpeg -i "${MUSIC_DIR}/$(mpc current -f %file%)" "${COVER}" -y &> /dev/null
- STATUS=$?
-
- # Check if the file has a embbeded album art
- if [ "$STATUS" -eq 0 ];then
- echo "$COVER"
- else
- echo "images/music.png"
- fi
-}
-
-## Execute accordingly
-if [[ "$1" == "--song" ]]; then
- get_song
-elif [[ "$1" == "--artist" ]]; then
- get_artist
-elif [[ "$1" == "--status" ]]; then
- get_status
-elif [[ "$1" == "--time" ]]; then
- get_time
-elif [[ "$1" == "--ctime" ]]; then
- get_ctime
-elif [[ "$1" == "--ttime" ]]; then
- get_ttime
-elif [[ "$1" == "--cover" ]]; then
- get_cover
-elif [[ "$1" == "--toggle" ]]; then
- mpc -q toggle
-elif [[ "$1" == "--next" ]]; then
- { mpc -q next; get_cover; }
-elif [[ "$1" == "--prev" ]]; then
- { mpc -q prev; get_cover; }
-fi
diff --git a/eww_laptop/bar/scripts/pop b/eww_laptop/bar/scripts/pop
deleted file mode 100755
index aef82e8..0000000
--- a/eww_laptop/bar/scripts/pop
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/bash
-
-calendar() {
-LOCK_FILE="$HOME/.cache/eww-calendar.lock"
-EWW_BIN="$HOME/.local/bin/eww/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww/bar open calendar
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww/bar close system music_win audio_ctl
- touch "$LOCK_FILE"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww/bar close calendar
- rm "$LOCK_FILE" && echo "closed"
-fi
-}
-
-
-system() {
-LOCK_FILE_MEM="$HOME/.cache/eww-system.lock"
-EWW_BIN="$HOME/.local/bin/eww/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww/bar open system
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_MEM" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww/bar close calendar music_win audio_ctl
- touch "$LOCK_FILE_MEM"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww/bar close system
- rm "$LOCK_FILE_MEM" && echo "closed"
-fi
-}
-
-
-music() {
-LOCK_FILE_SONG="$HOME/.cache/eww-song.lock"
-EWW_BIN="$HOME/.local/bin/eww/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww/bar open music_win
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_SONG" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww/bar close system calendar
- touch "$LOCK_FILE_SONG"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww/bar close music_win
- rm "$LOCK_FILE_SONG" && echo "closed"
-fi
-}
-
-
-
-audio() {
-LOCK_FILE_AUDIO="$HOME/.cache/eww-audio.lock"
-EWW_BIN="$HOME/.local/bin/eww/eww"
-
-run() {
- ${EWW_BIN} -c $HOME/.config/eww/bar open audio_ctl
-}
-
-# Open widgets
-if [[ ! -f "$LOCK_FILE_AUDIO" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww/bar close system calendar music
- touch "$LOCK_FILE_AUDIO"
- run && echo "ok good!"
-else
- ${EWW_BIN} -c $HOME/.config/eww/bar close audio_ctl
- rm "$LOCK_FILE_AUDIO" && echo "closed"
-fi
-}
-
-
-if [ "$1" = "calendar" ]; then
-calendar
-elif [ "$1" = "system" ]; then
-system
-elif [ "$1" = "music" ]; then
-music
-elif [ "$1" = "audio" ]; then
-audio
-fi
diff --git a/eww_laptop/bar/scripts/wifi b/eww_laptop/bar/scripts/wifi
deleted file mode 100755
index 5d7cc59..0000000
--- a/eww_laptop/bar/scripts/wifi
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-status=$(nmcli g | grep -oE "disconnected")
-essid=$(nmcli c | grep wlp2s0 | awk '{print ($1)}')
-
-if [ $status ] ; then
- icon=""
- text=""
- col="#575268"
-
-else
- icon=""
- text="${essid}"
- col="#a1bdce"
-fi
-
-
-
-if [[ "$1" == "--COL" ]]; then
- echo $col
-elif [[ "$1" == "--ESSID" ]]; then
- echo $text
-elif [[ "$1" == "--ICON" ]]; then
- echo $icon
-fi
-
diff --git a/eww_laptop/bar/scripts/workspace b/eww_laptop/bar/scripts/workspace
deleted file mode 100755
index f202ef1..0000000
--- a/eww_laptop/bar/scripts/workspace
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-workspaces() {
-
-ws1="1"
-ws2="2"
-ws3="3"
-ws4="4"
-ws5="5"
-ws6="6"
-
-# Unoccupied
-un="0"
-
-# check if Occupied
-o1=$(bspc query -D -d .occupied --names | grep "$ws1" )
-o2=$(bspc query -D -d .occupied --names | grep "$ws2" )
-o3=$(bspc query -D -d .occupied --names | grep "$ws3" )
-o4=$(bspc query -D -d .occupied --names | grep "$ws4" )
-o5=$(bspc query -D -d .occupied --names | grep "$ws5" )
-o6=$(bspc query -D -d .occupied --names | grep "$ws6" )
-
-# check if Focused
-f1=$(bspc query -D -d focused --names | grep "$ws1" )
-f2=$(bspc query -D -d focused --names | grep "$ws2" )
-f3=$(bspc query -D -d focused --names | grep "$ws3" )
-f4=$(bspc query -D -d focused --names | grep "$ws4" )
-f5=$(bspc query -D -d focused --names | grep "$ws5" )
-f6=$(bspc query -D -d focused --names | grep "$ws6" )
-
-ic_1=""
-ic_2=""
-ic_3=""
-ic_4=""
-ic_5=""
-ic_6=""
-if [ $f1 ]; then
- ic_1=""
-elif [ $f2 ]; then
- ic_2=""
-elif [ $f3 ]; then
- ic_3=""
-elif [ $f4 ]; then
- ic_4=""
-elif [ $f5 ]; then
- ic_5=""
-elif [ $f6 ]; then
- ic_6=""
-fi
-
-echo "(box :class \"works\" :orientation \"h\" :spacing 5 :space-evenly \"false\" (button :onclick \"bspc desktop -f $ws1\" :class \"$un$o1$f1\" \"$ic_1\") (button :onclick \"bspc desktop -f $ws2\" :class \"$un$o2$f2\" \"$ic_2\") (button :onclick \"bspc desktop -f $ws3\" :class \"$un$o3$f3\" \"$ic_3\") (button :onclick \"bspc desktop -f $ws4\" :class \"$un$o4$f4\" \"$ic_4\") (button :onclick \"bspc desktop -f $ws5\" :class \"$un$o5$f5\" \"$ic_5\") (button :onclick \"bspc desktop -f $ws6\" :class \"$un$o6$f6\" \"$ic_6\"))"
-
-}
-workspaces
-bspc subscribe desktop node_transfer | while read -r _ ; do
-workspaces
-done
diff --git a/eww_laptop/eww.scss b/eww_laptop/eww.scss
deleted file mode 100644
index 530cbeb..0000000
--- a/eww_laptop/eww.scss
+++ /dev/null
@@ -1,669 +0,0 @@
-/** EWW.SCSS
-Created by saimoom **/
-* {
- all: unset;
- font-family: "JetBrains Mono Nerd", feather;
- color:#7DCEFE;
-}
-
-/** General **/
-.bar_class {
- padding: 0px;
- background-color:#000000 ; /*#282828#111017;*/
-}
-.module {
- margin: 0px 0px 0px 0px;
- border-radius: 10px 10px 0px 10px;
-}
-
-.windowname {
- font-size: 18px;
- padding: 0px;
- margin: -5px;
-}
-
-/** tooltip!! **/
-tooltip.background {
- background-color: #0f0f17;
- font-size: 14;
- border-radius: 10px;
- color: #bfc9db;
-}
-
-tooltip label {
- margin: 3px;
-}
-
-/** Widgets **/
-
-.clock_time_sep {
- font-size: 15;
- color: #bfc9db;
- margin: 0px 0px 1px 0px;
-}
-.clock_time_class,
-.clock_minute_class {
- font-size: 20;
-}
-.clock_date_class {
- font-size: 18;
- margin: 0px 5px 0px 5px;
- color: #d7beda;
-}
-.clock_minute_class {
- margin: 0px 5px 0px 2px;
- color: #bfc9db;
-}
-.clock_time_class {
- color: #bfc9db;
- font-weight: bold;
- margin: 0px 0px 0px 8px;
-}
-
-.membar {
- color: #e0b089;
- background-color: #38384d;
- border-radius: 10px;
-}
-.batbar {
- color: #afbea2;
- background-color: #38384d;
- border-radius: 10px;
-}
-.brightbar trough highlight {
- background-image: linear-gradient(
- to right,
- #e4c9af 30%,
- #f2cdcd 50%,
- #e0b089 100% * 50
- );
- border-radius: 10px;
-}
-.brightbar scale trough {
- all: unset;
- box-shadow: 0 6px 5px 2px #06060b;
- background-color: #232232;
- border-radius: 24px;
- min-height: 10px;
- min-width: 100px;
- margin: 0px -15px 5px 0px;
-}
-.volbar trough highlight {
- background-image: linear-gradient(
- to right,
- #afcee0 30%,
- #a1bdce 50%,
- #77a5bf 100% * 50
- );
- border-radius: 10px;
-}
-
-.module_app_text {
- font-size: 20;
- margin: 2px 0px 0px 0px;
-}
-.bright_icon {
- font-size: 20;
- color: #e4c9af;
- margin: 0px 10px 0px -10px;
-}
-.bright_icon_overlay {
- font-size: 20;
- color: #e4c9af;
- background-size: cover;
- background-position: center;
- margin: 0px 27px 0px 3px;
-}
-.volume_icon {
- font-size: 20;
- color: #a1bdce;
- margin: 0px 5px 0px 0px;
-}
-.module-wif {
- font-size: 20;
- color: #a1bdce;
- border-radius: 100%;
- margin: 0px 10px 0px 0px;
-}
-.module_essid {
- font-size: 17;
- color: #a1bdce;
- margin: 0px 5px 0px -1px;
-}
-
-.iconmem {
- font-size: 8;
- margin: 4px -3px 4px 0px;
- color: #e0b089;
-}
-.mem_padding {
- margin: 0px 10px 10px 10px;
-}
-.iconbat {
- font-size: 17;
- color: #afbea2;
-}
-
-.separ {
- color: #3e424f;
- font-weight: bold;
- font-size: 22px;
- margin: 0px 0px 0px 0px;
-}
-
-.mem_module {
- background-color: #111017;
- border-radius: 16px;
- margin: 0px 10px 0px 0px;
-}
-.bat_module {
- background-color: #111017;
- border-radius: 16px;
- margin: 0px 10px 0px 10px;
-}
-
-scale trough {
- all: unset;
- background-color: #22242b;
- box-shadow: 0 2px 3px 2px #06060b;
- border-radius: 16px;
- min-height: 10px;
- min-width: 70px;
- margin: 0px 10px 0px 0px;
-}
-
-.works {
- font-size: 22px;
- font-weight: normal;
- margin: 0px 0px 0px 3px;
- background-color: #000000;
-}
-
-.0,
-.01,
-.02,
-.03,
-.04,
-.05,
-.06,
-.011,
-.022,
-.033,
-.044,
-.055,
-.066 {
- margin: 0px 10px 0px 0px;
-}
-
-/* Unoccupied */
-.0 {
- color: #3e424f;
-}
-
-/* Occupied */
-.01,
-.02,
-.03,
-.04,
-.05,
-.06 {
- color: #bfc9db;
-}
-
-/* Focused */
-.011,
-.022,
-.033,
-.044,
-.055,
-.066 {
- color: #a1bdce;
-}
-
-.song_cover_art {
- background-size: cover;
- background-position: center;
- min-height: 24px;
- min-width: 24px;
- margin: 10px;
- border-radius: 100px;
-}
-
-.song {
- color: #a1bdce;
- font-size: 18px;
- font-weight: bold;
- margin: 3px 5px 0px 0px;
-}
-
-.song_btn_play {
- color: #a1bdce;
- font-size: 28px;
- margin: 3px 0px 0px 5px;
-}
-
-.song_btn_prev,
-.song_btn_next {
- color: #bfc9db;
- font-size: 24px;
- margin: 3px 0px 0px 5px;
-}
-// Calendar
-.cal {
- border-radius: 10px;
- background-color: #0f0f17;
- font-family: JetBrainsMono Nerd Font;
- font-size: 18px;
- font-weight: normal;
-
- .cal-in {
- padding: 0px 10px 0px 10px;
- color: #bfc9db;
-
- .cal {
- &.highlight {
- padding: 20px;
- }
-
- padding: 5px 5px 5px 5px;
- margin-left: 10px;
- }
- }
-}
-
-calender {
- color: #bfc9db;
-}
-calendar:selected {
- color: #a1bdce;
-}
-
-calendar.header {
- color: #a1bdce;
- font-weight: bold;
-}
-
-calendar.button {
- color: #afbea2;
-}
-
-calendar.highlight {
- color: #a1bdce;
- font-weight: bold;
-}
-
-calendar:indeterminate {
- color: #bfc9db;
-}
-
-.sys_sep {
- color: #38384d;
- font-size: 18;
- margin: 0px 10px 0px 10px;
-}
-.sys_text_bat_sub,
-.sys_text_mem_sub {
- font-size: 16;
- color: #bbc5d7;
- margin: 5px 0px 0px 25px;
-}
-.sys_text_bat,
-.sys_text_mem {
- font-size: 21;
- font-weight: bold;
- margin: 14px 0px 0px 25px;
-}
-.sys_icon_bat,
-.sys_icon_mem {
- font-size: 30;
- margin: 30px;
-}
-.sys_win {
- border-radius: 10px;
- background-color: #0f0f17;
-}
-.sys_bat {
- color: #afbea2;
- background-color: #38384d;
- border-radius: 10px;
-}
-.sys_mem {
- color: #e4c9af;
- background-color: #38384d;
- border-radius: 10px;
-}
-.sys_icon_bat,
-.sys_text_bat {
- color: #afbea2;
-}
-.sys_icon_mem,
-.sys_text_mem {
- color: #e4c9af;
-}
-.sys_bat_box {
- border-radius: 16px;
- margin: 15px 10px 10px 20px;
-}
-.sys_mem_box {
- border-radius: 16px;
- margin: 10px 10px 15px 20px;
-}
-
-.music_pop {
- background-color: #0f0f17;
- border-radius: 16px;
-}
-.music_cover_art {
- background-size: cover;
- background-position: center;
- min-height: 100px;
- box-shadow: 5px 5px 5px 5px #06060b;
- min-width: 170px;
- margin: 20px;
- border-radius: 20px;
-}
-
-.music {
- color: #a1bdce;
- font-size: 20px;
- font-weight: bold;
- margin: 20px 0px 0px -15px;
-}
-
-.music_artist {
- color: #bbc5d7;
- font-size: 16px;
- font-weight: normal;
- margin: 0px 0px 0px 0px;
-}
-
-.music_btn_prev,
-.music_btn_play,
-.music_btn_next {
-}
-.music_btn_prev {
- color: #bbc5d7;
- font-size: 32px;
- font-weight: normal;
- margin: 0px 0px 0px 0px;
-}
-.music_btn_play {
- color: #a1bdce;
- font-size: 48px;
- font-weight: normal;
- margin: 0px 0px 0px 0px;
-}
-.music_btn_next {
- color: #bbc5d7;
- font-size: 32px;
- font-weight: normal;
- margin: 0px 0px 0px 0px;
-}
-
-.music_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(
- to right,
- #afcee0 30%,
- #a1bdce 50%,
- #77a5bf 100% * 50
- );
- border-radius: 24px;
-}
-.music_bar scale trough {
- all: unset;
- background-color: #232232;
- box-shadow: 0 6px 5px 2px #06060b;
- border-radius: 24px;
- min-height: 13px;
- min-width: 190px;
- margin: -10px 10px 20px 0px;
-}
-
-.audio-box {
- background-color: #0f0f17;
- border-radius: 16px;
-}
-.speaker_icon {
- background-size: cover;
- background-image: url("images/speaker.png");
- background-position: center;
- min-height: 40px;
- min-width: 45px;
- margin: 10px 10px 5px 20px;
- border-radius: 12px;
-}
-
-.speaker_text {
- color: #a1bdce;
- font-size: 22px;
- font-weight: bold;
- margin: 5px 15px 0px 15px;
-}
-.bright_text {
- color: #a1bdce;
- font-size: 22px;
- font-weight: bold;
- margin: 5px 15px 0px 25px;
-}
-
-.change_audio_box {
- margin: 0px 0px 0px 10px;
-}
-
-.change_audio {
- color: #a1bdce;
- margin: 0px 50px 0px 50px;
- font-size: 30px;
- font-weight: bold;
-}
-
-.speaker_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(
- to right,
- #afcee0 30%,
- #a1bdce 50%,
- #77a5bf 100% * 50
- );
- border-radius: 24px;
-}
-.speaker_bar scale trough {
- all: unset;
- background-color: #232232;
- box-shadow: 0 6px 5px 2px #06060b;
- border-radius: 24px;
- min-height: 10px;
- min-width: 100px;
- margin: 0px 0px 5px 0px;
-}
-
-.mic_icon {
- background-size: cover;
- background-image: url("images/mic.png");
- background-position: center;
- min-height: 40px;
- min-width: 45px;
- margin: 5px 20px 20px 10px;
- border-radius: 12px;
-}
-
-.mic_text {
- color: #a1bdce;
- font-size: 26px;
- font-weight: bold;
- margin: 0px 0px 0px 0px;
-}
-
-.mic_bar scale trough highlight {
- all: unset;
- background-image: linear-gradient(
- to right,
- #afcee0 30%,
- #a1bdce 50%,
- #77a5bf 100% * 50
- );
- border-radius: 24px;
-}
-.mic_bar scale trough {
- all: unset;
- box-shadow: 0 6px 5px 2px #06060b;
- background-color: #232232;
- border-radius: 24px;
- min-height: 10px;
- min-width: 100px;
- margin: 6px 0px 20px 0px;
-}
-
-.audio_sep {
- color: #38384d;
- font-size: 18;
- margin: 0px 0px 0px 0px;
-}
-
-//cockpit stuff
-
-.cockpit_class {
- all: unset;
-}
-
-.cockpit_clock {
- padding: 0px 30px 0px 30px;
-}
-
-.cockpit_box {
- background-color: #06060b;
- border-radius: 10px;
- margin: 5px;
- padding: 0px 5px 0px 5px;
- opacity: 0.85;
-}
-
-.cockpit_button_shutdown {
- color: #FF1111;
- font-size: 40px;
- margin: 0px 5px -30px 5px;
-}
-
-.cockpit_button_sleep {
- color: #0055FF;
- font-size: 40px;
- margin: 0px 5px -30px 5px;
-}
-
-.cockpit_button_restart {
- color: #11FF11;
- font-size: 40px;
- margin: 0px 5px -30px 5px;
-}
-
-.song_info {
- margin: -50px 0px 0px 0px;
- font-size: 20px;
- color: grey;
-}
-
-.album_cover {
- margin: -60px 10px 20px 10px;
- padding: 0px;
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- border-radius: 10px;
-}
-
-.cockpit_button_settings {
- color: #d35d6e;
- font-size: 35px;
- margin: -30px 5px 0px 5px;
-}
-
-.weather-icon {
- font-size: 80px;
- margin: 10px 0px 35px 25px;
-}
-
-.weather-stat {
- font-size: 30px;
- font-weight: bold;
- color: #d35d6e;
- margin: -20px 0px 10px 0px;
-}
-
-.temperature {
- color: grey;
- font-size: 48px;
- font-weight: 900;
- margin: 0px 0px 0px 20px;
-}
-.weather-quote {
- margin: 30px -5px 0px 20px;
- font-size: 20px;
-}
-.weather-quote-head,
-.weather-quote-tail {
- color: grey;
- font-size: 18px;
- margin: 10px 0px 10px 10px;
-}
-
-.cockpit_clock_left {
- font-size: 50px;
- font-weight: bold;
- color: #d35d6e;
- margin: 5px -20px -30px 0px;
-}
-
-.cockpit_clock_right {
- font-size: 50px;
- font-weight: bold;
- color: #d35d6e;
- margin: 5px 0px -30px -20px;
-}
-
-.cockpit_date {
- font-size: 50px;
- font-weight: bold;
- color: #d35d6e;
- margin: -30px -20px 0px -20px;
-}
-
-.cockpit_clock_sep {
- font-size: 40px;
- font-weight: bold;
- color: #d35d6e;
- margin: 0px -20px -30px -20px;
-}
-
-.cockpit_docs {
- color: #FF1111;
- font-size: 30px;
- margin: 10px 0px -10px 0px;
-}
-
-.cockpit_pics {
- color: #11FF11;
- font-size: 30px;
- margin: 0px 0px 0px 0px;
- padding: 0px;
-}
-
-.cockpit_gits {
- color: #0055FF;
- font-size: 30px;
- margin: -20px 0px 10px 0px;
-}
-
-.cockpit_sep_bottom {
- color: #38384d;
- font-size: 18;
- margin: -10px 0px 0px 0px;
- padding: 0px;
-}
-
-.cockpit_sep_top {
- color: #38384d;
- font-size: 18;
- margin: 0px 0px -10px 0px;
- padding: 0px;
-}
diff --git a/eww_laptop/eww.yuck b/eww_laptop/eww.yuck
deleted file mode 100644
index 922a807..0000000
--- a/eww_laptop/eww.yuck
+++ /dev/null
@@ -1,513 +0,0 @@
-;; date definitions ;;
-(defpoll clock_time :interval "1m" "date +\%I")
-(defpoll clock_minute :interval "5s" "date +\%M")
-(defpoll clock_date :interval "10h" "date '+%d/%m'")
-
-;; volume definitions ;;
-(defpoll volume_percent :interval "1s" "pactl get-sink-volume @DEFAULT_SINK@ | awk -F '/' ' { print $2 } ' | tr -d ' %'")
-(defpoll mic_percent :interval "1s" "pactl get-source-volume @DEFAULT_SOURCE@ | awk -F'/' '{ print $2 }' | tr -d ' %'")
-(defpoll brightness_percent :interval "5s" "brightnessctl -m -d intel_backlight | awk -F, '{print substr($4, 0, length($4)-1)}' | tr -d '%'")
-
-;; battery definitions ;;
-(defpoll battery_status :interval "5s" "./scripts/battery stat")
-(defpoll battery-capacity :interval "5s" "scripts/battery percent")
-(defpoll battery :interval "5s" "scripts/battery icon")
-
-;; memory definitions ;;
-(defpoll memory :interval "15s" "scripts/memory")
-(defpoll memory_used_mb :interval "2m" "scripts/mem-ad used")
-(defpoll memory_total_mb :interval "2m" "scripts/mem-ad total")
-(defpoll memory_free_mb :interval "2m" "scripts/mem-ad free")
-
-;; wifi definitions ;;
-(defpoll COL_WLAN :interval "1m" "~/.config/eww/scripts/wifi --COL")
-(defpoll ESSID_WLAN :interval "1m" "~/.config/eww/scripts/wifi --ESSID")
-(defpoll WLAN_ICON :interval "1m" "~/.config/eww/scripts/wifi --ICON")
-
-;; music definitions ;;
-(defpoll Song_info :interval "2s" "scripts/music_control")
-(defpoll Thumbnail :interval "2s" "scripts/music_control2")
-
-;; current window ;;
-;;(defpoll currentWindow :interval "100ms" "hyprctl activewindow | grep class | awk -F ':' '{ print $2 }'")
-
-;; calendar definitions ;;
-(defpoll calendar_day :interval "20h" "date '+%d'")
-(defpoll calendar_year :interval "20h" "date '+%Y'")
-
-;; Weather vars
- (defpoll weather-icon :interval "20m" "cat ~/.cache/weather/weather-icon")
- (defpoll temperature :interval "20m" "cat ~/.cache/weather/weather-degree")
- (defpoll weather-hex :interval "20m" "cat ~/.cache/weather/weather-hex")
- (defpoll weather-stat :interval "20m" "cat ~/.cache/weather/weather-stat")
- (defpoll weather-stat-side :interval "20m" "~/.config/eww/scripts/weather-trimmer")
- (defpoll weather-quote :interval "20m" "~/.config/eww/scripts/getwethquote")
-
-;; simple variables ;;
-(defvar eww "$HOME/.local/bin/eww -c $HOME/.config/eww")
-(defvar vol_reveal false)
-(defvar br_reveal false)
-(defvar music_reveal false)
-(defvar wifi_rev false)
-(defvar time_rev false)
-(deflisten workspace "scripts/workspace")
-(deflisten currentName "scripts/current_name")
-
-
-;; widgets
-
-
-;; wifi ;;
-(defwidget wifi []
- (eventbox :onhover "${eww} update wifi_rev=true"
- :onhoverlost "${eww} update wifi_rev=false"
- (box :vexpand "false" :hexpand "false" :space-evenly "false"
- (button :class "module-wif" :onclick "hyprctl dispatch exec 'alacritty -e nmtui' && ${eww} update wifi_rev=false" :wrap "false" :limit-width 12 :style "color: ${COL_WLAN};" WLAN_ICON)
- (revealer :transition "slideright"
- :reveal wifi_rev
- :duration "350ms"
- (button :class "module_essid" :onclick "hyprctl dispatch exec 'alacritty -e nmtui' && ${eww} update wifi_rev=false" :wrap "false" :limit-width 12 :style "color: ${COL_WLAN};" ESSID_WLAN)))))
-
-(defwidget bluetooth []
- (box :vexpand "false" :hexpand "false" :space-evenly "false"
- (button :class "module-wif" :onclick "hyprctl dispatch exec 'blueman-manager'" :wrap "false" :limit-width 12 :style "color: ${COL_WLAN};" "")
- ))
-
-;; workspaces ;;
-(defwidget workspaces []
- (literal :content workspace))
-
-
-;; Battery ;;
-(defwidget bat []
- (box :class "bat_module" :vexpand "false" :hexpand "false"
- (button
- :class "iconbat"
- :tooltip "Battery: ${battery-capacity}%"
- :show_truncated false
- :onclick "$HOME/.config/eww/scripts/pop system"
- :wrap false
- "${battery}")))
-
-;; memory ;;
-(defwidget mem []
- (box :class "mem_module" :vexpand "false" :hexpand "false"
- (button :class "iconmem"
- :onclick "$HOME/.config/eww/scripts/pop system"
- (circular-progress :value memory
- :class "membar"
- :thickness 4
- :tooltip "using ${memory}% ram"
- :show_truncated false
- :wrap false
- (label :class "mem_padding" :text "")
- ))))
-
-
-;; seperator ;;
-(defwidget sep []
- (box :class "module-2" :vexpand "false" :hexpand "false"
- (label :class "separ" :text "|")))
-
-;; clock ;;
-(defwidget clock_module []
- (eventbox :onhover "${eww} update time_rev=true"
- :onhoverlost "${eww} update time_rev=false"
- (button :onclick "scripts/pop calendar"
- (box :class "module" :space-evenly "false" :orientation "h" :spacing "3"
- (label :text clock_time :class "clock_time_class" )
- (label :text "" :class "clock_time_sep" )
- (label :text clock_minute :class "clock_minute_class")
- (revealer :class "clock_date_class"
- :transition "slideleft"
- :reveal time_rev
- :duration "350ms"
- clock_date
- )))))
-
-;; speaker volume ;;
-(defwidget volume []
- (box :class "module-2" :space-evenly "false" :orientation "h" :spacing "3"
- (button :onclick "scripts/pop audio" :class "volume_icon" "")))
-
-;; screen brightness ;;
-(defwidget bright []
- (box :class "module-2" :space-evenly "false" :orientation "h" :spacing "3"
- (button :onclick "scripts/pop brightness" :class "bright_icon" "")))
-
-;; brightness widget ;;
-(defwidget brightness_overlay []
- (eventbox :onhover "scripts/pop hoverCreate"
- :onhoverlost "scripts/pop hoverGet brightness_window"
- (box :class "audio-box" :halign "center" :orientation "v" :vexpand "false" :hexpand "false"
- (label :class "speaker_text" :text "brightness" :halign "left" )
- (box :class "brightbar" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "bright_icon_overlay" :text "")
- (scale :value brightness_percent
- :space-evenly "false"
- :orientation "h"
- :onchange "brightnessctl set {}%"
- :tooltip "brightness on ${brightness_percent}%"
- :max 100
- :min 0)))))
-
-;; audio volume widget ;;
-(defwidget audio []
- (eventbox :onhover "scripts/pop hoverCreate"
- :onhoverlost "scripts/pop hoverGet audio_ctl"
- (box :class "audio-box" :orientation "v" :space-evenly "false" :vexpand "false" :hexpand "false"
- (box :halign "center" :space-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "speaker_icon" :orientation "v")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "speaker_text" :text "speaker" :valign "center" :halign "left" )
- (box :class "speaker_bar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value volume_percent
- :space-evenly "false"
- :orientation "h"
- :onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
- :tooltip "volume on ${volume_percent}%"
- :max 100
- :min 0))))
- (label :text "" :class "audio_sep" :halign "center")
- (box :halign "center" :space-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "mic_icon" :orientation "v")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "speaker_text" :text "mic" :valign "center" :halign "left" )
- (box :class "mic_bar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value mic_percent
- :space-evenly "false"
- :orientation "h"
- :tooltip "mic on ${mic_percent}%"
- :onchange "pactl set-source-volume @DEFAULT_SOURCE@ {}%"
- :max 100
- :min 0))))
- (label :text "" :class "audio_sep" :halign "center")
- (box :halign "center" :space-evenly "false" :hexpand "false" :vexpand "false"
- (label :class "bright_icon_overlay" :orientation "v" :text "")
- (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- (label :class "bright_text" :text "lux" :valign "center" :halign "right" )
- (box :class "brightbar" :halign "center" :vexpand "false" :hexpand "false"
- (scale :value brightness_percent
- :space-evenly "false"
- :orientation "h"
- :tooltip "brightness ${brightness_percent}%"
- :onchange "brightnessctl set {}%"
- :max 100
- :min 0))))
- (label :text "" :class "audio_sep" :halign "center")
- (box :class "change_audio_box" :halign "center" :spac`e-evenly "false" :hexpand "false" :vexpand "false"
- (box :class "change_audio" :orientation "v" :halign "left"
- (button :onclick "scripts/change-audio internal" ""))
- (box :class "change_audio" :orientation "v" :halign "right"
- (button :onclick "scripts/change-audio bluetooth" ""))
- ))))
-
-(defwidget cname []
- (literal :class "windowname" :content currentName))
-
-;; calendar ;;
-(defwidget cal []
- (eventbox :onhover "scripts/pop hoverCreate"
- :onhoverlost "scripts/pop hoverGet calendar"
- (box :class "cal" :orientation "v"
- (box :class "cal-in"
- (calendar :class "cal"
- :day calendar_day
- :year calendar_year)))))
-
-(defwidget system []
- (eventbox :onhover "scripts/pop hoverCreate"
- :onhoverlost "scripts/pop hoverGet system"
- (box :class "sys_win" :orientation "v" :space-evenly "false" :hexpand "false" :vexpand "false" :spacing 0
- (box :class "sys_bat_box" :orientation "h" :space-evenly "false"
- (circular-progress :value battery-capacity
- :class "sys_bat"
- :thickness 9
- (label :text ""
- :class "sys_icon_bat"
- :limit-width 2
- :show_truncated false
- :wrap false))
- (box :orientation "v" :space-evenly "false" :spacing 0 :hexpand "false" :vexpand "false"
- (label :text "battery"
- :halign "start"
- :class "sys_text_bat"
- :limit-width 9
- :show_truncated false
- :wrap false)
- (label :text "${battery-capacity}%"
- :halign "start"
- :class "sys_text_bat_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)
- (label :text "${battery_status}"
- :halign "start"
- :class "sys_text_bat_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)))
- (label :text "" :class "sys_sep" :halign "center")
- (box :class "sys_mem_box" :orientation "h" :space-evenly "false" :halign "start"
- (circular-progress :value memory
- :class "sys_mem"
- :thickness 9
- (label :text ""
- :class "sys_icon_mem"
- :limit-width 2
- :show_truncated false
- :wrap false
- :angle 0.0))
- (box :orientation "v" :space-evenly "false" :spacing 0 :hexpand "false" :vexpand "false"
- (label :text "memory"
- :halign "start"
- :class "sys_text_mem"
- :limit-width 9
- :show_truncated false
- :wrap false)
- (label :text "${memory_used_mb} | ${memory_total_mb}mb "
- :halign "start"
- :class "sys_text_mem_sub"
- :limit-width 22
- :show_truncated false
- :wrap false)
- (label :text "${memory_free_mb}mb free"
- :halign "start"
- :class "sys_text_mem_sub"
- :limit-width 22
- :show_truncated false
- :wrap false))))))
-
-;; cockpit widget ;;
-(defwidget cockpit []
- (box :orientation "h"
- (box :class "cockpit_class"
- :orientation "h"
- (box :orientation "v"
- (box :class "cockpit_box" :orientation "v"
- (box
- (button :class "cockpit_button_shutdown" :onclick "hyprctl dispatch exec 'shutdown now'" "")
- (button :class "cockpit_button_restart" :onclick "hyprctl dispatch exec reboot" "")
- (button :class "cockpit_button_sleep" :onclick "hyprctl dispatch exec 'playerctl -a pause & swaylock -c 000000 & systemctl suspend'" ""))
- (label :text "" :class "audio_sep" :halign "center")
- (box
- (button :class "cockpit_button_settings" :onclick "hyprctl dispatch exec 'pavucontrol'" "")
- (button :class "cockpit_button_settings" :onclick "scripts/change-audio bluetooth" "")))
- (box :class "cockpit_box" :orientation "v"
- (button :class "cockpit_docs" :onclick "hyprctl dispatch exec nautilus $HOME/Documents" "Documents ")
- (label :text "" :class "cockpit_sep_top" :halign "center")
- (button :class "cockpit_pics" :onclick "hyprctl dispatch exec nautilus $HOME/Pictures" "Pictures ")
- (label :text "" :class "cockpit_sep_bottom" :halign "center")
- (button :class "cockpit_gits" :onclick "hyprctl dispatch exec 'alacritty --working-directory $HOME/gits'" "gits ")))
- (box :orientation "v"
- (box :class "cockpit_box" :orientation "v"
- (box :class "cockpit_clock"
- (label :text clock_time :class "cockpit_clock_left" )
- (label :text "" :class "cockpit_clock_sep" )
- (label :text clock_minute :class "cockpit_clock_right"))
- (label :text "" :class "audio_sep" :halign "center")
- (box :class "cockpit_clock"
- (label :text clock_date :class "cockpit_date")
- ))
- (box :class "cockpit_box" (weather)))
- (box :width 300 :height 200 :class "cockpit_box" :orientation "v"
- (box :class "song_info"
- (label :wrap true :text "${Song_info}"))
- (box :class "album_cover" :style 'background-image: url("${Thumbnail}")')
- )))
-)
-
-;; weather ;;
- (defwidget weather []
- (box :orientation "v" :space-evenly "false"
- (box :orientation "h" :space-evenly "false"
- (box :class "weather-icon" :style "color: ${weather-hex}" {weather-icon})
- (box :class "temperature" "${temperature}"))
- (box :orientation "v" :space-evenly "false"
- (box :class "weather-stat" {weather-stat}))
- (box :class "weather-quote-head"
- (label :wrap true :text {weather-quote}))))
-
-;; left side but displayed right? ;;
-(defwidget left []
- (box :orientation "h"
- :space-evenly false
- :halign "end"
- :class "left_modules"
-(volume)
-(wifi)
-(bluetooth)
-(sep)
-(bat)
-(mem)
-(sep)
-(clock_module)))
-
-;; right side but displayed left? ;;
-(defwidget right []
- (box :orientation "h"
- :space-evenly false
- :halign "start"
- :class "right_modules"
-(workspaces)))
-
-;; center widget ;;
-(defwidget center []
- (box :orientation "h"
- :space-evenly false
- :halign "center"
- :class "center_modules"
-(cname)))
-
-;; bar as widget;;
-(defwidget bar_1 []
- (box :class "bar_class"
- :orientation "h"
- (right)
- (center)
- (left)
- ))
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Drawing Windows ;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defwindow calendar
- :monitor 0
- :geometry (geometry :x "20px"
- :y "2px"
- :anchor "top right"
- :width "270px"
- :height "60px")
- :stacking "overlay"
-(cal))
-
-(defwindow audio_ctl
- :monitor 0
- :geometry (geometry :x "120px"
- :y "2px"
- :anchor "top right"
- :width "250px"
- :height "330px")
- :stacking "overlay"
-(audio))
-
-(defwindow brightness_window
- :monitor 0
- :geometry (geometry :x "250px"
- :y "2px"
- :anchor "top right"
- :width "280px"
- :height "60px")
- :stacking "overlay"
-(brightness_overlay))
-
-;; music again .. ;;
-;; (defwindow music_win :stacking "fg" :focusable "false" :screen 1
-;; :geometry (geometry :x "0" :y "7%" :width 428 :height 104 :anchor "top center")
-;; (music_pop))
-
-(defwindow system
- :monitor 0
- :geometry (geometry :x "50px"
- :y "2px"
- :anchor "top right"
- :width "290px"
- :height "120px")
- :stacking "overlay"
-(system))
-
-;; draw the bar ;;
-(defwindow bar
- :monitor 0
- :geometry (geometry :x "0%"
- :y "1px"
- :width "99%"
- :height "10px"
- :anchor "top center")
- :stacking "bg"
- :wm-ignore false
- :exclusive true
- (bar_1))
-
-;; draw the bar ;;
-(defwindow cockpit_window_0
- :monitor 0
- :geometry (geometry
- :width "600px"
- :height "500px"
- :anchor "center")
- :stacking "overlay"
- :wm-ignore false
- :exclusive true
- (cockpit))
-
-(defwindow calendar1
- :monitor 1
- :geometry (geometry :x "20px"
- :y "2px"
- :anchor "top right"
- :width "270px"
- :height "60px")
- :stacking "overlay"
-(cal))
-
-(defwindow audio_ctl1
- :monitor 1
- :geometry (geometry :x "120px"
- :y "2px"
- :anchor "top right"
- :width "250px"
- :height "330px")
- :stacking "overlay"
-(audio))
-
-(defwindow brightness_window1
- :monitor 1
- :geometry (geometry :x "250px"
- :y "2px"
- :anchor "top right"
- :width "280px"
- :height "60px")
- :stacking "overlay"
-(brightness_overlay))
-
-;; music again .. ;;
-;; (defwindow music_win1 :stacking "fg" :focusable "false" :screen 1
-;; :geometry (geometry :x "0" :y "7%" :width 428 :height 104 :anchor "top center")
-;; (music_pop))
-
-(defwindow system1
- :monitor 1
- :geometry (geometry :x "50px"
- :y "2px"
- :anchor "top right"
- :width "290px"
- :height "120px")
- :stacking "overlay"
-(system))
-
-;; draw the bar ;;
-(defwindow bar1
- :monitor 1
- :geometry (geometry :x "0%"
- :y "0px"
- :width "99%"
- :height "1px"
- :anchor "top center")
- :stacking "bg"
- :wm-ignore false
- :exclusive true
- (bar_1))
-
-;; draw the bar ;;
-(defwindow cockpit_window_1
- :monitor 1
- :geometry (geometry
- :width "600px"
- :height "500px"
- :anchor "center")
- :stacking "overlay"
- :wm-ignore false
- :exclusive true
- (cockpit))
-
diff --git a/eww_laptop/images/mic.png b/eww_laptop/images/mic.png
deleted file mode 100644
index d77f315..0000000
Binary files a/eww_laptop/images/mic.png and /dev/null differ
diff --git a/eww_laptop/images/music.png b/eww_laptop/images/music.png
deleted file mode 100644
index 11804f5..0000000
Binary files a/eww_laptop/images/music.png and /dev/null differ
diff --git a/eww_laptop/images/profile.png b/eww_laptop/images/profile.png
deleted file mode 100644
index 0190a36..0000000
Binary files a/eww_laptop/images/profile.png and /dev/null differ
diff --git a/eww_laptop/images/speaker.png b/eww_laptop/images/speaker.png
deleted file mode 100644
index 79e005b..0000000
Binary files a/eww_laptop/images/speaker.png and /dev/null differ
diff --git a/eww_laptop/launch_bar b/eww_laptop/launch_bar
deleted file mode 100755
index 205cd60..0000000
--- a/eww_laptop/launch_bar
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-## Files and cmd
-FILE="$HOME/.cache/eww_launch.xyz"
-EWW="$HOME/.local/bin/eww -c $HOME/.config/eww"
-
-## Run eww daemon if not running already
-if [[ ! `pidof eww` ]]; then
- ${EWW} daemon
- sleep 1
-fi
-
-## Open widgets
-run_eww() {
- ${EWW} open-many \
- bar
-
-}
-
-## Launch or close widgets accordingly
-if [[ ! -f "$FILE" ]]; then
- touch "$FILE"
- run_eww && bspc config -m LVDS-1 top_padding 49
-else
- ${EWW} close-all && killall eww
- rm "$FILE"
-fi
diff --git a/eww_laptop/scripts/audio_devices b/eww_laptop/scripts/audio_devices
deleted file mode 100755
index 1548cfd..0000000
--- a/eww_laptop/scripts/audio_devices
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-CLIENTS=$(pactl list sink-inputs | grep "application.process.binary" | awk -F '= ' ' { print $2 } ' | tr -d '"')
-
-readarray -t lines <<<"$CLIENTS"
-
-printf "%s\n" "${lines[@]}"
-echo ${lines[2]}
-
-
-#echo "(box :class \"works\" :orientation \"h\" :spacing 5 :space-evenly \"false\" (button :onclick \"hyprctl dispatch workspace 1\" :class \"$un$o1$f1\" \"$ic_1\") (button :onclick \"hyprctl dispatch workspace 2\" :class \"$un$o2$f2\" \"$ic_2\") (button :onclick \"hyprctl dispatch workspace 3\" :class \"$un$o3$f3\" \"$ic_3\") (button :onclick \"hyprctl dispatch workspace 4\" :class \"$un$o4$f4\" \"$ic_4\") (button :onclick \"hyprctl dispatch workspace 5\" :class \"$un$o5$f5\" \"$ic_5\") (button :onclick \"hyprctl dispatch workspace 6\" :class \"$un$o6$f6\" \"$ic_6\") (button :onclick \"hyprctl dispatch workspace 7\" :class \"$un$o7$f7\" \"$ic_7\") (button :onclick \"hyprctl dispatch workspace 8\" :class \"$un$o8$f8\" \"$ic_8\"))"
-
- # (eventbox :onhover "scripts/pop hoverCreate"
- # :onhoverlost "scripts/pop hoverGet audio_ctl"
- # (box :class "audio-box" :orientation "v" :space-evenly "false" :vexpand "false" :hexpand "false"
-
- # (box :halign "center" :space-evenly "false" :hexpand "false" :vexpand "false"
- # (box :class "speaker_icon" :orientation "v")
- # (box :orientation "v" :halign "center" :vexpand "false" :hexpand "false"
- # (label :class "speaker_text" :text "speaker" :valign "center" :halign "left" )
- # (box :class "speaker_bar" :halign "center" :vexpand "false" :hexpand "false"
- # (scale :value volume_percent
- # :space-evenly "false"
- # :orientation "h"
- # :onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
- # :tooltip "volume on ${volume_percent}%"
- # :max 100
- # :min 0))))
-
- # (label :text "" :class "audio_sep" :halign "center")
-
- # ))))
diff --git a/eww_laptop/scripts/auto_dock.sh b/eww_laptop/scripts/auto_dock.sh
deleted file mode 100755
index 1abba04..0000000
--- a/eww_laptop/scripts/auto_dock.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-bat=/sys/class/power_supply/BAT0/
-char="$(cat "$bat/status")"
-monitor_count=$(hyprctl monitors | rg "ID 1")
-internal_active=$(hyprctl monitors | rg "eDP-1")
-
-
-close() {
-if [ "$char" == "Discharging" ]; then
- # dunstify 'discharging and locking'
- playerctl --all-players -a pause
- swaylock -c 000000 & systemctl suspend
-else
- if [ "$monitor_count" == "" ]; then
- # dunstify 'charging but no second monitor, locking'
- playerctl --all-players -a pause
- swaylock -c 000000 & systemctl suspend
- else
- dunstify 'charging and second monitor, switching to external mode'
- ./monitor.sh onlysecond
- fi
-fi
-}
-
-open() {
- if [ "$internal_active" == "" ]; then
- if [ "$monitor_count" == "" ]; then
- dunstify 'external monitor connected, extending'
- ./monitor.sh extend
- else
- dunstify 'only internal'
- ./monitor.sh onlyfirst
- fi
- fi
-}
-
-
-if [ "$1" == "open" ]; then
- open
-else
- close
-fi
-
-
-
diff --git a/eww_laptop/scripts/bar_toggle.sh b/eww_laptop/scripts/bar_toggle.sh
deleted file mode 100755
index fc42071..0000000
--- a/eww_laptop/scripts/bar_toggle.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /bin/bash
-
-ISOPEN=$(eww windows | grep "*bar" | tr -d '*')
-
-
-if [ "$ISOPEN" = "" ]; then
-MONITOR=$(hyprctl monitors | grep -B 10 "focused: yes" | grep "ID" | awk -F '(' ' { print $2 } ' | tr -d 'ID ):')
- eww open bar
-else
- eww close "$ISOPEN"
-fi
diff --git a/eww_laptop/scripts/battery b/eww_laptop/scripts/battery
deleted file mode 100755
index d42c0e7..0000000
--- a/eww_laptop/scripts/battery
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/bash
-
-bat=/sys/class/power_supply/BAT0/
-per="$(cat "$bat/capacity")"
-char="$(cat "$bat/status")"
-
-icon() {
-
-#[ $(cat "$bat/status") = Charging ] && echo "" && exit
-
-if [ "$char" == "Charging" ]; then
- if [ "$per" -gt "90" ]; then
- icon=""
- elif [ "$per" -gt "80" ]; then
- icon=""
- elif [ "$per" -gt "70" ]; then
- icon=""
- elif [ "$per" -gt "60" ]; then
- icon=""
- elif [ "$per" -gt "50" ]; then
- icon=""
- elif [ "$per" -gt "40" ]; then
- icon=""
- elif [ "$per" -gt "30" ]; then
- icon=""
- elif [ "$per" -gt "20" ]; then
- icon=""
- elif [ "$per" -gt "10" ]; then
- icon=""
- elif [ "$per" -gt "0" ]; then
- icon=""
- else
- echo && exit
- fi
-else
- if [ "$per" -gt "90" ]; then
- icon=""
- elif [ "$per" -gt "80" ]; then
- icon=""
- elif [ "$per" -gt "70" ]; then
- icon=""
- elif [ "$per" -gt "60" ]; then
- icon=""
- elif [ "$per" -gt "50" ]; then
- icon=""
- elif [ "$per" -gt "40" ]; then
- icon=""
- elif [ "$per" -gt "30" ]; then
- icon=""
- elif [ "$per" -gt "20" ]; then
- icon=""
- elif [ "$per" -gt "10" ]; then
- icon=""
- elif [ "$per" -gt "0" ]; then
- icon=""
- notify-send -u critical "Battery Low" "Connect Charger"
- else
- echo && exit
- fi
-fi
- echo "$icon"
-}
-
-percent() {
- echo $per
-}
-
-stat() {
- echo $char
-}
-
-[ "$1" = "icon" ] && icon && exit
-[ "$1" = "percent" ] && percent && exit
-[ "$1" = 'stat' ] && stat && exit
-exit
-
diff --git a/eww_laptop/scripts/change-audio b/eww_laptop/scripts/change-audio
deleted file mode 100755
index 99702c3..0000000
--- a/eww_laptop/scripts/change-audio
+++ /dev/null
@@ -1,35 +0,0 @@
-#! /bin/bash
-
-internal() {
- SPEAKER=$(pactl list sinks | grep "Name" | grep "alsa" | awk -F ': ' '{ print $2 }')
- if [ "$SPEAKER" != "" ]; then
- pactl set-default-sink "$SPEAKER"
- pactl set-sink-mute "$SPEAKER" false
- notify-send "changed audio to internal speakers "
- else
- notify-send "failed, not available!"
- fi
-}
-
-bluetooth() {
- SPEAKER=$(pactl list sinks | grep "Name" | grep "blue" | awk -F ': ' '{ print $2 }')
- if [ "$SPEAKER" != "" ]; then
- pactl set-default-sink "$SPEAKER"
- pactl set-sink-mute "$SPEAKER" false
- notify-send "changed audio to Bluetooth"
- else
- notify-send "failed, not available!"
- fi
-}
-
-
-if [ "$1" == "internal" ]; then
- internal
-elif [ "$1" == "bluetooth" ]; then
- bluetooth
-else
- SPEAKER=$(pactl info | grep "Default Sink" | awk -F ': ' ' { print $2 } ')
- pactl set-sink-mute "$SPEAKER" false
-fi
-
-
diff --git a/eww_laptop/scripts/change-brightness b/eww_laptop/scripts/change-brightness
deleted file mode 100755
index 198dc44..0000000
--- a/eww_laptop/scripts/change-brightness
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/bash
-
-set_brightness() {
-brightnessctl set "$1"
-CURRENT=$(brightnessctl -m -d intel_backlight | awk -F, '{print substr($4, 0, length($4)-1)}')
-dunstify -a "changeBrightness" -r 3 -u low -i brightness-high -h int:value:"$CURRENT" "Brightness: ${CURRENT}%"
-}
-
-if [ "$1" == "brightness" ]; then
- set_brightness "$2"
-fi
-
diff --git a/eww_laptop/scripts/change-volume b/eww_laptop/scripts/change-volume
deleted file mode 100755
index 6fd1ed0..0000000
--- a/eww_laptop/scripts/change-volume
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/bash
-
-set_volume_sink() {
-pactl set-sink-volume @DEFAULT_SINK@ "$1"
-CURRENT=$(pactl get-sink-volume @DEFAULT_SINK@ | awk -F'/' '{ print $2 }' | tr -d ' %')
-# dunstify -a "changeVolume" -r 2 -u low -i audio-volume-high -h int:value:"$CURRENT" "Output Volume: ${CURRENT}%"
-dunstify -a "System Volume" -r 3 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Output Volume: ${CURRENT}%"
-}
-
-set_volume_source() {
-pactl set-source-volume @DEFAULT_SOURCE@ "$1"
-CURRENT=$(pactl get-source-volume @DEFAULT_SOURCE@ | awk -F'/' '{ print $2 }' | tr -d ' %')
-# dunstify -a "changeMicVolume" -r 2 -u low -i audio-volume-high -h int:value:"$CURRENT" "Input Volume: ${CURRENT}%"
-dunstify -a "System Volume" -r 3 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Input Volume: ${CURRENT}%"
-}
-
-
-if [ "$1" == "sink" ]; then
- set_volume_sink "$2"
-elif [ "$1" == "source" ]; then
- set_volume_source "$2"
-fi
diff --git a/eww_laptop/scripts/cockpit_toggle b/eww_laptop/scripts/cockpit_toggle
deleted file mode 100755
index 80dfd97..0000000
--- a/eww_laptop/scripts/cockpit_toggle
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /bin/bash
-
-ISOPEN=$(eww windows | grep "*cockpit" | tr -d '*')
-
-
-if [ "$ISOPEN" = "" ]; then
-MONITOR=$(hyprctl monitors | grep -B 10 "focused: yes" | grep "ID" | awk -F '(' ' { print $2 } ' | tr -d 'ID ):')
- eww open cockpit_window_"$MONITOR"
-else
- eww close "$ISOPEN"
-fi
diff --git a/eww_laptop/scripts/current_name b/eww_laptop/scripts/current_name
deleted file mode 100755
index 224bfac..0000000
--- a/eww_laptop/scripts/current_name
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-currentName() {
- win=$(hyprctl activewindow | grep class | awk -F ':' '{print $2}' | tr -d ' ')
- echo "(box :class \"module_app_text\" :space-evenly \"false\" :orientation \"h\" :spacing \"3\" (label :text \"$win\"))"
-}
-currentName
-tail -f /tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | grep -E --line-buffered "focus to surface" | while read -r; do
-currentName
-done
diff --git a/eww_laptop/scripts/firefox_control.sh b/eww_laptop/scripts/firefox_control.sh
deleted file mode 100755
index 32d818e..0000000
--- a/eww_laptop/scripts/firefox_control.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#! /bin/bash
-
-NUM=$(pactl list clients short | grep "firefox" | awk -F 'PipeWire' ' { print $1 } ' | tr -d ' \t\n')
-CLIENT=$(pactl list sink-inputs short | grep "$NUM" | awk -F ' ' ' { print $1 }' | tr -d ' \t\n')
-pactl set-sink-input-volume "$CLIENT" "$1"
diff --git a/eww_laptop/scripts/getwethquote b/eww_laptop/scripts/getwethquote
deleted file mode 100755
index 7bfaf34..0000000
--- a/eww_laptop/scripts/getwethquote
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo -e $(cat $HOME/.cache/weather/weather-quote) | head -n1
diff --git a/eww_laptop/scripts/getwethquote2 b/eww_laptop/scripts/getwethquote2
deleted file mode 100755
index a34afa9..0000000
--- a/eww_laptop/scripts/getwethquote2
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo -e $(cat $HOME/.cache/weather/weather-quote) | tail -n1
diff --git a/eww_laptop/scripts/mem-ad b/eww_laptop/scripts/mem-ad
deleted file mode 100755
index 0495e00..0000000
--- a/eww_laptop/scripts/mem-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-
-total="$(free -m | grep Mem: | awk '{ print $2 }')"
-used="$(free -m | grep Mem: | awk '{ print $3 }')"
-
-free=$(expr $total - $used)
-
-if [ "$1" = "total" ]; then
- echo $total
-elif [ "$1" = "used" ]; then
- echo $used
-elif [ "$1" = "free" ]; then
- echo $free
-fi
diff --git a/eww_laptop/scripts/memory b/eww_laptop/scripts/memory
deleted file mode 100755
index da37c1d..0000000
--- a/eww_laptop/scripts/memory
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
diff --git a/eww_laptop/scripts/monitor.sh b/eww_laptop/scripts/monitor.sh
deleted file mode 100755
index 7ccbc27..0000000
--- a/eww_laptop/scripts/monitor.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-onlysecond() {
- dunstify "Switching to external monitor only"
- hyprctl keyword monitor ,highrr,0x0,1
- hyprctl keyword monitor eDP-1,disabled
-}
-
-onlyfirst() {
- dunstify "Switching to internal monitor only"
- hyprctl keyword monitor ,disabled
- hyprctl keyword monitor eDP-1,1920x1080@144,0x0,1
-}
-
-extend() {
- dunstify "Switching to extend mode"
- hyprctl keyword monitor ,highrr,1920x0,1
- hyprctl keyword monitor eDP-1,1920x1080@144,0x0,1
-}
-
-mirror() {
- dunstify "Switching to mirror mode"
- hyprctl keyword monitor ,highrr,0x0,1
- hyprctl keyword monitor eDP-1,1920x1080@144,0x0,1
-}
-
-
-if [ "$1" == "onlysecond" ]; then
- onlysecond
-elif [ "$1" == "onlyfirst" ]; then
- onlyfirst
-elif [ "$1" == "extend" ]; then
- extend
-elif [ "$1" == "mirror" ]; then
- mirror
-fi
diff --git a/eww_laptop/scripts/music_control b/eww_laptop/scripts/music_control
deleted file mode 100755
index 70a1483..0000000
--- a/eww_laptop/scripts/music_control
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo $(playerctl metadata -p ncspot,%any --format "{{ artist }}\n{{ album }}\n{{ title }}")
diff --git a/eww_laptop/scripts/music_control2 b/eww_laptop/scripts/music_control2
deleted file mode 100755
index 42dca7f..0000000
--- a/eww_laptop/scripts/music_control2
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-echo $(playerctl -p ncspot,%any metadata mpris:artUrl)
-
diff --git a/eww_laptop/scripts/music_info b/eww_laptop/scripts/music_info
deleted file mode 100755
index ffafe87..0000000
--- a/eww_laptop/scripts/music_info
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/bash
-# scripts by adi1090x
-
-## Get data
-STATUS="$(mpc status)"
-COVER="/tmp/.music_cover.png"
-MUSIC_DIR="$HOME/Music"
-
-## Get status
-get_status() {
- if [[ $STATUS == *"[playing]"* ]]; then
- echo ""
- else
- echo "奈"
- fi
-}
-
-## Get song
-get_song() {
- song=`mpc -f %title% current`
- if [[ -z "$song" ]]; then
- echo "Offline"
- else
- echo "$song"
- fi
-}
-
-## Get artist
-get_artist() {
- artist=`mpc -f %artist% current`
- if [[ -z "$artist" ]]; then
- echo ""
- else
- echo "$artist"
- fi
-}
-
-## Get time
-get_time() {
- time=`mpc status | grep "%)" | awk '{print $4}' | tr -d '(%)'`
- if [[ -z "$time" ]]; then
- echo "0"
- else
- echo "$time"
- fi
-}
-get_ctime() {
- ctime=`mpc status | grep "#" | awk '{print $3}' | sed 's|/.*||g'`
- if [[ -z "$ctime" ]]; then
- echo "0:00"
- else
- echo "$ctime"
- fi
-}
-get_ttime() {
- ttime=`mpc -f %time% current`
- if [[ -z "$ttime" ]]; then
- echo "0:00"
- else
- echo "$ttime"
- fi
-}
-
-## Get cover
-get_cover() {
- ffmpeg -i "${MUSIC_DIR}/$(mpc current -f %file%)" "${COVER}" -y &> /dev/null
- STATUS=$?
-
- # Check if the file has a embbeded album art
- if [ "$STATUS" -eq 0 ];then
- echo "$COVER"
- else
- echo "images/music.png"
- fi
-}
-
-## Execute accordingly
-if [[ "$1" == "--song" ]]; then
- get_song
-elif [[ "$1" == "--artist" ]]; then
- get_artist
-elif [[ "$1" == "--status" ]]; then
- get_status
-elif [[ "$1" == "--time" ]]; then
- get_time
-elif [[ "$1" == "--ctime" ]]; then
- get_ctime
-elif [[ "$1" == "--ttime" ]]; then
- get_ttime
-elif [[ "$1" == "--cover" ]]; then
- get_cover
-elif [[ "$1" == "--toggle" ]]; then
- mpc -q toggle
-elif [[ "$1" == "--next" ]]; then
- { mpc -q next; get_cover; }
-elif [[ "$1" == "--prev" ]]; then
- { mpc -q prev; get_cover; }
-fi
diff --git a/eww_laptop/scripts/ncspot_control.sh b/eww_laptop/scripts/ncspot_control.sh
deleted file mode 100755
index 477625c..0000000
--- a/eww_laptop/scripts/ncspot_control.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#! /bin/bash
-
-NUM=$(pactl list clients short | grep "ncspot" | awk -F 'PipeWire' ' { print $1 } ' | tr -d ' \t\n')
-CLIENT=$(pactl list sink-inputs short | grep "$NUM" | awk -F ' ' ' { print $1 }' | tr -d ' \t\n')
-pactl set-sink-input-volume "$CLIENT" "$1"
diff --git a/eww_laptop/scripts/pop b/eww_laptop/scripts/pop
deleted file mode 100755
index 3bade99..0000000
--- a/eww_laptop/scripts/pop
+++ /dev/null
@@ -1,129 +0,0 @@
-#!/bin/bash
-
-calendar() {
- LOCK_FILE="$HOME/.cache/eww-calendar.lock"
- EWW_BIN="$HOME/.local/bin/eww"
-
- run() {
- ${EWW_BIN} -c $HOME/.config/eww open calendar
- }
-
- # Open widgets
- if [[ ! -f "$LOCK_FILE" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close system music_win audio_ctl brightness
- touch "$LOCK_FILE"
- run && echo "ok good!"
- else
- ${EWW_BIN} -c $HOME/.config/eww close calendar
- rm "$LOCK_FILE" && echo "closed"
- fi
-}
-
-system() {
- LOCK_FILE_MEM="$HOME/.cache/eww-system.lock"
- EWW_BIN="$HOME/.local/bin/eww"
-
- run() {
- ${EWW_BIN} -c $HOME/.config/eww open system
- }
-
- # Open widgets
- if [[ ! -f "$LOCK_FILE_MEM" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close calendar music_win audio_ctl brightness
- touch "$LOCK_FILE_MEM"
- run && echo "ok good!"
- else
- ${EWW_BIN} -c $HOME/.config/eww close system
- rm "$LOCK_FILE_MEM" && echo "closed"
- fi
-}
-
-music() {
- LOCK_FILE_SONG="$HOME/.cache/eww-song.lock"
- EWW_BIN="$HOME/.local/bin/eww"
-
- run() {
- ${EWW_BIN} -c $HOME/.config/eww open music_win
- }
-
- # Open widgets
- if [[ ! -f "$LOCK_FILE_SONG" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close system calendar brightness
- touch "$LOCK_FILE_SONG"
- run && echo "ok good!"
- else
- ${EWW_BIN} -c $HOME/.config/eww close music_win
- rm "$LOCK_FILE_SONG" && echo "closed"
- fi
-}
-
-audio() {
- LOCK_FILE_AUDIO="$HOME/.cache/eww-audio.lock"
- EWW_BIN="$HOME/.local/bin/eww"
-
- run() {
- ${EWW_BIN} -c $HOME/.config/eww open audio_ctl
- }
-
- # Open widgets
- if [[ ! -f "$LOCK_FILE_AUDIO" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close system calendar music brightness
- touch "$LOCK_FILE_AUDIO"
- run && echo "ok good!"
- else
- ${EWW_BIN} -c $HOME/.config/eww close audio_ctl
- rm "$LOCK_FILE_AUDIO" && echo "closed"
- fi
-}
-
-brightness() {
- LOCK_FILE_AUDIO="$HOME/.cache/eww-brightness.lock"
- EWW_BIN="$HOME/.local/bin/eww"
-
- run() {
- ${EWW_BIN} -c $HOME/.config/eww open brightness_window
- }
-
- # Open widgets
- if [[ ! -f "$LOCK_FILE_AUDIO" ]]; then
- ${EWW_BIN} -c $HOME/.config/eww close system calendar music audio_ctl
- touch "$LOCK_FILE_AUDIO"
- run && echo "ok good!"
- else
- ${EWW_BIN} -c $HOME/.config/eww close brightness_window
- rm "$LOCK_FILE_AUDIO" && echo "closed"
- fi
-}
-
-hoverGet() {
- NAME="$1"
- EWW_BIN="$HOME/.local/bin/eww"
- if [[ -f "$STORE" ]]; then
- rm "$STORE"
- ${EWW_BIN} -c $HOME/.config/eww close "$NAME"
- fi
-}
-
-hoverCreate() {
- if [[ ! -f "$STORE" ]]; then
- touch "$STORE"
- else
- echo "failure!"
- fi
-}
-STORE=true
-if [ "$1" = "calendar" ]; then
- calendar
-elif [ "$1" = "system" ]; then
- system
-#elif [ "$1" = "music" ]; then
-#music
-elif [ "$1" = "audio" ]; then
- audio
-elif [ "$1" = "brightness" ]; then
- brightness
-elif [ "$1" = "hoverGet" ]; then
- hoverGet "$2"
-elif [ "$1" = "hoverCreate" ]; then
- hoverCreate
-fi
diff --git a/eww_laptop/scripts/sascha_jpg.sh b/eww_laptop/scripts/sascha_jpg.sh
deleted file mode 100644
index 4696dc8..0000000
--- a/eww_laptop/scripts/sascha_jpg.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-MONITOR=$(hyprctl monitors | grep "ID 1" | awk '{print ($2)}')
-echo MONITOR
-
-extend() {
- hyprctl keyword wsbind 1,
- hyprctl keyword wsbind 2,
- hyprctl keyword wsbind 3,
- hyprctl keyword wsbind 4,
- hyprctl keyword wsbind 5,
- hyprctl keyword wsbind 6,
- hyprctl keyword wsbind 7,
- hyprctl keyword wsbind 8,
- hyprctl keyword wsbind 9,
- hyprctl keyword wsbind 10,eDP-1
-}
-retract() {
- hyprctl keyword wsbind 1,eDP-1
- hyprctl keyword wsbind 2,eDP-1
- hyprctl keyword wsbind 3,eDP-1
- hyprctl keyword wsbind 4,eDP-1
- hyprctl keyword wsbind 5,eDP-1
- hyprctl keyword wsbind 6,eDP-1
- hyprctl keyword wsbind 7,eDP-1
- hyprctl keyword wsbind 8,eDP-1
- hyprctl keyword wsbind 9,eDP-1
- hyprctl keyword wsbind 10,eDP-1
-}
-if [ "$1" == "extend" ]; then
- extend
-elif [ "$1" == "retract" ]; then
- retract
-fi
diff --git a/eww_laptop/scripts/spotifyd b/eww_laptop/scripts/spotifyd
deleted file mode 100755
index fc35a11..0000000
--- a/eww_laptop/scripts/spotifyd
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-#if [ "$PLAYER_EVENT" = "start" ] || [ "$PLAYER_EVENT" = "change" ];
-#then
- trackName=$(playerctl -p spotifyd,%any metadata title)
- artistAndAlbumName=$(playerctl -p spotifyd,%any metadata --format "{{ artist }} ({{ album }})")
- Thumbnail_url=$(playerctl -p spotifyd,%any metadata mpris:artUrl)
- Thumbnail=$(curl "$Thumbnail_url")
- notify-send -u low "$trackName" "$artistAndAlbumName " -i "$Thumbnail"
-#fi
diff --git a/eww_laptop/scripts/spotifyd.sh b/eww_laptop/scripts/spotifyd.sh
deleted file mode 100755
index 86d89f3..0000000
--- a/eww_laptop/scripts/spotifyd.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-if [ "$PLAYER_EVENT" = "start" ] || [ "$PLAYER_EVENT" = "change" ];
-then
- song=$(playerctl metadata -p spotifyd --format "{{ title }}\n{{ artist }}\n{{ album }}")
- if [ ! -f "/home/dashie/.cache/icons/$song" ]; then
- thumb=$(playerctl metadata -p spotifyd --format '{{lc(mpris:artUrl)}}')
- convert "$thumb" -flatten -thumbnail 256x256 /home/dashie/.cache/icons/"$song"
- fi
- dunstify -I /home/dashie/.cache/icons/"$song" -t 3000 "Spotify" "$song"
-fi
diff --git a/eww_laptop/scripts/test.py b/eww_laptop/scripts/test.py
deleted file mode 100644
index 1996694..0000000
--- a/eww_laptop/scripts/test.py
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env python3
-
-import os
-import socket
-
-# Replace "your_user" with the actual username of the logged-in user.
-USER = "dashie"
-
-def execute_script(event):
- # This function executes the script file as the specified user.
- os.system(f"/home/dashie/.config/eww/scripts/auto_dock.sh {event}")
-
-# Create a socket object and connect to the acpid socket.
-sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
-sock.connect("/var/run/acpid.socket")
-
-# Listen for events and execute the script file.
-while True:
- data = sock.recv(1024).decode()
- if "button/lid" in data:
- event = data.split()[-1]
- execute_script(event)
-
diff --git a/eww_laptop/scripts/toggle-mute b/eww_laptop/scripts/toggle-mute
deleted file mode 100755
index 7fcd17e..0000000
--- a/eww_laptop/scripts/toggle-mute
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/bash
-
-SINK=$(pactl info | grep "Default Sink"| awk -F 'Default Sink: ' ' { print $2 } ')
-pactl set-sink-mute $SINK toggle
-MUTE=$(pactl list sinks | grep -A 6 "$SINK" | grep "Mute: yes" | tr -d '\t')
-
-if [ "$MUTE" = "Mute: yes" ]; then
- dunstify -a "toggleMute" -r 2 -u low "Muted"
-else
- dunstify -a "toggleMute" -r 2 -u low "Unmuted"
-fi
-
diff --git a/eww_laptop/scripts/weather b/eww_laptop/scripts/weather
deleted file mode 100755
index 69c277d..0000000
--- a/eww_laptop/scripts/weather
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/bash
-
-tmp_weather="$HOME/.cache/weather"
-tmp_weather_stat=$tmp_weather/weather-stat
-tmp_weather_degree=$tmp_weather/weather-degree
-tmp_weather_quote=$tmp_weather/weather-quote
-tmp_weather_hex=$tmp_weather/weather-hex
-tmp_weather_icon=$tmp_weather/weather-icon
-
-if [ ! -d $tmp_weather ]; then
- mkdir -p $tmp_weather
-fi
-
-# Put in your api and stuff link here
-# If you dunno, head to openweathermap.org, and make and account
-#(completely free I swear, and then get your API Key and your City ID)
-# I wish I was smart enough to do it like Elena, but this is the top I could do lol
-KEY=$(cat $HOME/.ssh/weather-key)
-ID=$(cat $HOME/.ssh/location)
-UNIT="{metric}" #Options are 'metric' and 'imperial'
-weather=$(curl -sf "http://api.openweathermap.org/data/2.5/weather?APPID="$KEY"&id="$ID"&units="$UNIT"")
-echo $weather
-if [ ! -z "$weather" ]; then
- weather_temp=$(echo "$weather" | jq ".main.temp" | cut -d "." -f 1)
- weather_icon_code=$(echo "$weather" | jq -r ".weather[].icon" | head -1)
- weather_description=$(echo "$weather" | jq -r ".weather[].description" | head -1 | sed -e "s/\b\(.\)/\u\1/g")
-
- #Big long if statement of doom
- if [ "$weather_icon_code" == "50d" ]; then
- weather_icon=" "
- weather_quote="Forecast says it's misty \nMake sure you don't get lost on your way..."
- weather_hex="#84afdb" #a7b8b2
- elif [ "$weather_icon_code" == "50n" ]; then
- weather_icon=" "
- weather_quote="Forecast says it's a misty night \nDon't go anywhere tonight or you might get lost..."
- weather_hex="#84afdb"
- elif [ "$weather_icon_code" == "01d" ]; then
- weather_icon=" "
- weather_quote="It's a sunny day, gonna be fun! \nDon't go wandering all by yourself though..."
- weather_hex="#ffd86b"
- elif [ "$weather_icon_code" == "01n" ]; then
- weather_icon=" "
- weather_quote="It's a clear night \nYou might want to take a evening stroll to relax..."
- weather_hex="#fcdcf6"
- elif [ "$weather_icon_code" == "02d" ]; then
- weather_icon=" "
- weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "02n" ]; then
- weather_icon=" "
- weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "03d" ]; then
- weather_icon=" "
- weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "03n" ]; then
- weather_icon=" "
- weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "04d" ]; then
- weather_icon=" "
- weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "04n" ]; then
- weather_icon=" "
- weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
- weather_hex="#adadff"
- elif [ "$weather_icon_code" == "09d" ]; then
- weather_icon=" "
- weather_quote="It's rainy, it's a great day! \nGet some ramen and watch as the rain falls..."
- weather_hex="#6b95ff"
- elif [ "$weather_icon_code" == "09n" ]; then
- weather_icon=" "
- weather_quote=" It's gonna rain tonight it seems \nMake sure your clothes aren't still outside..."
- weather_hex="#6b95ff"
- elif [ "$weather_icon_code" == "10d" ]; then
- weather_icon=" "
- weather_quote="It's rainy, it's a great day! \nGet some ramen and watch as the rain falls..."
- weather_hex="#6b95ff"
- elif [ "$weather_icon_code" == "10n" ]; then
- weather_icon=" "
- weather_quote=" It's gonna rain tonight it seems \nMake sure your clothes aren't still outside..."
- weather_hex="#6b95ff"
- elif [ "$weather_icon_code" == "11d" ]; then
- weather_icon=""
- weather_quote="There's storm for forecast today \nMake sure you don't get blown away..."
- weather_hex="#ffeb57"
- elif [ "$weather_icon_code" == "11n" ]; then
- weather_icon=""
- weather_quote="There's gonna be storms tonight \nMake sure you're warm in bed and the windows are shut..."
- weather_hex="#ffeb57"
- elif [ "$weather_icon_code" == "13d" ]; then
- weather_icon=" "
- weather_quote="It's gonna snow today \nYou'd better wear thick clothes and make a snowman as well!"
- weather_hex="#e3e6fc"
- elif [ "$weather_icon_code" == "13n" ]; then
- weather_icon=" "
- weather_quote="It's gonna snow tonight \nMake sure you get up early tomorrow to see the sights..."
- weather_hex="#e3e6fc"
- elif [ "$weather_icon_code" == "40d" ]; then
- weather_icon=" "
- weather_quote="Forecast says it's misty \nMake sure you don't get lost on your way..."
- weather_hex="#84afdb"
- elif [ "$weather_icon_code" == "40n" ]; then
- weather_icon=" "
- weather_quote="Forecast says it's a misty night \nDon't go anywhere tonight or you might get lost..."
- weather_hex="#84afdb"
- else
- weather_icon=" "
- weather_quote="Sort of odd, I don't know what to forecast \nMake sure you have a good time!"
- weather_hex="#adadff"
- fi
- echo "$weather_icon" > $tmp_weather_icon
- echo "$weather_description" > $tmp_weather_stat
- echo "$weather_temp""°C" > $tmp_weather_degree
- echo "$weather_quote" > $tmp_weather_quote
- echo "$weather_hex" > $tmp_weather_hex
- else
- echo "Weather Unavailable" > $tmp_weather_stat
- echo " " > $tmp_weather_icon
- echo "Ah well, no weather huh? \nEven if there's no weather, it's gonna be a great day!" > $tmp_weather_quote
- echo "-" > $tmp_weather_degree
- echo "#adadff" > $tmp_weather_hex
-fi
diff --git a/eww_laptop/scripts/weather-trimmer b/eww_laptop/scripts/weather-trimmer
deleted file mode 100755
index 8ddeaa1..0000000
--- a/eww_laptop/scripts/weather-trimmer
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-weather=$(cat $HOME/.cache/weather/weather-stat)
-weather_count=$(cat $HOME/.cache/weather/weather-stat | wc -c)
-
-if [ "$weather_count" -lt 10 ]; then
- echo $weather;
-else
- echo $(cat $HOME/.cache/weather/weather-stat | cut -c1-6)...
-fi
diff --git a/eww_laptop/scripts/wifi b/eww_laptop/scripts/wifi
deleted file mode 100755
index 9de7f23..0000000
--- a/eww_laptop/scripts/wifi
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-status=$(nmcli g | grep -oE "disconnected")
-essid=$(nmcli c | grep wlp2s0 | awk '{print ($1)}')
-
-if [ $status ] ; then
- icon=""
- text=""
- col="#575268"
-
-else
- icon=""
- text="${essid}"
- col="#a1bdce"
-fi
-
-
-
-if [[ "$1" == "--COL" ]]; then
- echo $col
-elif [[ "$1" == "--ESSID" ]]; then
- echo $text
-elif [[ "$1" == "--ICON" ]]; then
- echo $icon
-fi
-
diff --git a/eww_laptop/scripts/workspace b/eww_laptop/scripts/workspace
deleted file mode 100755
index a42ec58..0000000
--- a/eww_laptop/scripts/workspace
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/bin/bash
-workspaces() {
-
-ws1="ID 1 "
-ws2="ID 2 "
-ws3="ID 3 "
-ws4="ID 4 "
-ws5="ID 5 "
-ws6="ID 6 "
-ws7="ID 7 "
-ws8="ID 8 "
-ws9="ID 9 "
-ws0="ID 10"
-
-# check if Occupied
-o1=$(hyprctl workspaces | grep "$ws1" )
-o2=$(hyprctl workspaces | grep "$ws2" )
-o3=$(hyprctl workspaces | grep "$ws3" )
-o4=$(hyprctl workspaces | grep "$ws4" )
-o5=$(hyprctl workspaces | grep "$ws5" )
-o6=$(hyprctl workspaces | grep "$ws6" )
-o7=$(hyprctl workspaces | grep "$ws7" )
-o8=$(hyprctl workspaces | grep "$ws8" )
-o9=$(hyprctl workspaces | grep "$ws9" )
-o0=$(hyprctl workspaces | grep "$ws0" )
-
-# check if Focused
-f1=$(hyprctl monitors | grep "workspace: 1 " -A 4 | grep "focused: yes" )
-f2=$(hyprctl monitors | grep "workspace: 2 " -A 4 | grep "focused: yes" )
-f3=$(hyprctl monitors | grep "workspace: 3 " -A 4 | grep "focused: yes" )
-f4=$(hyprctl monitors | grep "workspace: 4 " -A 4 | grep "focused: yes" )
-f5=$(hyprctl monitors | grep "workspace: 5 " -A 4 | grep "focused: yes" )
-f6=$(hyprctl monitors | grep "workspace: 6 " -A 4 | grep "focused: yes" )
-f7=$(hyprctl monitors | grep "workspace: 7 " -A 4 | grep "focused: yes" )
-f8=$(hyprctl monitors | grep "workspace: 8 " -A 4 | grep "focused: yes" )
-f9=$(hyprctl monitors | grep "workspace: 9 " -A 4 | grep "focused: yes" )
-f0=$(hyprctl monitors | grep "workspace: 10" -A 4 | grep "focused: yes" )
-
-if [ "$o1" != "" ]; then
- ic_1="①"
- else
- ic_1=""
-fi
-if [ "$o2" != "" ]; then
- ic_2="②"
- else
- ic_2=""
-fi
-if [ "$o3" != "" ]; then
- ic_3="③"
- else
- ic_3=""
-fi
-if [ "$o4" != "" ]; then
- ic_4="④"
- else
- ic_4=""
-fi
-if [ "$o5" != "" ]; then
- ic_5="⑤"
- else
- ic_5=""
-fi
-if [ "$o6" != "" ]; then
- ic_6="⑥"
- else
- ic_6=""
-fi
-if [ "$o7" != "" ]; then
- ic_7="⑦"
- else
- ic_7=""
-fi
-if [ "$o8" != "" ]; then
- ic_8="⑧"
- else
- ic_8=""
-fi
-if [ "$o9" != "" ]; then
- ic_9="⑨"
- else
- ic_9=""
-fi
-if [ "$o0" != "" ]; then
- ic_0="⑩"
- else
- ic_0=""
-fi
-
-if [ "$f1" != "" ]; then
- ic_1="➊"
-elif [ "$f2" != "" ]; then
- ic_2="➋"
-elif [ "$f3" != "" ]; then
- ic_3="➌"
-elif [ "$f4" != "" ]; then
- ic_4="➍"
-elif [ "$f5" != "" ]; then
- ic_5="➎"
-elif [ "$f6" != "" ]; then
- ic_6="➏"
-elif [ "$f7" != "" ]; then
- ic_7="➐"
-elif [ "$f8" != "" ]; then
- ic_8="➑"
-elif [ "$f9" != "" ]; then
- ic_9="➒"
-elif [ "$f0" != "" ]; then
- ic_0="➓"
-fi
-
-
-#ic_1=$(hyprctl workspaces)
-#ic_2="t"
-echo "(box :class \"works\" :orientation \"h\" :spacing 5 :space-evenly \"false\" (button :onclick \"hyprctl dispatch workspace 1\" :class \"$un$o1$f1\" \"$ic_1\") (button :onclick \"hyprctl dispatch workspace 2\" :class \"$un$o2$f2\" \"$ic_2\") (button :onclick \"hyprctl dispatch workspace 3\" :class \"$un$o3$f3\" \"$ic_3\") (button :onclick \"hyprctl dispatch workspace 4\" :class \"$un$o4$f4\" \"$ic_4\") (button :onclick \"hyprctl dispatch workspace 5\" :class \"$un$o5$f5\" \"$ic_5\") (button :onclick \"hyprctl dispatch workspace 6\" :class \"$un$o6$f6\" \"$ic_6\") (button :onclick \"hyprctl dispatch workspace 7\" :class \"$un$o7$f7\" \"$ic_7\") (button :onclick \"hyprctl dispatch workspace 8\" :class \"$un$o8$f8\" \"$ic_8\") (button :onclick \"hyprctl dispatch workspace 9\" :class \"$un$o9$f9\" \"$ic_9\") (button :onclick \"hyprctl dispatch workspace 10\" :class \"$un$o0$f0\" \"$ic_0\"))"
-}
-workspaces
-tail -f /tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | grep -E --line-buffered "Changed to workspace|focus to surface" | while read -r; do
-workspaces
-done
diff --git a/hypr_desktop/conf/autostart.conf b/hypr_desktop/conf/autostart.conf
new file mode 100644
index 0000000..8da8314
--- /dev/null
+++ b/hypr_desktop/conf/autostart.conf
@@ -0,0 +1,9 @@
+#autostart programs
+exec-once=hyprpaper
+exec-once=ironbar
+exec-once=firefox
+exec-once=streamdeck -n
+exec-once=copyq --start-server
+exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+exec-once=nextcloud --background
+exec-once=oxinoti
diff --git a/hypr_desktop/conf/env.conf b/hypr_desktop/conf/env.conf
new file mode 100644
index 0000000..b44665e
--- /dev/null
+++ b/hypr_desktop/conf/env.conf
@@ -0,0 +1,25 @@
+#
+#fix the fucking portal
+exec-once=systemctl --user import-environment
+exec-once=dbus-update-activation-environment --all
+#
+
+env=SCRIPTS,$HOME/.config/scripts
+env=GTK_CSD,0
+env=QT_QPA_PLATFORM,wayland
+env=QT_QPA_PLATFORMTHEME,qt5ct
+env=QT_WAYLAND_FORCE_DPI,96
+env=QT_AUTO_SCREEN_SCALE_FACTOR,0
+env=QT_WAYLAND_DISABLE_WINDOWDECORATION,1
+env=QT_SCALE_FACTOR,1
+env=XCURSOR_SIZE,24
+env=WAYLAND_DISPLAY,wayland-1
+env=XDG_CURRENT_DESKTOP,wlr
+env=GPG_TTY,$(tty)
+env=PATH,$PATH:$HOME/.local/bin
+env=TEXMFHOME,$HOME/.texmf
+env=PATH,/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:$HOME/.local/bin:$HOME/.cargo/bin:$PATH
+env=EDITOR,neovide
+env=SUDO_EDITOR,neovide
+env=PKG_CONFIG_PATH,/usr/local/lib/pkgconfig
+env=LD_LIBRARY_PATH,/usr/local/lib
diff --git a/hypr_desktop/conf/general.conf b/hypr_desktop/conf/general.conf
new file mode 100644
index 0000000..19f6b32
--- /dev/null
+++ b/hypr_desktop/conf/general.conf
@@ -0,0 +1,56 @@
+
+input {
+ kb_layout=diaeresis
+ repeat_delay=200
+ natural_scroll=false
+ follow_mouse=1
+ force_no_accel=true
+ touchpad {
+ natural_scroll=yes
+ tap-to-click=yes
+ }
+}
+
+general {
+ sensitivity=1.0 # for mouse cursor
+ gaps_in=3 3 3 3
+ gaps_out=2 5 5 5
+ border_size=3
+ col.active_border=0xFFFF0000 0xFF00FF00 0xFF0000FF 45deg
+ col.inactive_border=0x66333333
+ apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
+}
+
+decoration {
+ rounding=4
+}
+
+animations {
+ enabled=1
+ animation=windowsMove,1,4,default
+ animation=windows,1,7,default,popin 70%
+ animation=border,1,10,default
+ animation=fade,1,10,default
+ animation=workspaces,1,6,default
+}
+
+dwindle {
+ preserve_split=true
+ pseudotile=0
+ permanent_direction_override=false
+}
+
+gestures {
+ workspace_swipe=yes
+}
+
+misc {
+ vfr=true
+ vrr = 1
+ animate_manual_resizes=1
+ enable_swallow=true
+ disable_splash_rendering = true
+ disable_hyprland_logo = true
+ swallow_regex=^(.*)(kitty)(.*)$
+ layers_hog_keyboard_focus=false
+ }
diff --git a/hypr_desktop/conf/keybinds.conf b/hypr_desktop/conf/keybinds.conf
new file mode 100644
index 0000000..00fd590
--- /dev/null
+++ b/hypr_desktop/conf/keybinds.conf
@@ -0,0 +1,97 @@
+# binds
+bind=SUPER,S,exec,grim -g "$(slurp)" - | wl-copy
+bind=SUPERSHIFTALT,S,exec, grim -g "$(slurp)" $HOME/gits/ost-5semester/Screenshots/$(date +'%Y_%m_%d_%I_%M_%S.png') && (date +'%Y_%m_%d_%I_%M_%S.png') | wl-copy
+bind=SUPERSHIFT,S,exec,grim -g "$(slurp)" - | swappy -f -
+bind=SUPER,F,exec,firefox
+bind=SUPER,T,exec,kitty -1
+bind=SUPER,Q,killactive,
+bind=SUPERSHIFTALT,M,exit,
+bind=SUPER,E,exec,nautilus --new-window
+bind=SUPER,N,exec,neovide --novsync
+bind=SUPER,M,exec,oxidash
+bind=SUPER,V,togglefloating,
+bind=SUPER,B,fullscreen,
+bind=SUPER,R,exec,anyrun
+bind=SUPER,C,togglesplit
+bind=SUPER,G,exec,oxicalc
+bind=SUPERSHIFT,G,exec,gamelock
+bind=SUPERSHIFT,L,exec, playerctl -a pause & swaylock -c 000000 & systemctl suspend
+bind=,XF86AudioMute,exec,pactl $SCRIPTS/audio_control.sh mute
+bind=,XF86AudioLowerVolume,exec, $SCRIPTS/audio_control.sh sink -5%
+bind=,XF86AudioRaiseVolume,exec, $SCRIPTS/audio_control.sh sink +5%
+bind=,XF86AudioPlay,exec, playerctl play-pause
+bind=,XF86AudioNext,exec, playerctl next
+bind=,XF86AudioPrev,exec, playerctl previous
+bind=,XF86MonBrightnessDown,exec, $SCRIPTS/change-brightness brightness 10%-
+bind=,XF86MonBrightnessUp,exec, $SCRIPTS/change-brightness brightness +10%
+bind=SUPER,D,exec,oxishut
+bind=SUPER,A,exec,copyq toggle
+bind=SUPERSHIFT,W,togglespecialworkspace
+bind=SUPER,W,movetoworkspace,special
+
+
+binde=SUPER,J,movefocus,l
+binde=SUPER,semicolon,movefocus,r
+binde=SUPER,L,movefocus,u
+binde=SUPER,K,movefocus,d
+
+binde=SUPER,U,resizeactive,-20 0
+binde=SUPER,P,resizeactive,20 0
+binde=SUPER,O,resizeactive,0 -20
+binde=SUPER,I,resizeactive,0 20
+
+bind=SUPER,left,movewindow,l
+bind=SUPER,right,movewindow,r
+bind=SUPER,up,movewindow,u
+bind=SUPER,down,movewindow,d
+
+bind=SUPER,1,workspace,1
+bind=SUPER,2,workspace,2
+bind=SUPER,3,workspace,3
+bind=SUPER,4,workspace,4
+bind=SUPER,5,workspace,5
+bind=SUPER,6,workspace,6
+bind=SUPER,7,workspace,7
+bind=SUPER,8,workspace,8
+bind=SUPER,9,workspace,9
+bind=SUPER,0,workspace,10
+
+bind=SUPERSHIFT,1,movetoworkspace,1
+bind=SUPERSHIFT,2,movetoworkspace,2
+bind=SUPERSHIFT,3,movetoworkspace,3
+bind=SUPERSHIFT,4,movetoworkspace,4
+bind=SUPERSHIFT,5,movetoworkspace,5
+bind=SUPERSHIFT,6,movetoworkspace,6
+bind=SUPERSHIFT,7,movetoworkspace,7
+bind=SUPERSHIFT,8,movetoworkspace,8
+bind=SUPERSHIFT,9,movetoworkspace,9
+bind=SUPERSHIFT,0,movetoworkspace,10
+
+bind=SUPERSHIFTALT,1,movetoworkspacesilent,1
+bind=SUPERSHIFTALT,2,movetoworkspacesilent,2
+bind=SUPERSHIFTALT,3,movetoworkspacesilent,3
+bind=SUPERSHIFTALT,4,movetoworkspacesilent,4
+bind=SUPERSHIFTALT,5,movetoworkspacesilent,5
+bind=SUPERSHIFTALT,6,movetoworkspacesilent,6
+bind=SUPERSHIFTALT,7,movetoworkspacesilent,7
+bind=SUPERSHIFTALT,8,movetoworkspacesilent,8
+bind=SUPERSHIFTALT,9,movetoworkspacesilent,9
+bind=SUPERSHIFTALT,0,movetoworkspacesilent,10
+
+bind=SUPERALT,j,layoutmsg,preselect l
+bind=SUPERALT,k,layoutmsg,preselect d
+bind=SUPERALT,l,layoutmsg,preselect u
+bind=SUPERALT,semicolon,layoutmsg,preselect r
+bind=SUPERALT,h,layoutmsg,preselect n
+
+bindm=SUPER,mouse:272,movewindow
+bindm=SUPER,mouse:273,resizewindow
+
+#binds for debug testing
+# bind=SUPERALT,J,pass,^(wlroots)$
+# bind=SUPERALT,left,pass,^(wlroots)$
+# bind=SUPERALT,right,pass,^(wlroots)$
+# bind=SUPERALT,up,pass,^(wlroots)$
+# bind=SUPERALT,down,pass,^(wlroots)$
+# bind=CTRLALT,P,pass,^(parcellite)$
+
diff --git a/hypr_desktop/conf/monitor.conf b/hypr_desktop/conf/monitor.conf
new file mode 100644
index 0000000..33eb2c1
--- /dev/null
+++ b/hypr_desktop/conf/monitor.conf
@@ -0,0 +1,10 @@
+monitor=DP-3,2560x1440@165,-2560x0,1
+monitor=DP-1,3440x1440@180,0x0,1
+monitor=DP-2,1920x1200@60,3440x0,1
+monitor=DP-2,transform,1
+monitor=,highrr,auto,1
+
+workspace=DP-3,1
+workspace=DP-1,2
+workspace=DP-2,3
+
diff --git a/hypr_desktop/conf/rules.conf b/hypr_desktop/conf/rules.conf
new file mode 100644
index 0000000..676e66d
--- /dev/null
+++ b/hypr_desktop/conf/rules.conf
@@ -0,0 +1,10 @@
+# window rules
+windowrule=tile,^(.*)(Spotify)(.*)$
+windowrule=float,^(.*)(OxiCalc)(.*)$
+windowrule=float,^(.*)(winecfg.exe)(.*)$
+windowrule=float,^(.*)(speed.exe)(.*)$
+windowrule=float,^(.*)(copyq)(.*)$
+windowrule=center,^(.*)(gnome)(.*)$
+windowrule=size 1200 800,^(org.gnome.NautilusPreviewer)$
+windowrule=center,^(.*)(swappy)(.*)$
+windowrule=float,title:^(.*)(Spirit)(.*)$
diff --git a/hypr_desktop/hyprdock.toml b/hypr_desktop/hyprdock.toml
deleted file mode 100644
index 46f0353..0000000
--- a/hypr_desktop/hyprdock.toml
+++ /dev/null
@@ -1,3 +0,0 @@
-monitor_name = 'whatever'
-utility_command = "echo 'henlo' ;; echo 'pingpang'"
-css_string = "/home/dashie/.config/hypr/hyprstyle.css"
diff --git a/hypr_desktop/hyprland.conf b/hypr_desktop/hyprland.conf
index 6466933..faacd81 100644
--- a/hypr_desktop/hyprland.conf
+++ b/hypr_desktop/hyprland.conf
@@ -1,194 +1,6 @@
-#
-#fix the fucking portal
-exec-once=systemctl --user import-environment
-exec-once=dbus-update-activation-environment --all
-#
-#
-
-monitor=DP-3,2560x1440@165,-2560x0,1
-monitor=DP-1,3440x1440@180,0x0,1
-monitor=DP-2,1920x1200@60,3440x0,1
-monitor=DP-2,transform,1
-monitor=,highrr,auto,1
-
-workspace=DP-3,1
-workspace=DP-1,2
-workspace=DP-2,3
-
-$scripts = '$HOME/.config/scripts/'
-
-input {
- kb_layout=diaeresis
- repeat_delay=200
- natural_scroll=false
- follow_mouse=1
- force_no_accel=true
-
- touchpad {
- natural_scroll=yes
- tap-to-click=yes
- }
-}
-
-general {
- sensitivity=1.0 # for mouse cursor
- gaps_in=3 3 3 3
- gaps_out=2 5 5 5
- border_size=3
- col.active_border=0xFFFF0000 0xFF00FF00 0xFF0000FF 45deg
- col.inactive_border=0x66333333
- apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
-}
-
-decoration {
- rounding=4
-}
-
-animations {
- enabled=1
- animation=windowsMove,1,4,default
- animation=windows,1,7,default,popin 70%
- animation=border,1,10,default
- animation=fade,1,10,default
- animation=workspaces,1,6,default
-}
-
-dwindle {
- preserve_split=true
- pseudotile=0
- permanent_direction_override=false
-}
-
-gestures {
- workspace_swipe=yes
-}
-
-misc {
- vfr=true
- vrr = 1
- animate_manual_resizes=1
- enable_swallow=true
- disable_splash_rendering = true
- disable_hyprland_logo = true
- swallow_regex=^(.*)(kitty)(.*)$
- layers_hog_keyboard_focus=false
- }
-
-# window rules
-windowrule=tile,^(.*)(Spotify)(.*)$
-windowrule=float,^(.*)(OxiCalc)(.*)$
-windowrule=float,^(.*)(winecfg.exe)(.*)$
-windowrule=float,^(.*)(speed.exe)(.*)$
-windowrule=float,^(.*)(copyq)(.*)$
-windowrule=center,^(.*)(gnome)(.*)$
-windowrule=size 1200 800,^(org.gnome.NautilusPreviewer)$
-windowrule=center,^(.*)(swappy)(.*)$
-windowrule=float,title:^(.*)(Spirit)(.*)$
-
-# binds
-bind=SUPER,S,exec,grim -g "$(slurp)" - | wl-copy
-bind=SUPERSHIFTALT,S,exec, grim -g "$(slurp)" $HOME/gits/ost-5semester/Screenshots/$(date +'%Y_%m_%d_%I_%M_%S.png') && (date +'%Y_%m_%d_%I_%M_%S.png') | wl-copy
-bind=SUPERSHIFT,S,exec,grim -g "$(slurp)" - | swappy -f -
-bind=SUPER,F,exec,firefox
-bind=SUPER,T,exec,kitty -1
-bind=SUPER,Q,killactive,
-bind=SUPERSHIFTALT,M,exit,
-bind=SUPER,E,exec,nautilus --new-window
-bind=SUPER,N,exec,neovide --novsync
-bind=SUPER,M,exec,oxidash --css /home/dashie/gits/oxidash/style.css
-bind=SUPER,V,togglefloating,
-bind=SUPER,B,fullscreen,
-bind=SUPER,R,exec,anyrun
-bind=SUPER,C,togglesplit
-bind=SUPER,G,exec,oxicalc
-bind=SUPERSHIFT,G,exec,gamelock
-bind=SUPERSHIFT,L,exec, playerctl -a pause & swaylock -c 000000 & systemctl suspend
-bind=,XF86AudioMute,exec,pactl set-sink-mute @DEFAULT_SINK@ toggle
-bind=,XF86AudioLowerVolume,exec, $scripts/audio-control sink -5%
-bind=,XF86AudioRaiseVolume,exec, $scripts/audio-control sink +5%
-bind=,XF86AudioPlay,exec, playerctl play-pause
-bind=,XF86AudioNext,exec, playerctl next
-bind=,XF86AudioPrev,exec, playerctl previous
-bind=,XF86MonBrightnessDown,exec, $scripts/change-brightness brightness 10%-
-bind=,XF86MonBrightnessUp,exec, $scripts/change-brightness brightness +10%
-bind=SUPER,D,exec,oxishut --css /home/dashie/gits/OxiShut/style.css
-bind=SUPER,A,exec,copyq toggle
-bind=SUPERSHIFT,W,togglespecialworkspace
-bind=SUPER,W,movetoworkspace,special
-
-
-binde=SUPER,J,movefocus,l
-binde=SUPER,semicolon,movefocus,r
-binde=SUPER,L,movefocus,u
-binde=SUPER,K,movefocus,d
-
-binde=SUPER,U,resizeactive,-20 0
-binde=SUPER,P,resizeactive,20 0
-binde=SUPER,O,resizeactive,0 -20
-binde=SUPER,I,resizeactive,0 20
-
-bind=SUPER,left,movewindow,l
-bind=SUPER,right,movewindow,r
-bind=SUPER,up,movewindow,u
-bind=SUPER,down,movewindow,d
-
-bind=SUPER,1,workspace,1
-bind=SUPER,2,workspace,2
-bind=SUPER,3,workspace,3
-bind=SUPER,4,workspace,4
-bind=SUPER,5,workspace,5
-bind=SUPER,6,workspace,6
-bind=SUPER,7,workspace,7
-bind=SUPER,8,workspace,8
-bind=SUPER,9,workspace,9
-bind=SUPER,0,workspace,10
-
-bind=SUPERSHIFT,1,movetoworkspace,1
-bind=SUPERSHIFT,2,movetoworkspace,2
-bind=SUPERSHIFT,3,movetoworkspace,3
-bind=SUPERSHIFT,4,movetoworkspace,4
-bind=SUPERSHIFT,5,movetoworkspace,5
-bind=SUPERSHIFT,6,movetoworkspace,6
-bind=SUPERSHIFT,7,movetoworkspace,7
-bind=SUPERSHIFT,8,movetoworkspace,8
-bind=SUPERSHIFT,9,movetoworkspace,9
-bind=SUPERSHIFT,0,movetoworkspace,10
-
-bind=SUPERSHIFTALT,1,movetoworkspacesilent,1
-bind=SUPERSHIFTALT,2,movetoworkspacesilent,2
-bind=SUPERSHIFTALT,3,movetoworkspacesilent,3
-bind=SUPERSHIFTALT,4,movetoworkspacesilent,4
-bind=SUPERSHIFTALT,5,movetoworkspacesilent,5
-bind=SUPERSHIFTALT,6,movetoworkspacesilent,6
-bind=SUPERSHIFTALT,7,movetoworkspacesilent,7
-bind=SUPERSHIFTALT,8,movetoworkspacesilent,8
-bind=SUPERSHIFTALT,9,movetoworkspacesilent,9
-bind=SUPERSHIFTALT,0,movetoworkspacesilent,10
-
-bind=SUPERALT,j,layoutmsg,preselect l
-bind=SUPERALT,k,layoutmsg,preselect d
-bind=SUPERALT,l,layoutmsg,preselect u
-bind=SUPERALT,semicolon,layoutmsg,preselect r
-bind=SUPERALT,h,layoutmsg,preselect n
-
-bindm=SUPER,mouse:272,movewindow
-bindm=SUPER,mouse:273,resizewindow
-
-#binds for debug testing
-# bind=SUPERALT,J,pass,^(wlroots)$
-# bind=SUPERALT,left,pass,^(wlroots)$
-# bind=SUPERALT,right,pass,^(wlroots)$
-# bind=SUPERALT,up,pass,^(wlroots)$
-# bind=SUPERALT,down,pass,^(wlroots)$
-# bind=CTRLALT,P,pass,^(parcellite)$
-
-
-#autostart programs
-exec-once=hyprpaper
-exec-once=ironbar
-exec-once=firefox
-exec-once=streamdeck -n
-exec-once=copyq --start-server
-exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
-exec-once=nextcloud --background
-exec-once=oxinoti --css /home/dashie/gits/oxinoti/style.css
+source=~/.config/hypr/conf/env.conf
+source=~/.config/hypr/conf/monitor.conf
+source=~/.config/hypr/conf/general.conf
+source=~/.config/hypr/conf/rules.conf
+source=~/.config/hypr/conf/keybinds.conf
+source=~/.config/hypr/conf/autostart.conf
diff --git a/hypr_desktop/hyprstyle.css b/hypr_desktop/hyprstyle.css
deleted file mode 100644
index fb79df0..0000000
--- a/hypr_desktop/hyprstyle.css
+++ /dev/null
@@ -1,3 +0,0 @@
-#MainWindow {
- border-radius: 10px;
-}
diff --git a/hypr_desktop/neovide_backtraces.log b/hypr_desktop/neovide_backtraces.log
deleted file mode 100644
index a2d354d..0000000
--- a/hypr_desktop/neovide_backtraces.log
+++ /dev/null
@@ -1,40 +0,0 @@
-2023-05-17 18:07:34 - Neovide panicked with the message 'Failed to initialize any backend! Wayland status: NoCompositorListening X11 status: XOpenDisplayFailed'. (File: /home/dashie/.cargo/git/checkouts/winit-223f41148c32cc30/19d9aaf/src/platform_impl/linux/mod.rs; Line: 795, Column: 9)
- 0:
- 1:
- 2:
- 3:
- 4:
- 5:
- 6:
- 7:
- 8:
- 9:
- 10:
- 11: __libc_start_main
- 12:
-
-2023-09-06 13:16:38 - Neovide panicked with the message 'Received event for dead output'. (File: /home/dashie/.cargo/registry/src/github.com-1ecc6299db9ec823/smithay-client-toolkit-0.17.0/src/output.rs; Line: 568, Column: 14)
- 0:
- 1:
- 2:
- 3:
- 4:
- 5:
- 6:
- 7:
- 8:
- 9:
- 10:
- 11:
- 12:
- 13:
- 14:
- 15:
- 16:
- 17:
- 18:
- 19:
- 20:
- 21: __libc_start_main
- 22:
-
diff --git a/hyprdock/hyprdock.toml b/hyprdock/hyprdock.toml
new file mode 100644
index 0000000..e69de29
diff --git a/hypr_desktop/monitors/1.json b/hyprdock/monitor_configs/196440656454035672.json
similarity index 87%
rename from hypr_desktop/monitors/1.json
rename to hyprdock/monitor_configs/196440656454035672.json
index 38301d7..d608e38 100644
--- a/hypr_desktop/monitors/1.json
+++ b/hyprdock/monitor_configs/196440656454035672.json
@@ -14,10 +14,14 @@
"id": 2,
"name": "2"
},
+ "specialWorkspace": {
+ "id": 0,
+ "name": ""
+ },
"reserved": [0, 30, 0, 0],
"scale": 1.00,
"transform": 0,
- "focused": false,
+ "focused": true,
"dpmsStatus": true,
"vrr": true
},{
@@ -36,6 +40,10 @@
"id": 3,
"name": "3"
},
+ "specialWorkspace": {
+ "id": 0,
+ "name": ""
+ },
"reserved": [0, 0, 0, 0],
"scale": 1.00,
"transform": 1,
@@ -58,10 +66,14 @@
"id": 1,
"name": "1"
},
+ "specialWorkspace": {
+ "id": 0,
+ "name": ""
+ },
"reserved": [0, 0, 0, 0],
"scale": 1.00,
"transform": 0,
- "focused": true,
+ "focused": false,
"dpmsStatus": true,
"vrr": false
}]
diff --git a/oxidash/style.css b/oxidash/style.css
new file mode 100644
index 0000000..491ab64
--- /dev/null
+++ b/oxidash/style.css
@@ -0,0 +1,45 @@
+#MainWindow {
+ border-radius: 10px;
+}
+
+#MainBox {
+ border-radius: 10px;
+}
+
+#MainButtonBox {
+ padding: 10px;
+ margin: 5px 0px 5px 0px;
+ border-radius: 5px;
+ border: solid 2px #327cd5;
+}
+
+#DoNotDisturbButton {
+}
+
+#ExitButton {
+}
+
+#ClearNotificationsButton {
+}
+
+#NotificationsWindow {
+}
+
+.debugimage {
+ border: solid 3px blue;
+}
+
+.Notification {
+ padding: 10px;
+ margin: 5px 0px 5px 0px;
+ border: solid 2px #327cd5;
+ border-radius: 5px;
+}
+
+.CloseNotificationButton {
+ margin: 0px 5px 0px 10px;
+}
+.PictureButtonBox {
+}
+.BaseBox {
+}
diff --git a/oxinoti/oxinoti.toml b/oxinoti/oxinoti.toml
new file mode 100644
index 0000000..8c073eb
--- /dev/null
+++ b/oxinoti/oxinoti.toml
@@ -0,0 +1,2 @@
+timeout = 3
+dnd_override = 2
diff --git a/oxinoti/style.css b/oxinoti/style.css
new file mode 100644
index 0000000..5230fda
--- /dev/null
+++ b/oxinoti/style.css
@@ -0,0 +1,79 @@
+@import url("/home/dashie/.config/gtk-3.0/gtk.css");
+
+#MainWindow {
+ background-color: transparent;
+ padding: 0px;
+ /* opacity: 0; */
+}
+
+.MainBox {
+ background-color: transparent;
+ padding: 0px;
+ /* opacity: 0; */
+}
+
+.NotificationBox {
+ background-color: #353747;
+ border-radius: 5px;
+ border: solid 1px;
+ margin: 0px;
+ padding: 5px;
+}
+
+.NotificationLow {
+ border-color: green;
+}
+
+.NotificationNormal {
+ border-color: purple;
+}
+
+.NotificationUrgent {
+ border-color: red;
+}
+
+.miscbox {
+ margin: 0px 10px 0px 0px;
+}
+
+.bodybox {
+}
+
+.imagebox {
+ margin: 0px 0px 0px 10px;
+}
+
+.appname {
+ font-size: 0.8rem;
+}
+
+.timestamp {
+ font-size: 0.8rem;
+}
+
+.summary {
+ font-size: 0.8rem;
+}
+
+.body {
+ font-size: 1.2rem;
+}
+
+.icon {
+ font-size: 2rem;
+}
+
+.image {
+}
+
+.bold {
+ font-weight: bold;
+}
+
+.italic {
+ font-style: italic;
+}
+
+.underline {
+ text-decoration-line: underline;
+}
diff --git a/oxishut/style.css b/oxishut/style.css
new file mode 100644
index 0000000..15552f1
--- /dev/null
+++ b/oxishut/style.css
@@ -0,0 +1,18 @@
+#mainwindow {
+ border-radius: 10px;
+}
+
+.mainbox {
+ border-radius: 5px;
+ padding: 20px;
+}
+
+.button {
+ margin: 5px;
+ background-color: #2b2c3b;
+ -gtk-icon-size: 5rem;
+}
+
+.button:hover {
+ background-color: #3e4152;
+}
diff --git a/rofi/config.rasi b/rofi/config.rasi
deleted file mode 100644
index 4d57f97..0000000
--- a/rofi/config.rasi
+++ /dev/null
@@ -1,19 +0,0 @@
-configuration {
- matching: "prefix";
- show-icons: true;
- icon-theme: "Papirus";
- sort: true;
- sorting-method: "fzf";
- modes: "drun,window,calc,run,filebrowser";
- steal-focus: true;
- drun-match-fields: "exec,name,categories,keywords,generic";
- hover-select: true;
- window-thumbnail: true;
- drun-use-desktop-cache: true;
- application-fallback-icon: "";
- display-window: "Open Applications";
- display-drun: "Desktop Applications";
- display-run: "Terminal Applications";
- display-calc: "Calculator";
- display-filebrowser: "Filebrowser";
- }
diff --git a/rofi/themes/tokyonight.rasi b/rofi/themes/tokyonight.rasi
deleted file mode 100644
index 65c63fd..0000000
--- a/rofi/themes/tokyonight.rasi
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * ROFI color theme
- *
- * Based on Something Found in the Internet
- *
- * User: Contributors
- * Copyright: *!
- */
-
-configuration {
- font: "Noto Sans 12";
-
- drun {
- display-name: "";
- }
-
- run {
- display-name: "";
- }
-
- window {
- display-name: "";
- hide-active-window: true;
- }
-
- timeout {
- delay: 10;
- action: "kb-cancel";
- }
-}
-
-* {
- bg: #1a1b26FF;
- bg-alt: #232433FF;
- fg-alt-dim: #ffffff22;
- fg: #6a6f87;
- fg-alt: #a9b1d6;
- width: 100%;
- height: 100%;
- border: 0;
- margin: 0;
- padding: 30% 40% 30% 40%;
- spacing: 0;
-}
-
-window {
- /* transparency: "real"; */
- /* width: 700px; */
- background-color: @fg-alt-dim;
-}
-
-mainbox {
- border-radius: 15px;
- padding: 0;
- children: [inputbar, listview];
- background-color: @bg;
-}
-
-
-
-inputbar {
- padding: 0;
- background-color: @bg-alt;
- children: [prompt, entry];
- text-color: @fg;
-}
-
-entry {
- padding: 0;
- background-color: inherit;
- padding: 12px 3px;
- background-color: @bg;
- text-color: @fg;
-}
-
-prompt {
- padding: 0;
- background-color: inherit;
- padding: 12px;
- background-color: @bg;
- text-color: @fg;
-}
-
-listview {
- padding: 0;
- lines: 8;
- background-color: @bg;
- text-color: @fg;
-}
-
-element {
- padding: 0;
- children: [element-icon, element-text];
- background-color: @bg;
-}
-
-element-icon {
- padding: 0;
- padding: 10px 10px;
- size: 25px;
- background-color: @bg;
- text-color: @fg;
-}
-
-element-text {
- padding: 0;
- padding: 10px 0;
- background-color: @bg;
- text-color: @fg;
-}
-
-element-text selected {
- padding: 0;
- text-color: @fg-alt;
- background-color: @bg-alt;
-}
-
diff --git a/spotify-player/app.toml b/spotify-player/app.toml
deleted file mode 100644
index eb914a2..0000000
--- a/spotify-player/app.toml
+++ /dev/null
@@ -1,7 +0,0 @@
-theme = "tokyonight-dark"
-client_id = "15e203987c744878bc51bcbcc28a2b37"
-enable_media_control = true
-
-[device]
-volume = 100
-audio_cache = true
diff --git a/spotify-player/theme.toml b/spotify-player/theme.toml
deleted file mode 100644
index ac9fe97..0000000
--- a/spotify-player/theme.toml
+++ /dev/null
@@ -1,33 +0,0 @@
-[[themes]]
-name = "tokyonight-dark"
-[themes.palette]
-background = "#1A1B26"
-foreground = "#8AADF4"
-black = "#1A1B26"
-blue = "#8AADF4"
-cyan = "#91D7E3"
-green = "#A6DA95"
-magenta = "#C6A0F6"
-red = "#ED8796"
-white = "#2F3240"
-yellow = "#EED49F"
-bright_black = "#1A1B26"
-bright_blue = "#8AADF4"
-bright_cyan = "#91D7E3"
-bright_green = "#A6DA95"
-bright_magenta = "#C6A0F6"
-bright_red = "#ED8796"
-bright_white = "#2F3240"
-bright_yellow = "#EED49F"
-selection_background = "#2B2C3B"
-selection_foreground = "#2F3240"
-
-[themes.component_style]
-block_title = { fg = "Magenta" }
-playback_track = { fg = "Cyan", modifiers = ["Bold"] }
-playback_album = { fg = "Yellow" }
-playback_metadata = { fg = "Blue" }
-playback_progress_bar = { bg = "Black", fg = "Green" }
-current_playing = { fg = "Green", modifiers = ["Bold"] }
-page_desc = { fg = "Cyan", modifiers = ["Bold"] }
-table_header = { fg = "Blue" }
diff --git a/waybar/config b/waybar/config
deleted file mode 100644
index bb75512..0000000
--- a/waybar/config
+++ /dev/null
@@ -1,150 +0,0 @@
-{
- // "layer": "top", // Waybar at top layer
- // "position": "bottom", // Waybar position (top|bottom|left|right)
- "height": 30, // Waybar height (to be removed for auto height)
- // "width": 1280, // Waybar width
- "spacing": 4, // Gaps between modules (4px)
- // Choose the order of the modules
- "modules-left": ["wlr/workspaces"],
- "modules-center": ["hyprland/window"],
- "modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
- "wlr/workspaces": {
- "disable-scroll": true,
- "all-outputs": true,
- "on-click": "activate",
- //"format": "{icon}",
- "persistent_workspaces": {
- "1": [],
- "2": [],
- "3": [],
- }
- },
- "keyboard-state": {
- "numlock": true,
- "capslock": true,
- "format": "{name} {icon}",
- "format-icons": {
- "locked": "",
- "unlocked": ""
- }
- },
- "mpd": {
- "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
- "format-disconnected": "Disconnected ",
- "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
- "unknown-tag": "N/A",
- "interval": 2,
- "consume-icons": {
- "on": " "
- },
- "random-icons": {
- "off": " ",
- "on": " "
- },
- "repeat-icons": {
- "on": " "
- },
- "single-icons": {
- "on": "1 "
- },
- "state-icons": {
- "paused": "",
- "playing": ""
- },
- "tooltip-format": "MPD (connected)",
- "tooltip-format-disconnected": "MPD (disconnected)"
- },
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- // "icon-size": 21,
- "spacing": 10
- },
- "clock": {
- // "timezone": "America/New_York",
- "tooltip-format": "{:%Y %B}\n{calendar}",
- "format-alt": "{:%Y-%m-%d}"
- },
- "cpu": {
- "format": "{usage}% ",
- "tooltip": false
- },
- "memory": {
- "format": "{}% "
- },
- "temperature": {
- // "thermal-zone": 2,
- // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
- "critical-threshold": 80,
- // "format-critical": "{temperatureC}°C {icon}",
- "format": "{temperatureC}°C {icon}",
- "format-icons": ["", "", ""]
- },
- "backlight": {
- // "device": "acpi_video1",
- "format": "{percent}% {icon}",
- "format-icons": ["", "", "", "", "", "", "", "", ""]
- },
- "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"
- },
- "network": {
- // "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "{essid} ({signalStrength}%) ",
- "format-ethernet": "{ipaddr}/{cidr} ",
- "tooltip-format": "{ifname} via {gwaddr} ",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": "Disconnected ⚠",
- "format-alt": "{ifname}: {ipaddr}/{cidr}"
- },
- "pulseaudio": {
- // "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon} {format_source}",
- "format-bluetooth": "{volume}% {icon} {format_source}",
- "format-bluetooth-muted": " {icon} {format_source}",
- "format-muted": " {format_source}",
- "format-source": "{volume}% ",
- "format-source-muted": "",
- "format-icons": {
- "headphone": "",
- "hands-free": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", ""]
- },
- "on-click": "pavucontrol"
- },
- "custom/media": {
- "format": "{icon} {}",
- "return-type": "json",
- "max-length": 40,
- "format-icons": {
- "spotify": "",
- "default": "🎜"
- },
- "escape": true,
- "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
- // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
- }
-}
diff --git a/waybar/style.css b/waybar/style.css
deleted file mode 100644
index 9c9b888..0000000
--- a/waybar/style.css
+++ /dev/null
@@ -1,280 +0,0 @@
-* {
- /* `otf-font-awesome` is required to be installed for icons */
- font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
- font-size: 13px;
-}
-
-window#waybar {
- background-color: rgba(0, 0 , 0, 0);
- color: #ffffff;
- transition-property: background-color;
- transition-duration: .5s;
-}
-
-window#waybar.hidden {
- opacity: 0.2;
-}
-
-/*
-window#waybar.empty {
- background-color: transparent;
-}
-window#waybar.solo {
- background-color: #FFFFFF;
-}
-*/
-
-window#waybar.termite {
- background-color: #3F3F3F;
-}
-
-window#waybar.chromium {
- background-color: #000000;
- border: none;
-}
-
-button {
- /* Use box-shadow instead of border so the text isn't offset */
- box-shadow: inset 0 -3px transparent;
- /* Avoid rounded borders under each button name */
- border: none;
- border-radius: 0;
-}
-
-/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
-button:hover {
- background: inherit;
- box-shadow: inset 0 -3px #ffffff;
-}
-
-#workspaces button {
- padding: 0 5px;
- background-color: transparent;
- color: #ffffff;
-}
-
-#workspaces button:hover {
- background: rgba(0, 0, 0, 0.2);
-}
-
-#workspaces button.focused {
- background-color: #64727D;
- box-shadow: inset 0 -3px #ffffff;
-}
-
-#workspaces button.urgent {
- background-color: #eb4d4b;
-}
-
-#mode {
- background-color: #64727D;
- border-bottom: 3px solid #ffffff;
-}
-
-#clock,
-#battery,
-#cpu,
-#memory,
-#disk,
-#temperature,
-#backlight,
-#network,
-#pulseaudio,
-#wireplumber,
-#custom-media,
-#tray,
-#mode,
-#idle_inhibitor,
-#scratchpad,
-#mpd {
- padding: 0 10px;
- color: #ffffff;
-}
-
-#window,
-#workspaces {
- margin: 0 4px;
- background-color: rgba(23,124,1,100);
-}
-
-/* If workspaces is the leftmost module, omit left margin */
-.modules-left > widget:first-child > #workspaces {
- margin-left: 0;
-}
-
-/* If workspaces is the rightmost module, omit right margin */
-.modules-right > widget:last-child > #workspaces {
- margin-right: 0;
-}
-
-#clock {
- background-color: #64727D;
-}
-
-#battery {
- background-color: #ffffff;
- color: #000000;
-}
-
-#battery.charging, #battery.plugged {
- color: #ffffff;
- background-color: #26A65B;
-}
-
-@keyframes blink {
- to {
- background-color: #ffffff;
- color: #000000;
- }
-}
-
-#battery.critical:not(.charging) {
- background-color: #f53c3c;
- color: #ffffff;
- animation-name: blink;
- animation-duration: 0.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-label:focus {
- background-color: #000000;
-}
-
-#cpu {
- background-color: #2ecc71;
- color: #000000;
-}
-
-#memory {
- background-color: #9b59b6;
-}
-
-#disk {
- background-color: #964B00;
-}
-
-#backlight {
- background-color: #90b1b1;
-}
-
-#network {
- background-color: #2980b9;
-}
-
-#network.disconnected {
- background-color: #f53c3c;
-}
-
-#pulseaudio {
- background-color: #f1c40f;
- color: #000000;
-}
-
-#pulseaudio.muted {
- background-color: #90b1b1;
- color: #2a5c45;
-}
-
-#wireplumber {
- background-color: #fff0f5;
- color: #000000;
-}
-
-#wireplumber.muted {
- background-color: #f53c3c;
-}
-
-#custom-media {
- background-color: #66cc99;
- color: #2a5c45;
- min-width: 100px;
-}
-
-#custom-media.custom-spotify {
- background-color: #66cc99;
-}
-
-#custom-media.custom-vlc {
- background-color: #ffa000;
-}
-
-#temperature {
- background-color: #f0932b;
-}
-
-#temperature.critical {
- background-color: #eb4d4b;
-}
-
-#tray {
- background-color: #2980b9;
-}
-
-#tray > .passive {
- -gtk-icon-effect: dim;
-}
-
-#tray > .needs-attention {
- -gtk-icon-effect: highlight;
- background-color: #eb4d4b;
-}
-
-#idle_inhibitor {
- background-color: #2d3436;
-}
-
-#idle_inhibitor.activated {
- background-color: #ecf0f1;
- color: #2d3436;
-}
-
-#mpd {
- background-color: #66cc99;
- color: #2a5c45;
-}
-
-#mpd.disconnected {
- background-color: #f53c3c;
-}
-
-#mpd.stopped {
- background-color: #90b1b1;
-}
-
-#mpd.paused {
- background-color: #51a37a;
-}
-
-#language {
- background: #00b093;
- color: #740864;
- padding: 0 5px;
- margin: 0 5px;
- min-width: 16px;
-}
-
-#keyboard-state {
- background: #97e1ad;
- color: #000000;
- padding: 0 0px;
- margin: 0 5px;
- min-width: 16px;
-}
-
-#keyboard-state > label {
- padding: 0 5px;
-}
-
-#keyboard-state > label.locked {
- background: rgba(0, 0, 0, 0.2);
-}
-
-#scratchpad {
- background: rgba(0, 0, 0, 0.2);
-}
-
-#scratchpad.empty {
- background-color: transparent;
-}
diff --git a/wofi/style.css b/wofi/style.css
deleted file mode 100644
index 381dbdd..0000000
--- a/wofi/style.css
+++ /dev/null
@@ -1,20 +0,0 @@
-window {
- margin: 0px;
- background-color: #0f0f17;
- border-radius: 10px;
- opacity: 0.8;
-}
-
-#inner-box {
- background-color: #1a1b26;
- margin: 5px;
- border: none;
- border-radius: 10px;
-}
-
-#outer-box {
- background-color: #0f0f17;
- margin: 5px;
- border: none;
- border-radius: 10px;
-}