diff --git a/.zshrc b/.zshrc new file mode 100755 index 0000000..c9abaf3 --- /dev/null +++ b/.zshrc @@ -0,0 +1,102 @@ +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +# Path to your oh-my-zsh installation. +export ZSH="$HOME/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="agnoster" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in $ZSH/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment one of the following lines to change the auto-update behavior +# zstyle ':omz:update' mode disabled # disable automatic updates +# zstyle ':omz:update' mode auto # update automatically without asking +# zstyle ':omz:update' mode reminder # just remind me to update when it's time + +# Uncomment the following line to change how often to auto-update (in days). +# zstyle ':omz:update' frequency 13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# You can also set it to another string to have that shown instead of the default red dots. +# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" +# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git) + +source $ZSH/oh-my-zsh.sh +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" diff --git a/arch/i3/config b/arch/i3/config deleted file mode 100644 index 5fb3d70..0000000 --- a/arch/i3/config +++ /dev/null @@ -1,216 +0,0 @@ -set $mod Mod4 - -set $up k -set $right l -set $down j -set $left h - -set $w1 1 -set $w2 2 -set $w3 3 -set $w4 4 -set $w5 5 -set $w6 6 -set $w7 7 -set $w8 8 -set $w9 9 -set $w10 10 - -# Colors -set $active #e500af -set $inactive #181818 - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -font pango:Hack Nerd Font bold 10 - -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -#font pango:Hack 10 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# start a terminal -bindsym $mod+Return exec kitty - -# kill focused window -bindsym $mod+Shift+q kill - -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop - -# alternatively, you can use rofi -bindsym $mod+d exec rofi -modi drun -show drun \ - -config ~/.config/rofi/rofidmenu.rasi - - -# change focus -bindsym $mod+$left focus left -bindsym $mod+$down focus down -bindsym $mod+$up focus up -bindsym $mod+$right focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+$left move left -bindsym $mod+Shift+$down move down -bindsym $mod+Shift+$up move up -bindsym $mod+Shift+$right move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+c split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -#bindsym $mod+d layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+x floating toggle - -# change focus between tiling / floating windows -bindsym $mod+x focus mode_toggle - -# focus the parent container -# bindsym $mod+a focus parent - -# focus the child container -# bindsym $mod+Shift+a focus child - -# switch to workspace -bindsym $mod+1 workspace $w1 -bindsym $mod+2 workspace $w2 -bindsym $mod+3 workspace $w3 -bindsym $mod+4 workspace $w4 -bindsym $mod+5 workspace $w5 -bindsym $mod+6 workspace $w6 -bindsym $mod+7 workspace $w7 -bindsym $mod+8 workspace $w8 -bindsym $mod+9 workspace $w9 -bindsym $mod+0 workspace $w10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $w1 -bindsym $mod+Shift+2 move container to workspace $w2 -bindsym $mod+Shift+3 move container to workspace $w3 -bindsym $mod+Shift+4 move container to workspace $w4 -bindsym $mod+Shift+5 move container to workspace $w5 -bindsym $mod+Shift+6 move container to workspace $w6 -bindsym $mod+Shift+7 move container to workspace $w7 -bindsym $mod+Shift+8 move container to workspace $w8 -bindsym $mod+Shift+9 move container to workspace $w9 -bindsym $mod+Shift+0 move container to workspace $w10 - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym $left resize shrink width 10 px or 10 ppt - bindsym $down resize grow height 10 px or 10 ppt - bindsym $up resize shrink height 10 px or 10 ppt - bindsym $right resize grow width 10 px or 10 ppt - - - bindsym Shift+$left resize shrink width 50 px or 10 ppt - bindsym Shift+$down resize grow height 50 px or 10 ppt - bindsym Shift+$up resize shrink height 50 px or 10 ppt - bindsym Shift+$right resize grow width 50 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} - -bindsym $mod+r mode "resize" - - -## Style -# border color -# class border backgr. text -client.focused $active $active $inactive $active -client.unfocused $inactive $inactive $active $inactive -client.focused_inactive $inactive $inactive #4f97d7 $inactive -client.urgent $inactive $inactive #4f97d7 $inactive - -new_window pixel 1 -default_border pixel 1 - -# Disable title bar - -# Polybar -exec_always --no-startup-id sh ~/.config/polybar/launch.sh - -# Audio -bindsym XF86AudioRaiseVolume exec "amixer -D pulse set Master 5%+" -bindsym XF86AudioLowerVolume exec "amixer -D pulse set Master 5%-" -bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle" - -# Screenshots -bindsym --release Print exec --no-startup-id gnome-screenshot -f "$HOME/Pictures/$(date +%F_%H-%M-%S).png" -bindsym $mod+Print --release exec --no-startup-id i3-scrot -w -bindsym Ctrl+Print --release exec --no-startup-id i3-scrot -wc -bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s -bindsym Ctrl+Shift+Print --release exec --no-startup-id i3-scrot -sc - -# Screen brightness -bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 -bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 - -# no mouse follow -focus_follows_mouse no - -# Background -exec --no-startup-id feh --bg-scale ~/Downloads/Wallpaper.jpg - -# Picom -exec --no-startup-id picom - -# Gaps -#smart_gaps on -#smart_borders on -gaps inner 5 -gaps outer 5 diff --git a/arch/kitty/kitty.conf b/arch/kitty/kitty.conf deleted file mode 100755 index 13f367d..0000000 --- a/arch/kitty/kitty.conf +++ /dev/null @@ -1,111 +0,0 @@ -# Environment Variables -env TERM=xterm-256color -env COLORTERM=truecolor -env CURRENT_DEVICE=laptop - -# Window -remember_window_size no -initial_window_width 1750 -initial_window_height 950 - -# Render -repaint_delay 1 -input_delay 1 -sync_to_monitor no -mouse_hide_wait 1.0 - -# Bell -enable_audio_bell no -window_alert_on_bell no - - -# Mappings -clear_all_shortcuts yes -kitty_mod ctrl+shift -map kitty_mod+c copy_to_clipboard -map kitty_mod+v paste_from_clipboard -map kitty_mod+space clear_terminal reset active -map kitty_mod+up scroll_line_up -map kitty_mod+k scroll_line_up -map kitty_mod+down scroll_line_down -map kitty_mod+j scroll_line_down -map kitty_mod+page_up scroll_page_up -map kitty_mod+page_down scroll_page_down -map kitty_mod+home scroll_home -map kitty_mod+end scroll_end - -map kitty_mod+equal change_font_size all +2.0 -map kitty_mod+plus change_font_size all +2.0 -map kitty_mod+minus change_font_size all -2.0 -map kitty_mod+kp_subtract change_font_size all -2.0 -map kitty_mod+backspace change_font_size all 0 - -# -= STYLE =------------------------------------------------------------------- -# cursor -cursor_shape block - -# Fonts -font_family Cascaydia Mono Regular -bold_font Cascaydia Mono Bold -italic_font Cascaydia Mono Italic -bold_italic_font Cascaydia Mono Bold Italic -font_size 13 -adjust_line_height 1 - - -# Colorscheme -dim_opacity 1.0 -background_opacity 0.7 - -cursor #f500af -cursor_text_color background - -url_color #83a598 - -visual_bell_color #8ec07c -bell_border_color #8ec07c - -active_border_color #d3869b -inactive_border_color #665c54 - -background #262b34 -foreground #31ccee -selection_foreground #175f6e -selection_background #d75d9f - -active_tab_foreground #fbf1c7 -active_tab_background #665c54 -inactive_tab_foreground #a89984 -inactive_tab_background #3c3836 - -# black -color0 #000000 -color8 #121212 - -# red -color1 #e10600 -color9 #ed1d24 - -#: green -color2 #0ac71a -color10 #00b140 - -# yellow -color3 #ffe900 -color11 #f6eb61 - -# blue -color4 #0827f5 -color12 #00aeef - -# purple -color5 #c724b1 -color13 #ac4fc6 - -# aqua -color6 #00ffff -color14 #07da9a - -# white -color7 #FFFFFF -color15 #898989 diff --git a/arch/polybar/config.ini b/arch/polybar/config.ini deleted file mode 100644 index f0a7455..0000000 --- a/arch/polybar/config.ini +++ /dev/null @@ -1,174 +0,0 @@ -;========================================================== -; -; -; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ -; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ -; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ -; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ -; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ -; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ -; -; -; To learn more about how to configure Polybar -; go to https://github.com/polybar/polybar -; -; The README contains a lot of information -; -;========================================================== - -[colors] -background = #282A2E -background-alt = #373B41 -foreground = #C5C8C6 -primary = #d3869b -secondary = #d75d9f -alert = #0ac71a -disabled = #707880 - -[bar/mybar] -width = 100% -height = 24pt -radius = 6 - -; dpi = 96 - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3pt - -border-size = 4pt -border-color = #00000000 - -padding-left = 0 -padding-right = 1 - -module-margin = 1 - -separator = | -separator-foreground = ${colors.disabled} - -font-0 = CaskaydiaCove Nerd Font Mono;2 - -modules-left = xworkspaces xwindow -modules-right = pulseaudio memory cpu date - -cursor-click = pointer -cursor-scroll = ns-resize - -enable-ipc = true - -; tray-position = right - -; wm-restack = generic -; wm-restack = bspwm -; wm-restack = i3 - -; override-redirect = true - -[module/xworkspaces] -type = internal/xworkspaces - -label-active =  -label-active-foreground = #FCEDF7 -#label-active-background = ${colors.background-alt} -#label-active-underline= ${colors.primary} -label-active-padding = 1 - -label-occupied-foreground = #f500af -label-occupied =  -label-occupied-padding = 1 - -label-urgent = %name% -label-urgent-background = ${colors.alert} -label-urgent-padding = 1 - -label-empty =  -label-empty-foreground = ${colors.disabled} -label-empty-padding = 1 - -[module/xwindow] -type = internal/xwindow -label = %title:0:60:...% - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / - -label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% - -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.disabled} - -[module/pulseaudio] -type = internal/pulseaudio - -format-volume-prefix = "VOL " -format-volume-prefix-foreground = ${colors.primary} -format-volume = - -label-volume = %percentage%% - -label-muted = muted -label-muted-foreground = ${colors.disabled} - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -label-layout = %layout% -label-layout-foreground = ${colors.primary} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-foreground = ${colors.background} -label-indicator-background = ${colors.secondary} - -[module/memory] -type = internal/memory -interval = 2 -format-prefix = "RAM " -format-prefix-foreground = ${colors.primary} -label = %percentage_used:2%% - -[module/cpu] -type = internal/cpu -interval = 2 -format-prefix = "CPU " -format-prefix-foreground = ${colors.primary} -label = %percentage:2%% - -[network-base] -type = internal/network -interval = 5 -format-connected = -format-disconnected = -label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected - -[module/wlan] -inherit = network-base -interface-type = wireless -label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% - -[module/eth] -inherit = network-base -interface-type = wired -label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% - -[module/date] -type = internal/date -interval = 1 - -date = %H:%M -date-alt = %Y-%m-%d %H:%M:%S - -label = %date% -label-foreground = ${colors.primary} - -[settings] -screenchange-reload = true -pseudo-transparency = true - -; vim:ft=dosini diff --git a/arch/polybar/launch.sh b/arch/polybar/launch.sh deleted file mode 100755 index 0bfebf7..0000000 --- a/arch/polybar/launch.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -killall -q polybar - -while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done - -polybar mybar diff --git a/endeavoursOS/i3/config b/endeavoursOS/i3/config deleted file mode 100644 index c5eb61e..0000000 --- a/endeavoursOS/i3/config +++ /dev/null @@ -1,567 +0,0 @@ -# This file is a modified version based on default i3-config-wizard config -# source is available here: -# https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/master/.config/i3/config -# Maintainer: joekamprad [joekamprad@endeavouros.com] -# https://endeavouros.com -# -# iconic font icon search: https://fontawesome.com/v4.7/cheatsheet/ -# -# --> to update this run the following command (will backup existing setup file) -# wget --backups=1 https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/config -P ~/.config/i3/ -# -# Endeavouros-i3 config file -# Source for complete framework of our i3 config and theming here: https://github.com/endeavouros-team/endeavouros-i3wm-setup -# EndeavourOS wiki holds some Information also: https://discovery.endeavouros.com/window-tiling-managers/i3-wm/ -# Please see http://i3wm.org/docs/userguide.html for the official i3 reference! - -####################### -# config starts here: # -####################### - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -font pango:CaskaydiaCove Nerd Font 10 - -# set the mod key to the winkey: -set $mod Mod4 - -##################### -# workspace layout: # -##################### - -# default i3 tiling mode: -workspace_layout default - -# i3 stacking layout: -# Each window will be fullscreen and tabbed top to bottom. -#workspace_layout stacking - -# i3 tabbed layout: -# Each new window will open fullscreen as a tab (left to right) -#workspace_layout tabbed - -############################## -# extra options for windows: # -############################## - -#border indicator on windows: -new_window pixel 1 - -# thin borders -# hide_edge_borders both - -# Set inner/outer gaps -gaps inner 6 -gaps outer 3 - -# show window title bars (not officially supported with i3gaps) -#default_border normal - -# window title alignment -#title_align center - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# switch/iterate between workspaces -bindsym $mod+Tab workspace next -bindsym $mod+Shift+Tab workspace prev - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# switch to workspace with numpad keys -bindcode $mod+87 workspace 1 -bindcode $mod+88 workspace 2 -bindcode $mod+89 workspace 3 -bindcode $mod+83 workspace 4 -bindcode $mod+84 workspace 5 -bindcode $mod+85 workspace 6 -bindcode $mod+79 workspace 7 -bindcode $mod+80 workspace 8 -bindcode $mod+81 workspace 9 -bindcode $mod+90 workspace 10 - -# switch to workspace with numlock numpad keys -bindcode $mod+Mod2+87 workspace $ws1 -bindcode $mod+Mod2+88 workspace $ws2 -bindcode $mod+Mod2+89 workspace $ws3 -bindcode $mod+Mod2+83 workspace $ws4 -bindcode $mod+Mod2+84 workspace $ws5 -bindcode $mod+Mod2+85 workspace $ws6 -bindcode $mod+Mod2+79 workspace $ws7 -bindcode $mod+Mod2+80 workspace $ws8 -bindcode $mod+Mod2+81 workspace $ws9 -bindcode $mod+Mod2+90 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -# move focused container to workspace with numpad keys -bindcode $mod+Shift+Mod2+87 move container to workspace $ws1 -bindcode $mod+Shift+Mod2+88 move container to workspace $ws2 -bindcode $mod+Shift+Mod2+89 move container to workspace $ws3 -bindcode $mod+Shift+Mod2+83 move container to workspace $ws4 -bindcode $mod+Shift+Mod2+84 move container to workspace $ws5 -bindcode $mod+Shift+Mod2+85 move container to workspace $ws6 -bindcode $mod+Shift+Mod2+79 move container to workspace $ws7 -bindcode $mod+Shift+Mod2+80 move container to workspace $ws8 -bindcode $mod+Shift+Mod2+81 move container to workspace $ws9 -bindcode $mod+Shift+Mod2+90 move container to workspace $ws10 - -# move focused container to workspace with numpad keys -bindcode $mod+Shift+87 move container to workspace $ws1 -bindcode $mod+Shift+88 move container to workspace $ws2 -bindcode $mod+Shift+89 move container to workspace $ws3 -bindcode $mod+Shift+83 move container to workspace $ws4 -bindcode $mod+Shift+84 move container to workspace $ws5 -bindcode $mod+Shift+85 move container to workspace $ws6 -bindcode $mod+Shift+79 move container to workspace $ws7 -bindcode $mod+Shift+80 move container to workspace $ws8 -bindcode $mod+Shift+81 move container to workspace $ws9 -bindcode $mod+Shift+90 move container to workspace $ws10 - -# resize window (you can also use the mouse for that): -#mode "resize" { -# These bindings trigger as soon as you enter the resize mode -# Pressing left will shrink the window's width. -# Pressing right will grow the window's width. -# Pressing up will shrink the window's height. -# Pressing down will grow the window's height. -# bindsym j resize shrink width 10 px or 10 ppt -# bindsym k resize grow height 10 px or 10 ppt -# bindsym l resize shrink height 10 px or 10 ppt -# bindsym ntilde resize grow width 10 px or 10 ppt - -# same bindings, but for the arrow keys -# bindsym Left resize shrink width 10 px or 10 ppt -# bindsym Down resize grow height 10 px or 10 ppt -# bindsym Up resize shrink height 10 px or 10 ppt -# bindsym Right resize grow width 10 px or 10 ppt - -# back to normal: Enter or Escape -# bindsym Return mode "default" -# bindsym Escape mode "default" -#} - -#bindsym $mod+r mode "resize" - -###################################### -# keybindings for different actions: # -###################################### - -# start a terminal -bindsym $mod+Return exec xfce4-terminal - -# kill focused window -bindsym $mod+Shift+q kill - -# exit-menu -bindsym $mod+Shift+e exec ~/.config/i3/scripts/powermenu - -# Lock the system -# lock with a picture: -#bindsym $mod+l exec i3lock -i ~/.config/i3/i3-lock-screen.png -p default|win -t -# lock by blurring the screen: -bindsym $mod+l exec ~/.config/i3/scripts/blur-lock - -# reload the configuration file -bindsym $mod+Shift+c reload - -# restart i3 inplace (preserves your layout/session, can be used to update i3) -bindsym $mod+Shift+r restart - -# keybinding in fancy rofi (automated): -bindsym F1 exec ~/.config/i3/scripts/keyhint-2 -# alternative -# keybinding list in editor: -# bindsym $mod+F1 exec xed ~/.config/i3/keybindings - -# Backlight control -bindsym XF86MonBrightnessUp exec xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" -bindsym XF86MonBrightnessDown exec xbacklight -5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" - -# change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+b focus up -bindsym $mod+o focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+b move up -bindsym $mod+Shift+o move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+g layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# open new empty workspace -bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace - -# Multimedia Keys - -# volume -bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks -bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks - -# gradular volume control -bindsym $mod+XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && pkill -RTMIN+1 i3blocks -bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 i3blocks - -# mute -bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 i3blocks - -# audio control -bindsym XF86AudioPlay exec playerctl play -bindsym XF86AudioPause exec playerctl pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous - -# Redirect sound to headphones -bindsym $mod+p exec /usr/local/bin/switch-audio-port - -## App shortcuts -bindsym $mod+w exec /usr/bin/firefox -bindsym $mod+n exec /usr/bin/thunar -bindsym Print exec scrot ~/%Y-%m-%d-%T-screenshot.png && notify-send "Screenshot saved to ~/$(date +"%Y-%m-%d-%T")-screenshot.png" - -# Power Profiles menu switcher (rofi) -bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles - -########################################## -# configuration for workspace behaviour: # -########################################## - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1:" -set $ws2 "2:" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# use workspaces on different displays: -# where you have to replace VGA-0/HDMI-0 with the names for your displays -# you can get from xrandr command -#workspace $ws1 output VGA-0 -#workspace $ws2 output VGA-0 -#workspace $ws3 output HDMI-0 -#workspace $ws4 output HDMI-0 -#workspace $ws5 output HDMI-0 - -# automatic set focus new window if it opens on another workspace than the current: -for_window [class=Xfce4-terminal] focus -for_window [class=(?i)firefox] focus - -############## -# compositor # -############## - -# transparency -# uncomment one of them to be used -# options could need changes, related to used GPU and drivers. -# to find the right setting consult the archwiki or ask at the forum. -# -# xcompmgr: https://wiki.archlinux.org/title/Xcompmgr -# manpage: https://man.archlinux.org/man/xcompmgr.1.en -# install xcompmgr package to use it (yay -S xcompmgr) -#exec --no-startup-id xcompmgr -C -n & -# or an more specialized config like this: -#exec --no-startup-id xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 & -# -# or: -# -# picom: https://wiki.archlinux.org/title/Picom -# manpage: https://man.archlinux.org/man/picom.1.en -# The default configuration is available in /etc/xdg/picom.conf -# For modifications, it can be copied to ~/.config/picom/picom.conf or ~/.config/picom.conf -# install picom package (yay -S picom) -# start using default config -#exec_always --no-startup-id picom -b -# -# for custom config: -#exec_always --no-startup-id picom --config ~/.config/picom.conf - -############################################# -# autostart applications/services on login: # -############################################# - -#Set second monitor to 144hz and right to HDMI2 -exec --no-startup-id xrandr --output DP1 --mode 2560x1440 --rate 144.00 --right-of HDMI2 - -#get auth work with polkit-gnome -exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 - -# dex execute .desktop files + apps using /etc/xdg/autostart. -# when second to i3 a DE is installed or mixed usage of i3 + xfce4 or GNOME -# in this cases better disable dex and use manual starting apps using xdg/autostart -# if enabled you should comment welcome app. -# https://github.com/jceb/dex -#exec --no-startup-id dex -a -s /etc/xdg/autostart/:~/.config/autostart/ -exec --no-startup-id dex --autostart --environment i3 - -# start welcome app -#exec --no-startup-id sh /usr/share/endeavouros/scripts/welcome --startdelay=3 - -# num lock activated -#exec --no-startup-id numlockx on - -# configure multiple keyboard layouts and hotkey to switch (Alt+CAPSLOCK in this example) -#exec --no-startup-id setxkbmap -layout 'us,sk' -variant altgr-intl,qwerty -option 'grp:alt_caps_toggle' - -# start conky: -#exec_always --no-startup-id conky - -# start a script to setup displays -# uncomment the next line, use arandr to setup displays and save the file as monitor: -exec --no-startup-id ~/.screenlayout/monitor.sh - -# set wallpaper -# exec --no-startup-id sleep 2 && nitrogen --restore -exec --no-startup-id sleep 1 && feh --bg-fill ~/Downloads/wallpaper.jpg - -# set powersavings for display: -exec --no-startup-id xset s 480 dpms 600 600 600 - -# disable power saving (for example if using xscreensaver) -#exec --no-startup-id xset -dpms - -# use xautolock to use autosuspend rules for mobile devices -# https://wiki.archlinux.org/title/Session_lock#xautolock -#exec --no-startup-id xautolock -time 60 -locker "systemctl suspend" - - -# xscreensaver -# https://www.jwz.org/xscreensaver -#exec --no-startup-id xscreensaver --no-splash - -# Desktop notifications -exec --no-startup-id dbus-launch dunst --config ~/.config/dunst/dunstrc -# alternative if you installed aside with XFCE4: -# exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & - -# autotiling script -# https://github.com/nwg-piotr/autotiling -# `yay -S autotiling ;) (it is in AUR) -#exec_always --no-startup-id autotiling - -# Autostart apps as you like -#exec --no-startup-id sleep 2 && xfce4-terminal -#exec --no-startup-id sleep 7 && firefox https://github.com/endeavouros-team/endeavouros-i3wm-setup/blob/main/force-knowledge.md -#exec --no-startup-id sleep 3 && thunar - -############### -# system tray # -############### -# if you do not use dex: exec --no-startup-id dex --autostart --environment i3 -# you need to have tray apps started manually one by one: - -# start blueberry app for managing bluetooth devices from tray: -#exec --no-startup-id blueberry-tray - -# networkmanager-applet -#exec --no-startup-id nm-applet - -# clipman-applet -#exec --no-startup-id xfce4-clipman - -################## -# floating rules # -################## - -# set floating (nontiling) for apps needing it -for_window [class="Yad" instance="yad"] floating enable -for_window [class="Galculator" instance="galculator"] floating enable -for_window [class="Blueberry.py" instance="blueberry.py"] floating enable - -# set floating (nontiling) for special apps -for_window [class="Xsane" instance="xsane"] floating enable -for_window [class="Pavucontrol" instance="pavucontrol"] floating enable -for_window [class="qt5ct" instance="qt5ct"] floating enable -for_window [class="Blueberry.py" instance="blueberry.py"] floating enable -for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable -for_window [class="Pamac-manager"] floating enable -for_window [window_role="About"] floating enable - -# set border of floating window -for_window [class="urxvt"] border pixel 1 - -# set size of floating window -#for_window [window_role="(?i)GtkFileChooserDialog"] resize set 640 480 #to set size of file choose dialog -#for_window [class=".*"] resize set 640 480 #to change size of all floating windows - -# set position of floating window -#for_window [class=".*"] move position center - -###################################### -# color settings for bar and windows # -###################################### - -# Define colors variables: -set $darkbluetrans #08052be6 -set $darkblue #08052b -set $lightblue #5294e2 -set $urgentred #e53935 -set $white #ffffff -set $black #000000 -set $purple #e345ff -set $darkgrey #383c4a -set $grey #b0b5bd -set $mediumgrey #8b8b8b -set $yellowbrown #e1b700 - -# define colors for windows: -#class border bground text indicator child_border -client.focused $lightblue $darkblue $white $mediumgrey $mediumgrey -client.unfocused $darkblue $darkblue $grey $darkgrey $darkgrey -client.focused_inactive $darkblue $darkblue $grey $black $black -client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown - -############################################ -# bar settings (input comes from i3blocks) # -############################################ - -# Start i3bar to display a workspace bar -# (plus the system information i3status finds out, if available) -bar { - font pango: Noto Sans Regular 10 - status_command i3blocks -c ~/.config/i3/i3blocks.conf - position bottom -# i3bar_command i3bar --transparency -# it could be that you have no primary display set: set one (xrandr --output --primary) -# reference: https://i3wm.org/docs/userguide.html#_tray_output - #tray_output primary - tray_padding 0 - -# When strip_workspace_numbers is set to yes, -# any workspace that has a name of the form -# “[n][:][NAME]” will display only the name. -strip_workspace_numbers yes -##strip_workspace_name no - - colors { - separator $purple - background $darkgrey - statusline $white -# border bg txt indicator - focused_workspace $mediumgrey $grey $darkgrey $purple - active_workspace $lightblue $mediumgrey $darkgrey $purple - inactive_workspace $darkgrey $darkgrey $grey $purple - urgent_workspace $urgentred $urgentred $white $purple - } -} - -# you can add different bars for multidisplay setups on each display: -# set output HDMI-0 to the display you want the bar, --transparency can be set. -# Transparency needs rgba color codes to be used where the last two letters are the transparency factor see here: -# https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4 -# #08052be6 --> e6=90% - -# bar { -# font pango: Noto Sans Regular 10 -# status_command i3blocks -c ~/.config/i3/i3blocks-2.conf -# i3bar_command i3bar --transparency -# output HDMI-0 -# position bottom -# -# When strip_workspace_numbers is set to yes, -# any workspace that has a name of the form -# “[n][:][NAME]” will display only the name. -#strip_workspace_numbers yes -##strip_workspace_name no -# -# colors { -# separator $purple -# background $darkbluetrans -# statusline $white -# border bg txt indicator -# focused_workspace $lighterblue $lighterblue $darkblue $purple -# active_workspace $lightdblue $lightdblue $darkblue $purple -# inactive_workspace $darkblue $darkblue $lightdblue $purple -# urgent_workspace $urgentred $urgentred $white $purple -# } -#} - -##################################### -# Application menu handled by rofi: # -##################################### - -## rofi bindings fancy application menu ($mod+d /F9 optional disabled) - -bindsym $mod+d exec rofi -modi drun -show drun \ - -config ~/.config/rofi/rofidmenu.rasi - -#bindsym F9 exec rofi -modi drun -show drun \ -# -config ~/.config/rofi/rofidmenu.rasi - -## rofi bindings for window menu ($mod+t /F10 optional disabled) - -bindsym $mod+t exec rofi -show window \ - -config ~/.config/rofi/rofidmenu.rasi - -#bindsym F10 exec rofi -show window \ -# -config ~/.config/rofi/rofidmenu.rasi - -## rofi bindings to manage clipboard (install rofi-greenclip from the AUR) - -#exec --no-startup-id greenclip daemon>/dev/null -#bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \ -# -config ~/.config/rofi/rofidmenu.rasi diff --git a/endeavoursOS/i3/i3blocks.conf b/endeavoursOS/i3/i3blocks.conf deleted file mode 100644 index 86cf7a6..0000000 --- a/endeavoursOS/i3/i3blocks.conf +++ /dev/null @@ -1,120 +0,0 @@ -# i3blocks config file changed for EndeavourOS-i3 setup - -# source is available here: -# https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/i3blocks.conf -# Maintainer: joekamprad [joekamprad@endeavouros.com] -# Former Visual Designer: Florent Valetti [@FLVAL EndeavourOS] -# created for i3wm setup on EndeavourOS -# https://endeavouros.com - -# cheatsheet for icon fonts used on the block-bar: -# https://fontawesome.com/v4.7/cheatsheet/ - -# --> to update this run the following command: -# wget --backups=1 https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/i3blocks.conf -P ~/.config/i3/ - -# Please see man i3blocks for a complete reference! -# The man page is also hosted at http://vivien.github.io/i3blocks - - -# List of valid properties: -# -# align -# color -# command -# full_text -# instance -# interval -# label -# min_width -# name -# separator -# separator_block_width -# short_text -# signal -# urgent - -# Global properties -# -# The top properties below are applied to every block, but can be overridden. -separator=false -markup=pango - -# Memory usage -# -# The type defaults to "mem" if the instance is not specified. -[memory] -label= -command=~/.config/i3/scripts/memory -interval=2 - -[cpu_usage] -label= -command=~/.config/i3/scripts/cpu_usage -#min_width=CPU: 100.00% -interval=2 - -[CPU-temperature] -label= -command=~/.config/i3/scripts/temperature -interval=30 -#T_WARN=70 -#T_CRIT=90 -#SENSOR_CHIP="" -# where SENSOR_CHIP can be find with sensors output -# can be used also for GPU temperature or other temperature sensors lm-sensors detects. - -# showing name of connected network (enable for wifi use) -#[net] -#label= -#command=echo "$(LANG=C nmcli d | grep connected | awk '{print $4}')" -#interval=30 - -# Battery indicator -[battery] -command=~/.config/i3/scripts/battery2 -# for alternative battery script change to battery1 -# change this to battery-pinebook-pro if you are running on pinebook-pro -label= -interval=30 - -[simple-2] -full_text=: : -color=#717171 - -[pavucontrol] -full_text= -command=pavucontrol - -[volume-pulseaudio] -command=~/.config/i3/scripts/volume -instance=Master -interval=1 - -# power-profiles-daemon implementation: -# needs package power-profiles-daemon installed and the service running see here: -# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon - -#set power-profile -[ppd_menu] -full_text= -command=~/.config/i3/scripts/power-profiles -color=#407437 - -#Show the current power-profile -[ppd-status] -command=~/.config/i3/scripts/ppd-status -interval=5 - -[time] -#label= -command=date '+%a %d %b %H:%M:%S' -interval=1 - -[shutdown_menu] -full_text= -command=~/.config/i3/scripts/powermenu - -[simple-2] -full_text=: : -color=#717171 diff --git a/endeavoursOS/i3/keybindings b/endeavoursOS/i3/keybindings deleted file mode 100644 index f5edbc6..0000000 --- a/endeavoursOS/i3/keybindings +++ /dev/null @@ -1,106 +0,0 @@ -EndeavourOS i3wm Keybindings cheat sheet: - ---> to update this run the following command: -wget --backups=1 https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/keybindings -P ~/.config/i3/ - -All sources and updates are available at GitHub: -https://github.com/endeavouros-team/endeavouros-i3wm-setup - -For reference consult our WIKI: -https://discovery.endeavouros.com/window-tiling-managers/i3-wm/ - - = windows key - -# start xfce4-terminal -+Return - -# kill focused window -+q - -# Application menu search by typing (fancy Rofi menu): -+d - -# Window switcher menu (fancy Rofi menu): -+t - -# fancy exit-menu on bottom right: -+Shift+e - -# Lock the system -# lock with a picture or blurring the screen (options in config) -+l - -# reload the configuration file -+Shift+c - -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -+Shift+r - -# keybinding in fancy rofi (automated) -F1 - -# full keybinding list in editor: -+F1 - -# change window focus -+j focus left -+k focus down -+b focus up -+o focus right - -# alternatively, you can use the cursor keys: -+Left focus left -+Down focus down -+Up focus up -+Right focus right - -# move a focused window -+Shift+j move left -+Shift+k move down -+Shift+b move up -+Shift+o move right - -# alternatively, you can use the cursor keys: -+Shift+Left move left -+Shift+Down move down -+Shift+Up move up -+Shift+Right move right - -# split in horizontal orientation -+h split h - -# split in vertical orientation -+v split v - -# enter fullscreen mode for the focused container -+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -+s layout stacking -+g layout tabbed -+e layout toggle split - -# toggle tiling / floating -+Shift+space floating toggle - -# change focus between tiling / floating windows -+space focus mode_toggle - -# focus the parent container -+a focus parent - -# focus the child container -#+d focus child - -# resize floating window -+right mouse button - -## Multimedia Keys - -# Redirect sound to headphones -+p - -## App shortcuts -+w starts Firefox -+n starts Thunar - Button screenshot diff --git a/endeavoursOS/i3/scripts/bandwidth2 b/endeavoursOS/i3/scripts/bandwidth2 deleted file mode 100755 index b03250e..0000000 --- a/endeavoursOS/i3/scripts/bandwidth2 +++ /dev/null @@ -1,104 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (C) 2015 James Murphy -# Licensed under the terms of the GNU GPL v2 only. -# -# i3blocks blocklet script to monitor bandwidth usage - -iface="${BLOCK_INSTANCE}" -iface="${IFACE:-$iface}" -dt="${DT:-3}" -unit="${UNIT:-MB}" -LABEL="${LABEL:-}" # down arrow up arrow -printf_command="${PRINTF_COMMAND:-"printf \"${LABEL}%1.0f/%1.0f %s/s\\n\", rx, wx, unit;"}" - -function default_interface { - ip route | awk '/^default via/ {print $5; exit}' -} - -function check_proc_net_dev { - if [ ! -f "/proc/net/dev" ]; then - echo "/proc/net/dev not found" - exit 1 - fi -} - -function list_interfaces { - check_proc_net_dev - echo "Interfaces in /proc/net/dev:" - grep -o "^[^:]\\+:" /proc/net/dev | tr -d " :" -} - -while getopts i:t:u:p:lh opt; do - case "$opt" in - i) iface="$OPTARG" ;; - t) dt="$OPTARG" ;; - u) unit="$OPTARG" ;; - p) printf_command="$OPTARG" ;; - l) list_interfaces && exit 0 ;; - h) printf \ -"Usage: bandwidth3 [-i interface] [-t time] [-u unit] [-p printf_command] [-l] [-h] -Options: --i\tNetwork interface to measure. Default determined using \`ip route\`. --t\tTime interval in seconds between measurements. Default: 3 --u\tUnits to measure bytes in. Default: Mb -\tAllowed units: Kb, KB, Mb, MB, Gb, GB, Tb, TB -\tUnits may have optional it/its/yte/ytes on the end, e.g. Mbits, KByte --p\tAwk command to be called after a measurement is made. -\tDefault: printf \"%%-5.1f/%%5.1f %%s/s\\\\n\", rx, wx, unit; -\tExposed variables: rx, wx, tx, unit, iface --l\tList available interfaces in /proc/net/dev --h\tShow this help text -" && exit 0;; - esac -done - -check_proc_net_dev - -iface="${iface:-$(default_interface)}" -while [ -z "$iface" ]; do - echo No default interface - sleep "$dt" - iface=$(default_interface) -done - -case "$unit" in - Kb|Kbit|Kbits) bytes_per_unit=$((1024 / 8));; - KB|KByte|KBytes) bytes_per_unit=$((1024));; - Mb|Mbit|Mbits) bytes_per_unit=$((1024 * 1024 / 8));; - MB|MByte|MBytes) bytes_per_unit=$((1024 * 1024));; - Gb|Gbit|Gbits) bytes_per_unit=$((1024 * 1024 * 1024 / 8));; - GB|GByte|GBytes) bytes_per_unit=$((1024 * 1024 * 1024));; - Tb|Tbit|Tbits) bytes_per_unit=$((1024 * 1024 * 1024 * 1024 / 8));; - TB|TByte|TBytes) bytes_per_unit=$((1024 * 1024 * 1024 * 1024));; - *) echo Bad unit "$unit" && exit 1;; -esac - -scalar=$((bytes_per_unit * dt)) -init_line=$(cat /proc/net/dev | grep "^[ ]*$iface:") -if [ -z "$init_line" ]; then - echo Interface not found in /proc/net/dev: "$iface" - exit 1 -fi - -init_received=$(awk '{print $2}' <<< $init_line) -init_sent=$(awk '{print $10}' <<< $init_line) - -(while true; do cat /proc/net/dev; sleep "$dt"; done) |\ - stdbuf -oL grep "^[ ]*$iface:" |\ - awk -v scalar="$scalar" -v unit="$unit" -v iface="$iface" ' -BEGIN{old_received='"$init_received"';old_sent='"$init_sent"'} -{ - received=$2 - sent=$10 - rx=(received-old_received)/scalar; - wx=(sent-old_sent)/scalar; - tx=rx+wr; - old_received=received; - old_sent=sent; - if(rx >= 0 && wx >= 0){ - '"$printf_command"'; - fflush(stdout); - } -} -' diff --git a/endeavoursOS/i3/scripts/battery-pinebook-pro b/endeavoursOS/i3/scripts/battery-pinebook-pro deleted file mode 100755 index fd97370..0000000 --- a/endeavoursOS/i3/scripts/battery-pinebook-pro +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -#simple Shellscript for i3blocks on Pinebook pro -#05012020 geri123@gmx.net Gerhard S. -#battery-symbols: on Manjaro you need the awesome-terminal-fonts package installed! -PERCENT=$(cat /sys/class/power_supply/cw2015-battery/capacity) -STATUS=$(cat /sys/class/power_supply/cw2015-battery/status) -case $(( - $PERCENT >= 0 && $PERCENT <= 20 ? 1 : - $PERCENT > 20 && $PERCENT <= 40 ? 2 : - $PERCENT > 40 && $PERCENT <= 60 ? 3 : - $PERCENT > 60 && $PERCENT <= 80 ? 4 : 5)) in -# - (1) echo $STATUS:"" :$PERCENT%;; - (2) echo $STATUS:"" :$PERCENT%;; - (3) echo $STATUS:"" :$PERCENT%;; - (4) echo $STATUS:"" :$PERCENT%;; - (5) echo $STATUS:"" :$PERCENT%;; -esac diff --git a/endeavoursOS/i3/scripts/battery1 b/endeavoursOS/i3/scripts/battery1 deleted file mode 100755 index 3b9d5a7..0000000 --- a/endeavoursOS/i3/scripts/battery1 +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/perl -# -# Copyright 2014 Pierre Mavro -# Copyright 2014 Vivien Didelot -# -# Licensed under the terms of the GNU GPL v3, or any later version. -# -# This script is meant to use with i3blocks. It parses the output of the "acpi" -# command (often provided by a package of the same name) to read the status of -# the battery, and eventually its remaining time (to full charge or discharge). -# -# The color will gradually change for a percentage below 85%, and the urgency -# (exit code 33) is set if there is less that 5% remaining. - -# Edited by Andreas Lindlbauer - -use strict; -use warnings; -use utf8; - -# otherwise we get in console "Wide character in print at" -binmode(STDOUT, ':utf8'); - -# my $acpi; -my $upower; -my $percent; -my $bat_state; -my $status; -my $ac_adapt; -my $full_text; -my $short_text; -my $label = '😅'; -my $bat_number = $ENV{BLOCK_INSTANCE} || 0; - -open (UPOWER, "upower -i /org/freedesktop/UPower/devices/battery_BAT$bat_number | grep 'percentage' |") or die; -$upower = ; -close(UPOWER); - -# fail on unexpected output -if ($upower !~ /: (\d+)%/) { - die "$upower\n"; -} - -$percent = $1; -$full_text = "$percent%"; - -open (BAT_STATE, "upower -i /org/freedesktop/UPower/devices/battery_BAT$bat_number | grep 'state' |") or die; -$bat_state = ; -close(BAT_STATE); - -if ($bat_state !~ /: (\w+)/) { - die "$bat_state\n"; -} -$status = $1; - -if ($status eq 'discharging') { - $full_text .= ' '; -} elsif ($status eq 'charging') { - $full_text .= ' '; -} elsif ($status eq 'Unknown') { - open (AC_ADAPTER, "acpi -a |") or die; - $ac_adapt = ; - close(AC_ADAPTER); - - if ($ac_adapt =~ /: ([\w-]+)/) { - $ac_adapt = $1; - - if ($ac_adapt eq 'on-line') { - $full_text .= ' CHR'; - } elsif ($ac_adapt eq 'off-line') { - $full_text .= ' DIS'; - } - } -} - -$short_text = $full_text; - -if ($percent < 20) { - $label = ''; -} elsif ($percent < 45) { - $label = ''; -} elsif ($percent < 70) { - $label = ''; -} elsif ($percent < 95) { - $label = ''; -} else { - $label = ''; -} - -# print text -print " ${label}"; -print " $full_text\n"; -print " ${label}"; -print " $short_text\n"; - -# consider color and urgent flag only on discharge -if ($status eq 'discharging') { - - if ($percent < 20) { - print "#FF0000\n"; - } elsif ($percent < 40) { - print "#FFAE00\n"; - } elsif ($percent < 60) { - print "#FFF600\n"; - } elsif ($percent < 85) { - print "#A8FF00\n"; - } - - if ($percent < 5) { - exit(33); - } -} - -exit(0); diff --git a/endeavoursOS/i3/scripts/battery2 b/endeavoursOS/i3/scripts/battery2 deleted file mode 100755 index 2d55dab..0000000 --- a/endeavoursOS/i3/scripts/battery2 +++ /dev/null @@ -1,106 +0,0 @@ -#!/usr/bin/env python3 -# -# Copyright (C) 2016 James Murphy -# Licensed under the GPL version 2 only -# -# A battery indicator blocklet script for i3blocks - -from subprocess import check_output -import os -import re - -config = dict(os.environ) -status = check_output(['acpi'], universal_newlines=True) - -if not status: - # stands for no battery found - color = config.get("color_10", "red") - fulltext = "\uf00d \uf240".format(color) - percentleft = 100 -else: - # if there is more than one battery in one laptop, the percentage left is - # available for each battery separately, although state and remaining - # time for overall block is shown in the status of the first battery - batteries = status.split("\n") - state_batteries=[] - commasplitstatus_batteries=[] - percentleft_batteries=[] - time = "" - for battery in batteries: - if battery!='': - state_batteries.append(battery.split(": ")[1].split(", ")[0]) - commasplitstatus = battery.split(", ") - if not time: - time = commasplitstatus[-1].strip() - # check if it matches a time - time = re.match(r"(\d+):(\d+)", time) - if time: - time = ":".join(time.groups()) - timeleft = " ({})".format(time) - else: - timeleft = "" - - p = int(commasplitstatus[1].rstrip("%\n")) - if p>0: - percentleft_batteries.append(p) - commasplitstatus_batteries.append(commasplitstatus) - state = state_batteries[0] - commasplitstatus = commasplitstatus_batteries[0] - if percentleft_batteries: - percentleft = int(sum(percentleft_batteries)/len(percentleft_batteries)) - else: - percentleft = 0 - - # stands for charging - color = config.get("color_charging", "yellow") - FA_LIGHTNING = "\uf0e7".format(color) - - # stands for plugged in - FA_PLUG = "\uf1e6" - - # stands for using battery - FA_BATTERY = "\uf240" - - # stands for unknown status of battery - FA_QUESTION = "\uf128" - - - if state == "Discharging": - fulltext = FA_BATTERY + " " - elif state == "Full": - fulltext = FA_PLUG + " " - timeleft = "" - elif state == "Unknown": - fulltext = FA_QUESTION + " " + FA_BATTERY + " " - timeleft = "" - else: - fulltext = FA_LIGHTNING + " " + FA_PLUG + " " - - def color(percent): - if percent < 10: - # exit code 33 will turn background red - return config.get("color_10", "#FFFFFF") - if percent < 20: - return config.get("color_20", "#FF3300") - if percent < 30: - return config.get("color_30", "#FF6600") - if percent < 40: - return config.get("color_40", "#FF9900") - if percent < 50: - return config.get("color_50", "#FFCC00") - if percent < 60: - return config.get("color_60", "#FFFF00") - if percent < 70: - return config.get("color_70", "#FFFF33") - if percent < 80: - return config.get("color_80", "#FFFF66") - return config.get("color_full", "#FFFFFF") - - form = '{}%' - fulltext += form.format(color(percentleft), percentleft) - #fulltext += timeleft - -print(fulltext) -print(fulltext) -if percentleft < 10: - exit(33) diff --git a/endeavoursOS/i3/scripts/blur-lock b/endeavoursOS/i3/scripts/blur-lock deleted file mode 100755 index 4ff7ed6..0000000 --- a/endeavoursOS/i3/scripts/blur-lock +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -PICTURE=/tmp/i3lock.png -SCREENSHOT="scrot -z $PICTURE" - -BLUR="5x4" - -$SCREENSHOT -convert $PICTURE -blur $BLUR $PICTURE -i3lock -i $PICTURE -rm $PICTURE diff --git a/endeavoursOS/i3/scripts/cpu_usage b/endeavoursOS/i3/scripts/cpu_usage deleted file mode 100755 index 8d8a267..0000000 --- a/endeavoursOS/i3/scripts/cpu_usage +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/perl -# -# Copyright 2014 Pierre Mavro -# Copyright 2014 Vivien Didelot -# Copyright 2014 Andreas Guldstrand -# -# Licensed under the terms of the GNU GPL v3, or any later version. - -use strict; -use warnings; -use utf8; -use Getopt::Long; - -# default values -my $t_warn = $ENV{T_WARN} // 50; -my $t_crit = $ENV{T_CRIT} // 80; -my $cpu_usage = -1; -my $decimals = $ENV{DECIMALS} // 0; -my $label = $ENV{LABEL} // ""; - -sub help { - print "Usage: cpu_usage [-w ] [-c ] [-d ]\n"; - print "-w : warning threshold to become yellow\n"; - print "-c : critical threshold to become red\n"; - print "-d : Use decimals for percentage (default is $decimals) \n"; - exit 0; -} - -GetOptions("help|h" => \&help, - "w=i" => \$t_warn, - "c=i" => \$t_crit, - "d=i" => \$decimals, -); - -# Get CPU usage -$ENV{LC_ALL}="en_US"; # if mpstat is not run under en_US locale, things may break, so make sure it is -open (MPSTAT, 'mpstat 1 1 |') or die; -while () { - if (/^.*\s+(\d+\.\d+)[\s\x00]?$/) { - $cpu_usage = 100 - $1; # 100% - %idle - last; - } -} -close(MPSTAT); - -$cpu_usage eq -1 and die 'Can\'t find CPU information'; - -# Print short_text, full_text -print "${label}"; -printf "%02.${decimals}f%%\n", $cpu_usage; -print "${label}"; -printf "%02.${decimals}f%%\n", $cpu_usage; - -# Print color, if needed -if ($cpu_usage >= $t_crit) { - print "#FF0000\n"; - exit 33; -} elsif ($cpu_usage >= $t_warn) { - print "#FFFC00\n"; -} - -exit 0; diff --git a/endeavoursOS/i3/scripts/disk b/endeavoursOS/i3/scripts/disk deleted file mode 100755 index e18c7aa..0000000 --- a/endeavoursOS/i3/scripts/disk +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env bash -# Copyright (C) 2014 Julien Bonjean - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -DIR="${DIR:-$BLOCK_INSTANCE}" -DIR="${DIR:-$HOME}" -ALERT_LOW="${ALERT_LOW:-$1}" -ALERT_LOW="${ALERT_LOW:-10}" # color will turn red under this value (default: 10%) - -LOCAL_FLAG="-l" -if [ "$1" = "-n" ] || [ "$2" = "-n" ]; then - LOCAL_FLAG="" -fi - -df -h -P $LOCAL_FLAG "$DIR" | awk -v label="$LABEL" -v alert_low=$ALERT_LOW ' -/\/.*/ { - # full text - print label $4 - - # short text - print label $4 - - use=$5 - - # no need to continue parsing - exit 0 -} - -END { - gsub(/%$/,"",use) - if (100 - use < alert_low) { - # color - print "#FF0000" - } -} -' diff --git a/endeavoursOS/i3/scripts/empty_workspace b/endeavoursOS/i3/scripts/empty_workspace deleted file mode 100755 index b962cde..0000000 --- a/endeavoursOS/i3/scripts/empty_workspace +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -MAX_DESKTOPS=20 - -WORKSPACES=$(seq -s '\n' 1 1 ${MAX_DESKTOPS}) - -EMPTY_WORKSPACE=$( (i3-msg -t get_workspaces | tr ',' '\n' | grep num | awk -F: '{print int($2)}' ; \ - echo -e ${WORKSPACES} ) | sort -n | uniq -u | head -n 1) - -i3-msg workspace ${EMPTY_WORKSPACE} diff --git a/endeavoursOS/i3/scripts/keyboard-layout b/endeavoursOS/i3/scripts/keyboard-layout deleted file mode 100755 index 9a3e314..0000000 --- a/endeavoursOS/i3/scripts/keyboard-layout +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -KBD=$(/usr/bin/xkblayout-state print '%s') -echo $KBD - diff --git a/endeavoursOS/i3/scripts/keyhint b/endeavoursOS/i3/scripts/keyhint deleted file mode 100755 index 8b8c3e3..0000000 --- a/endeavoursOS/i3/scripts/keyhint +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -Main() { - source /usr/share/endeavouros/scripts/eos-script-lib-yad || return 1 - - local command=( - eos_yad --title="EndeavourOS i3-wm keybindings:" --no-buttons --geometry=400x345-15-400 --list - --column=key: --column=description: --column=command: - "ESC" "close this app" "" - "=" "modkey" "(set mod Mod4)" - "+enter" "open a terminal" "" - "+Shift+n" "new empty workspace" "" - "+w" "open Browser" "" - "+n" "open Filebrowser" "" - "+d" "app menu" "" - "+q" "close focused app" "" - "Print-key" "screenshot" "" - "+Shift+e" "logout menu" "" - "F1" "open keybinding helper" "" - ) - - "${command[@]}" -} - -Main "$@" diff --git a/endeavoursOS/i3/scripts/keyhint-2 b/endeavoursOS/i3/scripts/keyhint-2 deleted file mode 100755 index 2e86d12..0000000 --- a/endeavoursOS/i3/scripts/keyhint-2 +++ /dev/null @@ -1,6 +0,0 @@ -I3_CONFIG=$HOME/.config/i3/config -mod_key=$(sed -nre 's/^set \$mod (.*)/\1/p' ${I3_CONFIG}) -grep "^bindsym" ${I3_CONFIG} \ - | sed "s/-\(-\w\+\)\+//g;s/\$mod/${mod_key}/g;s/Mod1/Alt/g;s/exec //;s/bindsym //;s/^\s\+//;s/^\([^ ]\+\) \(.\+\)$/\2: \1/;s/^\s\+//" \ - | tr -s ' ' \ - | rofi -dmenu -theme ~/.config/rofi/rofikeyhint.rasi diff --git a/endeavoursOS/i3/scripts/memory b/endeavoursOS/i3/scripts/memory deleted file mode 100755 index 6a69a6f..0000000 --- a/endeavoursOS/i3/scripts/memory +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/env bash -# Copyright (C) 2014 Julien Bonjean - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -TYPE="${BLOCK_INSTANCE:-mem}" - -awk -v type=$TYPE ' -/^MemTotal:/ { - mem_total=$2 -} -/^MemFree:/ { - mem_free=$2 -} -/^Buffers:/ { - mem_free+=$2 -} -/^Cached:/ { - mem_free+=$2 -} -/^SwapTotal:/ { - swap_total=$2 -} -/^SwapFree:/ { - swap_free=$2 -} -END { - if (type == "swap") { - free=swap_free/1024/1024 - used=(swap_total-swap_free)/1024/1024 - total=swap_total/1024/1024 - } else { - free=mem_free/1024/1024 - used=(mem_total-mem_free)/1024/1024 - total=mem_total/1024/1024 - } - - pct=0 - if (total > 0) { - pct=used/total*100 - } - - # full text - # printf("%.1fG/%.1fG (%.f%%)\n", used, total, pct) - - # short text - printf("%.f%%\n", pct) - - # color - if (pct > 90) { - print("#FF0000") - } else if (pct > 80) { - print("#FFAE00") - } else if (pct > 70) { - print("#FFF600") - } -} -' /proc/meminfo diff --git a/endeavoursOS/i3/scripts/openweather b/endeavoursOS/i3/scripts/openweather deleted file mode 100755 index c51f9d3..0000000 --- a/endeavoursOS/i3/scripts/openweather +++ /dev/null @@ -1,93 +0,0 @@ -#!/usr/bin/env bash -# Edited by Andreas Lindlbauer - -temps=("#0600FF" "#0500FF" "#0400FF" "#0300FF" "#0200FF" "#0100FF" "#0000FF" "#0002FF" "#0012FF" "#0022FF" "#0032FF" "#0044FF" "#0054FF" "#0064FF" "#0074FF" "#0084FF" "#0094FF" "#00A4FF" "#00B4FF" "#00C4FF" "#00D4FF" "#00E4FF" "#00FFF4" "#00FFD0" "#00FFA8" "#00FF83" "#00FF5C" "#00FF36" "#00FF10" "#17FF00" "#3EFF00" "#65FF00" "#B0FF00" "#FDFF00" "#FFF000" "#FFDC00" "#FFC800" "#FFB400" "#FFA000" "#FF8C00" "#FF7800" "#FF6400" "#FF5000" "#FF3C00" "#FF2800" "#FF1400" "#FF0000") - -command -v jq >/dev/null 2>&1 || { echo >&2 "Program 'jq' required but it is not installed. -Aborting."; exit 1; } -command -v wget >/dev/null 2>&1 || { echo >&2 "Program 'wget' required but is not installed. -Aborting."; exit 1; } - -# To use this script you need to create an API key here https://home.openweathermap.org -# You need to put your Open Weather APIKEY here: -APIKEY="keykeykey" -# And get your Latitute and Longitudes to put in here: -LAT="XX.XXXX" -LON="XX.XXXX" -URL="http://api.openweathermap.org/data/2.5/onecall?lat=${LAT}&lon=${LON}&units=metric&exclude=minutely,hourly,daily&APPID=${APIKEY}" -WEATHER_RESPONSE=$(wget -qO- "${URL}") - -WEATHER_CONDITION=$(echo "$WEATHER_RESPONSE" | jq '.current.weather[0].main' | sed 's/"//g') -WEATHER_TEMP=$(echo "$WEATHER_RESPONSE" | jq '.current.feels_like') -WEATHER_INT=${WEATHER_TEMP%.*} - -TIME_NOW=$( echo "$WEATHER_RESPONSE" | jq '.current.dt') -SUNRISE=$( echo "$WEATHER_RESPONSE" | jq '.current.sunrise') -SUNSET=$( echo "$WEATHER_RESPONSE" | jq '.current.sunset') -DESCRIPTION=$( echo "$WEATHER_RESPONSE" | jq '.current.weather[0].description' | sed 's/"//g') -WEATHER_ALERT=$( echo "$WEATHER_RESPONSE" | jq '.alerts[0].event' | sed 's/"//g') -DAYTIME="n" - -if [[ "$TIME_NOW" > "$SUNRISE" ]] && [[ "$TIME_NOW" < "$SUNSET" ]]; then - DAYTIME="d" -fi - -case $WEATHER_CONDITION in - 'Clouds') - if [ "$DAYTIME" == "d" ]; then - WEATHER_ICON="" - else - WEATHER_ICON="" - fi - ;; - 'Rain') - WEATHER_ICON="" - ;; - 'Drizzle') - if [ "$DAYTIME" == "d" ]; then - WEATHER_ICON="" - else - WEATHER_ICON="" - fi - ;; - 'Thunderstorm') - WEATHER_ICON="" - ;; - 'Snow') - WEATHER_ICON="" - ;; - 'Clear') - if [ "$DAYTIME" == "d" ]; then - WEATHER_ICON="" - else - WEATHER_ICON="" - fi - ;; - *) - WEATHER_ICON="🌫" - ;; -esac - -WEATHER_COLOR="#FFFFFF" -if [ "$WEATHER_INT" -lt "-11" ]; then - WEATHER_COLOR="#0000FF" -elif [ "$WEATHER_INT" -gt 35 ]; then - WEATHER_COLOR="#FF0000" -else - WEATHER_INT=$(( WEATHER_INT + 11 )) - WEATHER_COLOR="${temps[$WEATHER_INT]}" -fi - -full_text="${WEATHER_ICON} ${WEATHER_TEMP}°C: ${DESCRIPTION} " -if [ "$WEATHER_ALERT" != "null" ]; then - WARN_START=$(echo "$WEATHER_RESPONSE" | jq '.alerts[0].start') - WARN_END=$(echo "$WEATHER_RESPONSE" | jq '.alerts[0].end') - WARN_START=$(date -d @"$WARN_START" +%a_%k:%M) - WARN_END=$(date -d @"$WARN_END" +%a_%k:%M) - full_text="${WEATHER_ICON} ${WEATHER_TEMP}°C: ${DESCRIPTION}  ${WEATHER_ALERT} from ${WARN_START} to ${WARN_END}  " -fi - - -echo "${full_text}" -echo "${WEATHER_TEMP}°C " -echo "${WEATHER_COLOR}" diff --git a/endeavoursOS/i3/scripts/openweather-city b/endeavoursOS/i3/scripts/openweather-city deleted file mode 100755 index 6ea051c..0000000 --- a/endeavoursOS/i3/scripts/openweather-city +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bash - -command -v jq >/dev/null 2>&1 || { echo >&2 "Program 'jq' required but it is not installed. -Aborting."; exit 1; } -command -v wget >/dev/null 2>&1 || { echo >&2 "Program 'wget' required but is not installed. -Aborting."; exit 1; } - -# To use this script you need to create an API key here https://home.openweathermap.org -# You need to put your Open Weather APIKEY here: -APIKEY="keykey" -# find your City ID here: https://openweathermap.org/ -# search for your city and copy the ID from the URL inside the browser. -CITY_ID="idid" -URL="http://api.openweathermap.org/data/2.5/weather?id=${CITY_ID}&units=metric&APPID=${APIKEY}" - -WEATHER_RESPONSE=$(wget -qO- "${URL}") - -WEATHER_CONDITION=$(echo $WEATHER_RESPONSE | jq '.weather[0].main' | sed 's/"//g') -WEATHER_TEMP=$(echo $WEATHER_RESPONSE | jq '.main.temp') -WIND_DIR=$( echo "$WEATHER_RESPONSE" | jq '.wind.deg') -WIND_SPEED=$( echo "$WEATHER_RESPONSE" | jq '.wind.speed') - -WIND_SPEED=$(awk "BEGIN {print 60*60*$WIND_SPEED/1000}") -WIND_DIR=$(awk "BEGIN {print int(($WIND_DIR % 360)/22.5)}") -DIR_ARRAY=( N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW N ) -WIND_DIR=${DIR_ARRAY[WIND_DIR]} - -case $WEATHER_CONDITION in - 'Clouds') - WEATHER_ICON="" - ;; - 'Rain') - WEATHER_ICON="" - ;; - 'Snow') - WEATHER_ICON="" - ;; - *) - WEATHER_ICON="" - ;; -esac - -echo "${WEATHER_ICON} ${WEATHER_TEMP}°C: ${WIND_SPEED} km/h ${WIND_DIR}" diff --git a/endeavoursOS/i3/scripts/openweather.conf b/endeavoursOS/i3/scripts/openweather.conf deleted file mode 100755 index f11aa86..0000000 --- a/endeavoursOS/i3/scripts/openweather.conf +++ /dev/null @@ -1,5 +0,0 @@ -# Weather -[Weather] -command=~/.config/i3/scripts/openweather -interval=1800 -color=#7275b3 diff --git a/endeavoursOS/i3/scripts/power-profiles b/endeavoursOS/i3/scripts/power-profiles deleted file mode 100755 index feb63dc..0000000 --- a/endeavoursOS/i3/scripts/power-profiles +++ /dev/null @@ -1,190 +0,0 @@ -#!/usr/bin/env bash -# -# Use rofi/zenity to change system runstate thanks to systemd. -# -# Note: this currently relies on associative array support in the shell. -# -# Inspired from i3pystatus wiki: -# https://github.com/enkore/i3pystatus/wiki/Shutdown-Menu -# -# Copyright 2015 Benjamin Chrétien -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# power-profiles-daemon implementation: -# needs package power-profiles-daemon installed and the service running see here: -# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon -# used in i3-blocks: ~/.config/i3/i3blocks.conf together with: ~/.config/i3/scripts/ppd-status - - -####################################################################### -# BEGIN CONFIG # -####################################################################### - -# Use a custom lock script -#LOCKSCRIPT="i3lock-extra -m pixelize" - -# Colors: FG (foreground), BG (background), HL (highlighted) -FG_COLOR="#bbbbbb" -BG_COLOR="#111111" -HLFG_COLOR="#111111" -HLBG_COLOR="#bbbbbb" -BORDER_COLOR="#222222" - -# Options not related to colors -#ROFI_TEXT=":" -#ROFI_OPTIONS=(-width -11 -location 0 -hide-scrollbar -bw 30 -color-window "#dd310027,#dd0310027,#dd310027" -padding 5) -#ROFI_OPTIONS=(-width -18 -location 4 -hide-scrollbar -color-window "#cc310027,#00a0009a,#cc310027" -padding 5 -font "Sourcecode Pro Regular 10, FontAwesome 9") -ROFI_OPTIONS=(-theme ~/.config/rofi/power-profiles.rasi) -# Zenity options -ZENITY_TITLE="Power Profiles" -ZENITY_TEXT="Set Profiles:" -ZENITY_OPTIONS=(--column= --hide-header) - -####################################################################### -# END CONFIG # -####################################################################### - -# Whether to ask for user's confirmation -enable_confirmation=false - -# Preferred launcher if both are available -preferred_launcher="rofi" - -usage="$(basename "$0") [-h] [-c] [-p name] -- display a menu for shutdown, reboot, lock etc. - -where: - -h show this help text - -c ask for user confirmation - -p preferred launcher (rofi or zenity) - -This script depends on: - - systemd, - - i3, - - rofi or zenity." - -# Check whether the user-defined launcher is valid -launcher_list=(rofi zenity) -function check_launcher() { - if [[ ! "${launcher_list[@]}" =~ (^|[[:space:]])"$1"($|[[:space:]]) ]]; then - echo "Supported launchers: ${launcher_list[*]}" - exit 1 - else - # Get array with unique elements and preferred launcher first - # Note: uniq expects a sorted list, so we cannot use it - i=1 - launcher_list=($(for l in "$1" "${launcher_list[@]}"; do printf "%i %s\n" "$i" "$l"; let i+=1; done \ - | sort -uk2 | sort -nk1 | cut -d' ' -f2- | tr '\n' ' ')) - fi -} - -# Parse CLI arguments -while getopts "hcp:" option; do - case "${option}" in - h) echo "${usage}" - exit 0 - ;; - c) enable_confirmation=true - ;; - p) preferred_launcher="${OPTARG}" - check_launcher "${preferred_launcher}" - ;; - *) exit 1 - ;; - esac -done - -# Check whether a command exists -function command_exists() { - command -v "$1" &> /dev/null 2>&1 -} - -# systemctl required -if ! command_exists systemctl ; then - exit 1 -fi - -# menu defined as an associative array -typeset -A menu - -# Menu with keys/commands - -menu=( - [ Performance]="powerprofilesctl set performance" - [ Balanced]="powerprofilesctl set balanced" - [ Power Saver]="powerprofilesctl set power-saver" - [ Cancel]="" -) - -menu_nrows=${#menu[@]} - -# Menu entries that may trigger a confirmation message -menu_confirm="Shutdown Reboot Hibernate Suspend Halt Logout" - -launcher_exe="" -launcher_options="" -rofi_colors="" - -function prepare_launcher() { - if [[ "$1" == "rofi" ]]; then - rofi_colors=(-bc "${BORDER_COLOR}" -bg "${BG_COLOR}" -fg "${FG_COLOR}" \ - -hlfg "${HLFG_COLOR}" -hlbg "${HLBG_COLOR}") - launcher_exe="rofi" - launcher_options=(-dmenu -i -lines "${menu_nrows}" -p "${ROFI_TEXT}" \ - "${rofi_colors}" "${ROFI_OPTIONS[@]}") - elif [[ "$1" == "zenity" ]]; then - launcher_exe="zenity" - launcher_options=(--list --title="${ZENITY_TITLE}" --text="${ZENITY_TEXT}" \ - "${ZENITY_OPTIONS[@]}") - fi -} - -for l in "${launcher_list[@]}"; do - if command_exists "${l}" ; then - prepare_launcher "${l}" - break - fi -done - -# No launcher available -if [[ -z "${launcher_exe}" ]]; then - exit 1 -fi - -launcher=(${launcher_exe} "${launcher_options[@]}") -selection="$(printf '%s\n' "${!menu[@]}" | sort | "${launcher[@]}")" - -function ask_confirmation() { - if [ "${launcher_exe}" == "rofi" ]; then - confirmed=$(echo -e "Yes\nNo" | rofi -dmenu -i -lines 2 -p "${selection}?" \ - "${rofi_colors}" "${ROFI_OPTIONS[@]}") - [ "${confirmed}" == "Yes" ] && confirmed=0 - elif [ "${launcher_exe}" == "zenity" ]; then - zenity --question --text "Are you sure you want to ${selection,,}?" - confirmed=$? - fi - - if [ "${confirmed}" == 0 ]; then - i3-msg -q "exec --no-startup-id ${menu[${selection}]}" - fi -} - -if [[ $? -eq 0 && ! -z ${selection} ]]; then - if [[ "${enable_confirmation}" = true && \ - ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then - ask_confirmation - else - i3-msg -q "exec --no-startup-id ${menu[${selection}]}" - fi -fi diff --git a/endeavoursOS/i3/scripts/powermenu b/endeavoursOS/i3/scripts/powermenu deleted file mode 100755 index 791a9e4..0000000 --- a/endeavoursOS/i3/scripts/powermenu +++ /dev/null @@ -1,186 +0,0 @@ -#!/usr/bin/env bash -# -# Use rofi/zenity to change system runstate thanks to systemd. -# -# Note: this currently relies on associative array support in the shell. -# -# Inspired from i3pystatus wiki: -# https://github.com/enkore/i3pystatus/wiki/Shutdown-Menu -# -# Copyright 2015 Benjamin Chrétien -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# modified to work with latest rofi update by joekamprad - -####################################################################### -# BEGIN CONFIG # -####################################################################### - -# Use a custom lock script -#LOCKSCRIPT="i3lock-extra -m pixelize" - -# Colors: FG (foreground), BG (background), HL (highlighted) -FG_COLOR="#bbbbbb" -BG_COLOR="#111111" -HLFG_COLOR="#111111" -HLBG_COLOR="#bbbbbb" -BORDER_COLOR="#222222" - -# Options not related to colors (most rofi options do not work anymore) -ROFI_OPTIONS=(-theme ~/.config/rofi/powermenu.rasi) -# Zenity options -ZENITY_TITLE="Power Menu" -ZENITY_TEXT="Action:" -ZENITY_OPTIONS=(--column= --hide-header) - -####################################################################### -# END CONFIG # -####################################################################### - -# Whether to ask for user's confirmation -enable_confirmation=false - -# Preferred launcher if both are available -preferred_launcher="rofi" - -usage="$(basename "$0") [-h] [-c] [-p name] -- display a menu for shutdown, reboot, lock etc. - -where: - -h show this help text - -c ask for user confirmation - -p preferred launcher (rofi or zenity) - -This script depends on: - - systemd, - - i3, - - rofi or zenity." - -# Check whether the user-defined launcher is valid -launcher_list=(rofi zenity) -function check_launcher() { - if [[ ! "${launcher_list[@]}" =~ (^|[[:space:]])"$1"($|[[:space:]]) ]]; then - echo "Supported launchers: ${launcher_list[*]}" - exit 1 - else - # Get array with unique elements and preferred launcher first - # Note: uniq expects a sorted list, so we cannot use it - i=1 - launcher_list=($(for l in "$1" "${launcher_list[@]}"; do printf "%i %s\n" "$i" "$l"; let i+=1; done \ - | sort -uk2 | sort -nk1 | cut -d' ' -f2- | tr '\n' ' ')) - fi -} - -# Parse CLI arguments -while getopts "hcp:" option; do - case "${option}" in - h) echo "${usage}" - exit 0 - ;; - c) enable_confirmation=true - ;; - p) preferred_launcher="${OPTARG}" - check_launcher "${preferred_launcher}" - ;; - *) exit 1 - ;; - esac -done - -# Check whether a command exists -function command_exists() { - command -v "$1" &> /dev/null 2>&1 -} - -# systemctl required -if ! command_exists systemctl ; then - exit 1 -fi - -# menu defined as an associative array -typeset -A menu - -# Menu with keys/commands - -menu=( - [ Shutdown]="systemctl poweroff" - [ Reboot]="systemctl reboot" - [ Suspend]="systemctl suspend" - [ Hibernate]="systemctl hibernate" - [ Lock]="~/.config/i3/scripts/blur-lock" - [ Logout]="i3-msg exit" - [ Cancel]="" -) - -menu_nrows=${#menu[@]} - -# Menu entries that may trigger a confirmation message -menu_confirm="Shutdown Reboot Hibernate Suspend Halt Logout" - -launcher_exe="" -launcher_options="" -rofi_colors="" - -function prepare_launcher() { - if [[ "$1" == "rofi" ]]; then - rofi_colors=(-bc "${BORDER_COLOR}" -bg "${BG_COLOR}" -fg "${FG_COLOR}" \ - -hlfg "${HLFG_COLOR}" -hlbg "${HLBG_COLOR}") - launcher_exe="rofi" - launcher_options=(-dmenu -i -lines "${menu_nrows}" -p "${ROFI_TEXT}" \ - "${rofi_colors}" "${ROFI_OPTIONS[@]}") - elif [[ "$1" == "zenity" ]]; then - launcher_exe="zenity" - launcher_options=(--list --title="${ZENITY_TITLE}" --text="${ZENITY_TEXT}" \ - "${ZENITY_OPTIONS[@]}") - fi -} - -for l in "${launcher_list[@]}"; do - if command_exists "${l}" ; then - prepare_launcher "${l}" - break - fi -done - -# No launcher available -if [[ -z "${launcher_exe}" ]]; then - exit 1 -fi - -launcher=(${launcher_exe} "${launcher_options[@]}") -selection="$(printf '%s\n' "${!menu[@]}" | sort | "${launcher[@]}")" - -function ask_confirmation() { - if [ "${launcher_exe}" == "rofi" ]; then - confirmed=$(echo -e "Yes\nNo" | rofi -dmenu -i -lines 2 -p "${selection}?" \ - "${rofi_colors}" "${ROFI_OPTIONS[@]}") - [ "${confirmed}" == "Yes" ] && confirmed=0 - elif [ "${launcher_exe}" == "zenity" ]; then - zenity --question --text "Are you sure you want to ${selection,,}?" - confirmed=$? - fi - - if [ "${confirmed}" == 0 ]; then - i3-msg -q "exec --no-startup-id ${menu[${selection}]}" - fi -} - -if [[ $? -eq 0 && ! -z ${selection} ]]; then - if [[ "${enable_confirmation}" = true && \ - ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then - ask_confirmation - else - i3-msg -q "exec --no-startup-id ${menu[${selection}]}" - fi -fi diff --git a/endeavoursOS/i3/scripts/ppd-status b/endeavoursOS/i3/scripts/ppd-status deleted file mode 100755 index 8e6eb7b..0000000 --- a/endeavoursOS/i3/scripts/ppd-status +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# -# power-profiles-daemon implementation: -# needs package power-profiles-daemon installed and the service running see here: -# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon -# used in i3-blocks: ~/.config/i3/i3blocks.conf together with: ~/.config/i3/scripts/power-profiles - -# script to show current power profile - -current_profile=$(/usr/bin/powerprofilesctl get) -echo "$current_profile" diff --git a/endeavoursOS/i3/scripts/temperature b/endeavoursOS/i3/scripts/temperature deleted file mode 100755 index 4e31610..0000000 --- a/endeavoursOS/i3/scripts/temperature +++ /dev/null @@ -1,86 +0,0 @@ -#!/usr/bin/env perl -# Copyright 2014 Pierre Mavro -# Copyright 2014 Vivien Didelot -# Copyright 2014 Andreas Guldstrand -# Copyright 2014 Benjamin Chretien - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -# Edited by Andreas Lindlbauer - -use strict; -use warnings; -use utf8; -use Getopt::Long; - -binmode(STDOUT, ":utf8"); - -# default values -my $t_warn = $ENV{T_WARN} || 70; -my $t_crit = $ENV{T_CRIT} || 90; -my $chip = $ENV{SENSOR_CHIP} || ""; -my $temperature = -9999; -my $label = "😀 "; - -sub help { - print "Usage: temperature [-w ] [-c ] [--chip ]\n"; - print "-w : warning threshold to become yellow\n"; - print "-c : critical threshold to become red\n"; - print "--chip : sensor chip\n"; - exit 0; -} - -GetOptions("help|h" => \&help, - "w=i" => \$t_warn, - "c=i" => \$t_crit, - "chip=s" => \$chip); - -# Get chip temperature -open (SENSORS, "sensors -u $chip |") or die; -while () { - if (/^\s+temp1_input:\s+[\+]*([\-]*\d+\.\d)/) { - $temperature = $1; - last; - } -} -close(SENSORS); - -$temperature eq -9999 and die 'Cannot find temperature'; - -if ($temperature < 45) { - $label = ''; -} elsif ($temperature < 55) { - $label = ''; -} elsif ($temperature < 65) { - $label = ''; -} elsif ($temperature < 75) { - $label = ''; -} else { - $label = ''; -} -# Print short_text, full_text -print "${label}"; -print " $temperature°C\n"; -print "${label}"; -print " $temperature°C\n"; - -# Print color, if needed -if ($temperature >= $t_crit) { - print "#FF0000\n"; - exit 33; -} elsif ($temperature >= $t_warn) { - print "#FFFC00\n"; -} - -exit 0; diff --git a/endeavoursOS/i3/scripts/volume b/endeavoursOS/i3/scripts/volume deleted file mode 100755 index 39618e1..0000000 --- a/endeavoursOS/i3/scripts/volume +++ /dev/null @@ -1,93 +0,0 @@ -#!/usr/bin/env bash -# Copyright (C) 2014 Julien Bonjean -# Copyright (C) 2014 Alexander Keller - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# original source: https://github.com/vivien/i3blocks-contrib/tree/master/volume -# check the readme: https://github.com/vivien/i3blocks-contrib/blob/master/volume/README.md -#------------------------------------------------------------------------ - -# The second parameter overrides the mixer selection -# For PulseAudio users, eventually use "pulse" -# For Jack/Jack2 users, use "jackplug" -# For ALSA users, you may use "default" for your primary card -# or you may use hw:# where # is the number of the card desired -if [[ -z "$MIXER" ]] ; then - MIXER="default" - if command -v pulseaudio >/dev/null 2>&1 && pulseaudio --check ; then - # pulseaudio is running, but not all installations use "pulse" - if amixer -D pulse info >/dev/null 2>&1 ; then - MIXER="pulse" - fi - fi - [ -n "$(lsmod | grep jack)" ] && MIXER="jackplug" - MIXER="${2:-$MIXER}" -fi - -# The instance option sets the control to report and configure -# This defaults to the first control of your selected mixer -# For a list of the available, use `amixer -D $Your_Mixer scontrols` -if [[ -z "$SCONTROL" ]] ; then - SCONTROL="${BLOCK_INSTANCE:-$(amixer -D $MIXER scontrols | - sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | - head -n1 - )}" -fi - -# The first parameter sets the step to change the volume by (and units to display) -# This may be in in % or dB (eg. 5% or 3dB) -if [[ -z "$STEP" ]] ; then - STEP="${1:-5%}" -fi - -# AMIXER(1): -# "Use the mapped volume for evaluating the percentage representation like alsamixer, to be -# more natural for human ear." -NATURAL_MAPPING=${NATURAL_MAPPING:-0} -if [[ "$NATURAL_MAPPING" != "0" ]] ; then - AMIXER_PARAMS="-M" -fi - -#------------------------------------------------------------------------ - -capability() { # Return "Capture" if the device is a capture device - amixer $AMIXER_PARAMS -D $MIXER get $SCONTROL | - sed -n "s/ Capabilities:.*cvolume.*/Capture/p" -} - -volume() { - amixer $AMIXER_PARAMS -D $MIXER get $SCONTROL $(capability) -} - -format() { - - perl_filter='if (/.*\[(\d+%)\] (\[(-?\d+.\d+dB)\] )?\[(on|off)\]/)' - perl_filter+='{CORE::say $4 eq "off" ? "MUTE" : "' - # If dB was selected, print that instead - perl_filter+=$([[ $STEP = *dB ]] && echo '$3' || echo '$1') - perl_filter+='"; exit}' - output=$(perl -ne "$perl_filter") - echo "$LABEL$output" -} - -#------------------------------------------------------------------------ - -case $BLOCK_BUTTON in - 3) amixer $AMIXER_PARAMS -q -D $MIXER sset $SCONTROL $(capability) toggle ;; # right click, mute/unmute - 4) amixer $AMIXER_PARAMS -q -D $MIXER sset $SCONTROL $(capability) ${STEP}+ unmute ;; # scroll up, increase - 5) amixer $AMIXER_PARAMS -q -D $MIXER sset $SCONTROL $(capability) ${STEP}- unmute ;; # scroll down, decrease -esac - -volume | format diff --git a/endeavoursOS/i3/scripts/vpn b/endeavoursOS/i3/scripts/vpn deleted file mode 100755 index a348f96..0000000 --- a/endeavoursOS/i3/scripts/vpn +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (C) 2021 Andreas Lindlbauer -# Licensed under the terms of EUPLv1.2. -# -# i3blocks blocklet script to monitor the (nord)vpn connection - -vpnstatus="📢" -nordvpn_output=$(nordvpn status | cat -v | head -1 | sed -e 's/\^M-^M ^M//g' ) -if [ "${nordvpn_output}" = "Status: Connected" ]; then - vpnstatus="🥸" -elif [ "${nordvpn_output}" = "A new version of NordVPN is available! Please update the application." ]; then - nordvpn_output=$(nordvpn status | cat -v | head -2 | tail -1 | sed -e 's/\^M-^M ^M//g' ) - if [ "${nordvpn_output}" = "Status: Connected" ]; then - vpnstatus="🥴" - elif [ "${nordvpn_output}" = "Status: Disconnected" ]; then - vpnstatus="📢" - fi -elif [ "${nordvpn_output}" = "Status: Disconnected" ]; then - vpnstatus="📢" -elif [[ "$nordvpn_output" == *\/* ]] || [[ "$nordvpn_output" == *\\* ]]; then - vpnstatus="Something's very wrong" -fi - -echo "$vpnstatus" diff --git a/endeavoursOS/neofetch/config.conf b/endeavoursOS/neofetch/config.conf deleted file mode 100644 index 5dc5bbe..0000000 --- a/endeavoursOS/neofetch/config.conf +++ /dev/null @@ -1,861 +0,0 @@ -# See this wiki page for more info: -# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info -print_info() { - info title - info underline - - info "OS" distro - info "Host" model - info "Kernel" kernel - info "Uptime" uptime - info "Packages" packages - info "Shell" shell - info "DE" de - info "WM" wm - info "WM Theme" wm_theme - info "Terminal" term - info "Terminal Font" term_font - info "CPU" cpu - info "GPU" gpu - info "Memory" memory - - # info "GPU Driver" gpu_driver # Linux/macOS only - # info "CPU Usage" cpu_usage - # info "Disk" disk - # info "Battery" battery - # info "Font" font - # info "Song" song - # [[ "$player" ]] && prin "Music Player" "$player" - # info "Local IP" local_ip - # info "Public IP" public_ip - # info "Users" users - # info "Locale" locale # This only works on glibc systems. - - info cols -} - -# Title - - -# Hide/Show Fully qualified domain name. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --title_fqdn -title_fqdn="off" - - -# Kernel - - -# Shorten the output of the kernel function. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --kernel_shorthand -# Supports: Everything except *BSDs (except PacBSD and PC-BSD) -# -# Example: -# on: '4.8.9-1-ARCH' -# off: 'Linux 4.8.9-1-ARCH' -kernel_shorthand="on" - - -# Distro - - -# Shorten the output of the distro function -# -# Default: 'off' -# Values: 'on', 'tiny', 'off' -# Flag: --distro_shorthand -# Supports: Everything except Windows and Haiku -distro_shorthand="off" - -# Show/Hide OS Architecture. -# Show 'x86_64', 'x86' and etc in 'Distro:' output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --os_arch -# -# Example: -# on: 'Arch Linux x86_64' -# off: 'Arch Linux' -os_arch="on" - - -# Uptime - - -# Shorten the output of the uptime function -# -# Default: 'on' -# Values: 'on', 'tiny', 'off' -# Flag: --uptime_shorthand -# -# Example: -# on: '2 days, 10 hours, 3 mins' -# tiny: '2d 10h 3m' -# off: '2 days, 10 hours, 3 minutes' -uptime_shorthand="on" - - -# Memory - - -# Show memory pecentage in output. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --memory_percent -# -# Example: -# on: '1801MiB / 7881MiB (22%)' -# off: '1801MiB / 7881MiB' -memory_percent="off" - -# Change memory output unit. -# -# Default: 'mib' -# Values: 'kib', 'mib', 'gib' -# Flag: --memory_unit -# -# Example: -# kib '1020928KiB / 7117824KiB' -# mib '1042MiB / 6951MiB' -# gib: ' 0.98GiB / 6.79GiB' -memory_unit="mib" - - -# Packages - - -# Show/Hide Package Manager names. -# -# Default: 'tiny' -# Values: 'on', 'tiny' 'off' -# Flag: --package_managers -# -# Example: -# on: '998 (pacman), 8 (flatpak), 4 (snap)' -# tiny: '908 (pacman, flatpak, snap)' -# off: '908' -package_managers="on" - - -# Shell - - -# Show the path to $SHELL -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --shell_path -# -# Example: -# on: '/bin/bash' -# off: 'bash' -shell_path="off" - -# Show $SHELL version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --shell_version -# -# Example: -# on: 'bash 4.4.5' -# off: 'bash' -shell_version="on" - - -# CPU - - -# CPU speed type -# -# Default: 'bios_limit' -# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. -# Flag: --speed_type -# Supports: Linux with 'cpufreq' -# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. -speed_type="bios_limit" - -# CPU speed shorthand -# -# Default: 'off' -# Values: 'on', 'off'. -# Flag: --speed_shorthand -# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz -# -# Example: -# on: 'i7-6500U (4) @ 3.1GHz' -# off: 'i7-6500U (4) @ 3.100GHz' -speed_shorthand="off" - -# Enable/Disable CPU brand in output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_brand -# -# Example: -# on: 'Intel i7-6500U' -# off: 'i7-6500U (4)' -cpu_brand="on" - -# CPU Speed -# Hide/Show CPU speed. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_speed -# -# Example: -# on: 'Intel i7-6500U (4) @ 3.1GHz' -# off: 'Intel i7-6500U (4)' -cpu_speed="on" - -# CPU Cores -# Display CPU cores in output -# -# Default: 'logical' -# Values: 'logical', 'physical', 'off' -# Flag: --cpu_cores -# Support: 'physical' doesn't work on BSD. -# -# Example: -# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) -# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) -# off: 'Intel i7-6500U @ 3.1GHz' -cpu_cores="logical" - -# CPU Temperature -# Hide/Show CPU temperature. -# Note the temperature is added to the regular CPU function. -# -# Default: 'off' -# Values: 'C', 'F', 'off' -# Flag: --cpu_temp -# Supports: Linux, BSD -# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable -# coretemp kernel module. This only supports newer Intel processors. -# -# Example: -# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' -# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' -# off: 'Intel i7-6500U (4) @ 3.1GHz' -cpu_temp="off" - - -# GPU - - -# Enable/Disable GPU Brand -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gpu_brand -# -# Example: -# on: 'AMD HD 7950' -# off: 'HD 7950' -gpu_brand="on" - -# Which GPU to display -# -# Default: 'all' -# Values: 'all', 'dedicated', 'integrated' -# Flag: --gpu_type -# Supports: Linux -# -# Example: -# all: -# GPU1: AMD HD 7950 -# GPU2: Intel Integrated Graphics -# -# dedicated: -# GPU1: AMD HD 7950 -# -# integrated: -# GPU1: Intel Integrated Graphics -gpu_type="all" - - -# Resolution - - -# Display refresh rate next to each monitor -# Default: 'off' -# Values: 'on', 'off' -# Flag: --refresh_rate -# Supports: Doesn't work on Windows. -# -# Example: -# on: '1920x1080 @ 60Hz' -# off: '1920x1080' -refresh_rate="off" - - -# Gtk Theme / Icons / Font - - -# Shorten output of GTK Theme / Icons / Font -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --gtk_shorthand -# -# Example: -# on: 'Numix, Adwaita' -# off: 'Numix [GTK2], Adwaita [GTK3]' -gtk_shorthand="off" - - -# Enable/Disable gtk2 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk2 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Adwaita [GTK3]' -gtk2="on" - -# Enable/Disable gtk3 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk3 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Numix [GTK2]' -gtk3="on" - - -# IP Address - - -# Website to ping for the public IP -# -# Default: 'http://ident.me' -# Values: 'url' -# Flag: --ip_host -public_ip_host="http://ident.me" - -# Public IP timeout. -# -# Default: '2' -# Values: 'int' -# Flag: --ip_timeout -public_ip_timeout=2 - - -# Desktop Environment - - -# Show Desktop Environment version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --de_version -de_version="on" - - -# Disk - - -# Which disks to display. -# The values can be any /dev/sdXX, mount point or directory. -# NOTE: By default we only show the disk info for '/'. -# -# Default: '/' -# Values: '/', '/dev/sdXX', '/path/to/drive'. -# Flag: --disk_show -# -# Example: -# disk_show=('/' '/dev/sdb1'): -# 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 823G / 893G (93%)' -# -# disk_show=('/'): -# 'Disk (/): 74G / 118G (66%)' -# -disk_show=('/') - -# Disk subtitle. -# What to append to the Disk subtitle. -# -# Default: 'mount' -# Values: 'mount', 'name', 'dir', 'none' -# Flag: --disk_subtitle -# -# Example: -# name: 'Disk (/dev/sda1): 74G / 118G (66%)' -# 'Disk (/dev/sdb2): 74G / 118G (66%)' -# -# mount: 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 74G / 118G (66%)' -# -# dir: 'Disk (/): 74G / 118G (66%)' -# 'Disk (Local Disk): 74G / 118G (66%)' -# 'Disk (Videos): 74G / 118G (66%)' -# -# none: 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -disk_subtitle="mount" - -# Disk percent. -# Show/Hide disk percent. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --disk_percent -# -# Example: -# on: 'Disk (/): 74G / 118G (66%)' -# off: 'Disk (/): 74G / 118G' -disk_percent="on" - - -# Song - - -# Manually specify a music player. -# -# Default: 'auto' -# Values: 'auto', 'player-name' -# Flag: --music_player -# -# Available values for 'player-name': -# -# amarok -# audacious -# banshee -# bluemindo -# clementine -# cmus -# deadbeef -# deepin-music -# dragon -# elisa -# exaile -# gnome-music -# gmusicbrowser -# gogglesmm -# guayadeque -# io.elementary.music -# iTunes -# juk -# lollypop -# mocp -# mopidy -# mpd -# muine -# netease-cloud-music -# olivia -# playerctl -# pogo -# pragha -# qmmp -# quodlibet -# rhythmbox -# sayonara -# smplayer -# spotify -# strawberry -# tauonmb -# tomahawk -# vlc -# xmms2d -# xnoise -# yarock -music_player="auto" - -# Format to display song information. -# -# Default: '%artist% - %album% - %title%' -# Values: '%artist%', '%album%', '%title%' -# Flag: --song_format -# -# Example: -# default: 'Song: Jet - Get Born - Sgt Major' -song_format="%artist% - %album% - %title%" - -# Print the Artist, Album and Title on separate lines -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --song_shorthand -# -# Example: -# on: 'Artist: The Fratellis' -# 'Album: Costello Music' -# 'Song: Chelsea Dagger' -# -# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' -song_shorthand="off" - -# 'mpc' arguments (specify a host, password etc). -# -# Default: '' -# Example: mpc_args=(-h HOST -P PASSWORD) -mpc_args=() - - -# Text Colors - - -# Text Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --colors -# -# Each number represents a different part of the text in -# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' -# -# Example: -# colors=(distro) - Text is colored based on Distro colors. -# colors=(4 6 1 8 8 6) - Text is colored in the order above. -colors=(distro) - - -# Text Options - - -# Toggle bold text -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bold -bold="on" - -# Enable/Disable Underline -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --underline -underline_enabled="on" - -# Underline character -# -# Default: '-' -# Values: 'string' -# Flag: --underline_char -underline_char="-" - - -# Info Separator -# Replace the default separator with the specified string. -# -# Default: ':' -# Flag: --separator -# -# Example: -# separator="->": 'Shell-> bash' -# separator=" =": 'WM = dwm' -separator=":" - - -# Color Blocks - - -# Color block range -# The range of colors to print. -# -# Default: '0', '15' -# Values: 'num' -# Flag: --block_range -# -# Example: -# -# Display colors 0-7 in the blocks. (8 colors) -# neofetch --block_range 0 7 -# -# Display colors 0-15 in the blocks. (16 colors) -# neofetch --block_range 0 15 -block_range=(0 15) - -# Toggle color blocks -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --color_blocks -color_blocks="on" - -# Color block width in spaces -# -# Default: '3' -# Values: 'num' -# Flag: --block_width -block_width=3 - -# Color block height in lines -# -# Default: '1' -# Values: 'num' -# Flag: --block_height -block_height=1 - -# Color Alignment -# -# Default: 'auto' -# Values: 'auto', 'num' -# Flag: --col_offset -# -# Number specifies how far from the left side of the terminal (in spaces) to -# begin printing the columns, in case you want to e.g. center them under your -# text. -# Example: -# col_offset="auto" - Default behavior of neofetch -# col_offset=7 - Leave 7 spaces then print the colors -col_offset="auto" - -# Progress Bars - - -# Bar characters -# -# Default: '-', '=' -# Values: 'string', 'string' -# Flag: --bar_char -# -# Example: -# neofetch --bar_char 'elapsed' 'total' -# neofetch --bar_char '-' '=' -bar_char_elapsed="-" -bar_char_total="=" - -# Toggle Bar border -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bar_border -bar_border="on" - -# Progress bar length in spaces -# Number of chars long to make the progress bars. -# -# Default: '15' -# Values: 'num' -# Flag: --bar_length -bar_length=15 - -# Progress bar colors -# When set to distro, uses your distro's logo colors. -# -# Default: 'distro', 'distro' -# Values: 'distro', 'num' -# Flag: --bar_colors -# -# Example: -# neofetch --bar_colors 3 4 -# neofetch --bar_colors distro 5 -bar_color_elapsed="distro" -bar_color_total="distro" - - -# Info display -# Display a bar with the info. -# -# Default: 'off' -# Values: 'bar', 'infobar', 'barinfo', 'off' -# Flags: --cpu_display -# --memory_display -# --battery_display -# --disk_display -# -# Example: -# bar: '[---=======]' -# infobar: 'info [---=======]' -# barinfo: '[---=======] info' -# off: 'info' -cpu_display="off" -memory_display="off" -battery_display="off" -disk_display="off" - - -# Backend Settings - - -# Image backend. -# -# Default: 'ascii' -# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', -# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' -# Flag: --backend -image_backend="ascii" - -# Image Source -# -# Which image or ascii file to display. -# -# Default: 'auto' -# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' -# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' -# Flag: --source -# -# NOTE: 'auto' will pick the best image source for whatever image backend is used. -# In ascii mode, distro ascii art will be used and in an image mode, your -# wallpaper will be used. -image_source="auto" - - -# Ascii Options - - -# Ascii distro -# Which distro's ascii art to display. -# -# Default: 'auto' -# Values: 'auto', 'distro_name' -# Flag: --ascii_distro -# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", -# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, -# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, -# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, -# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, -# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, -# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, -# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, -# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, -# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, -# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, -# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, -# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, -# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, -# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, -# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, -# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, -# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, -# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, -# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, -# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, -# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, -# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, -# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, -# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, -# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, -# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, -# and IRIX have ascii logos -# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. -# Use '{distro name}_old' to use the old logos. -# NOTE: Ubuntu has flavor variants. -# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, -# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. -# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, -# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, -# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, -# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, -# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, -# postmarketOS, and Void have a smaller logo variant. -# Use '{distro name}_small' to use the small variants. -ascii_distro="Arch" - -# Ascii Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --ascii_colors -# -# Example: -# ascii_colors=(distro) - Ascii is colored based on Distro colors. -# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. -ascii_colors=(distro) - -# Bold ascii logo -# Whether or not to bold the ascii logo. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --ascii_bold -ascii_bold="on" - - -# Image Options - - -# Image loop -# Setting this to on will make neofetch redraw the image constantly until -# Ctrl+C is pressed. This fixes display issues in some terminal emulators. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --loop -image_loop="off" - -# Thumbnail directory -# -# Default: '~/.cache/thumbnails/neofetch' -# Values: 'dir' -thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" - -# Crop mode -# -# Default: 'normal' -# Values: 'normal', 'fit', 'fill' -# Flag: --crop_mode -# -# See this wiki page to learn about the fit and fill options. -# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F -crop_mode="normal" - -# Crop offset -# Note: Only affects 'normal' crop mode. -# -# Default: 'center' -# Values: 'northwest', 'north', 'northeast', 'west', 'center' -# 'east', 'southwest', 'south', 'southeast' -# Flag: --crop_offset -crop_offset="center" - -# Image size -# The image is half the terminal width by default. -# -# Default: 'auto' -# Values: 'auto', '00px', '00%', 'none' -# Flags: --image_size -# --size -image_size="auto" - -# Gap between image and text -# -# Default: '3' -# Values: 'num', '-num' -# Flag: --gap -gap=3 - -# Image offsets -# Only works with the w3m backend. -# -# Default: '0' -# Values: 'px' -# Flags: --xoffset -# --yoffset -yoffset=0 -xoffset=0 - -# Image background color -# Only works with the w3m backend. -# -# Default: '' -# Values: 'color', 'blue' -# Flag: --bg_color -background_color= - - -# Misc Options - -# Stdout mode -# Turn off all colors and disables image backend (ASCII/Image). -# Useful for piping into another command. -# Default: 'off' -# Values: 'on', 'off' -stdout="off" diff --git a/endeavoursOS/rofi/arc_dark_colors.rasi b/endeavoursOS/rofi/arc_dark_colors.rasi deleted file mode 100644 index fdf4418..0000000 --- a/endeavoursOS/rofi/arc_dark_colors.rasi +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************* - * ROFI Arc Dark colors for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -* { - selected-normal-foreground: rgba ( 249, 249, 249, 100 % ); - foreground: rgba ( 196, 203, 212, 100 % ); - normal-foreground: @foreground; - alternate-normal-background: rgba ( 64, 69, 82, 59 % ); - red: rgba ( 220, 50, 47, 100 % ); - selected-urgent-foreground: rgba ( 249, 249, 249, 100 % ); - blue: rgba ( 38, 139, 210, 100 % ); - urgent-foreground: rgba ( 204, 102, 102, 100 % ); - alternate-urgent-background: rgba ( 75, 81, 96, 90 % ); - active-foreground: rgba ( 101, 172, 255, 100 % ); - lightbg: rgba ( 238, 232, 213, 100 % ); - selected-active-foreground: rgba ( 249, 249, 249, 100 % ); - alternate-active-background: rgba ( 75, 81, 96, 89 % ); - background: rgba ( 45, 48, 59, 95 % ); - alternate-normal-foreground: @foreground; - normal-background: @background; - lightfg: rgba ( 88, 104, 117, 100 % ); - selected-normal-background: rgba ( 64, 132, 214, 100 % ); - border-color: rgba ( 124, 131, 137, 100 % ); - spacing: 2; - separatorcolor: rgba ( 29, 31, 33, 100 % ); - urgent-background: rgba ( 29, 31, 33, 17 % ); - selected-urgent-background: rgba ( 165, 66, 66, 100 % ); - alternate-urgent-foreground: @urgent-foreground; - background-color: rgba ( 0, 0, 0, 0 % ); - alternate-active-foreground: @active-foreground; - active-background: rgba ( 29, 31, 33, 17 % ); - selected-active-background: rgba ( 68, 145, 237, 100 % ); -} diff --git a/endeavoursOS/rofi/arc_dark_transparent_colors.rasi b/endeavoursOS/rofi/arc_dark_transparent_colors.rasi deleted file mode 100644 index 4dc8195..0000000 --- a/endeavoursOS/rofi/arc_dark_transparent_colors.rasi +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************* - * ROFI Arch Dark Transparent colors for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -* { - selected-normal-foreground: rgba ( 255, 147, 5, 100 % ); - foreground: rgba ( 196, 203, 212, 100 % ); - normal-foreground: @foreground; - alternate-normal-background: rgba ( 45, 48, 59, 1 % ); - red: rgba ( 220, 50, 47, 100 % ); - selected-urgent-foreground: rgba ( 249, 249, 249, 100 % ); - blue: rgba ( 38, 139, 210, 100 % ); - urgent-foreground: rgba ( 204, 102, 102, 100 % ); - alternate-urgent-background: rgba ( 75, 81, 96, 90 % ); - active-foreground: rgba ( 101, 172, 255, 100 % ); - lightbg: rgba ( 238, 232, 213, 100 % ); - selected-active-foreground: rgba ( 249, 249, 249, 100 % ); - alternate-active-background: rgba ( 45, 48, 59, 88 % ); - background: rgba ( 45, 48, 59, 88 % ); - alternate-normal-foreground: @foreground; - normal-background: rgba ( 45, 48, 59, 1 % ); - lightfg: rgba ( 88, 104, 117, 100 % ); - selected-normal-background: rgba ( 24, 26, 32, 100 % ); - border-color: rgba ( 124, 131, 137, 100 % ); - spacing: 2; - separatorcolor: rgba ( 45, 48, 59, 1 % ); - urgent-background: rgba ( 45, 48, 59, 15 % ); - selected-urgent-background: rgba ( 165, 66, 66, 100 % ); - alternate-urgent-foreground: @urgent-foreground; - background-color: rgba ( 0, 0, 0, 0 % ); - alternate-active-foreground: @active-foreground; - active-background: rgba ( 29, 31, 33, 17 % ); - selected-active-background: rgba ( 26, 28, 35, 100 % ); -} diff --git a/endeavoursOS/rofi/power-profiles.rasi b/endeavoursOS/rofi/power-profiles.rasi deleted file mode 100644 index f81cf72..0000000 --- a/endeavoursOS/rofi/power-profiles.rasi +++ /dev/null @@ -1,121 +0,0 @@ -/******************************************************* - * ROFI configs i3 powermenu for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -configuration { - font: "Noto Sans Regular 10"; - show-icons: false; - icon-theme: "Qogir"; - scroll-method: 0; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "~/.config/rofi/arc_dark_colors.rasi" - - -window { - background-color: @background; - border: 0; - padding: 10; - transparency: "real"; - width: 170px; - location: east; - /*y-offset: 18;*/ - /*x-offset: 850;*/ -} -listview { - lines: 4; - columns: 1; -} -element { - border: 0; - padding: 1px; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px; - border: 0; - handle-color: @normal-foreground; - handle-width: 8px; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px; - border-color: @separatorcolor; -} -button { - spacing: 0; - text-color: @normal-foreground; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: "Set Power Profile:"; - margin: 0px 0.3em 0em 0em; - text-color: @normal-foreground; -} diff --git a/endeavoursOS/rofi/powermenu.rasi b/endeavoursOS/rofi/powermenu.rasi deleted file mode 100644 index 3a64a74..0000000 --- a/endeavoursOS/rofi/powermenu.rasi +++ /dev/null @@ -1,124 +0,0 @@ -/******************************************************* - * ROFI configs i3 powermenu for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -configuration { - font: "Noto Sans Regular 10"; - show-icons: false; - icon-theme: "Qogir"; - scroll-method: 0; - disable-history: false; - sidebar-mode: false; -} - -@import "~/.config/rofi/arc_dark_transparent_colors.rasi" - -window { - background-color: @background; - border: 0; - padding: 10; - transparency: "real"; - width: 120px; - location: east; - /*y-offset: 18;*/ - /*x-offset: 850;*/ -} -listview { - lines: 7; - columns: 1; - scrollbar: false; -} -element { - border: 0; - padding: 1px; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px; - border: 0; - handle-color: @normal-foreground; - handle-width: 8px; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px; - border-color: @separatorcolor; -} -button { - spacing: 0; - text-color: @normal-foreground; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em; - text-color: @normal-foreground; -} - -/*removes the text input line*/ -mainbox { - children: [listview]; -} diff --git a/endeavoursOS/rofi/rofidmenu.rasi b/endeavoursOS/rofi/rofidmenu.rasi deleted file mode 100644 index 864363f..0000000 --- a/endeavoursOS/rofi/rofidmenu.rasi +++ /dev/null @@ -1,135 +0,0 @@ -/******************************************************* - * ROFI configs i3 Apps menu for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -configuration { - font: "Noto Sans Regular 10"; - show-icons: true; - icon-theme: "Qogir"; - display-drun: "Apps"; - drun-display-format: "{name}"; - scroll-method: 0; - disable-history: false; - sidebar-mode: false; -} - -@import "~/.config/rofi/arc_dark_transparent_colors.rasi" - -window { - background-color: @background; - border: 0; - padding: 30; -} -listview { - lines: 10; - columns: 3; -} -mainbox { - border: 0; - padding: 0; -} -message { - border: 2px 0px 0px; - border-color: @separatorcolor; - padding: 1px; -} -textbox { - text-color: @foreground; -} -listview { - fixed-height: 0; - border: 8px 0px 0px; - border-color: @separatorcolor; - spacing: 8px; - scrollbar: false; - padding: 2px 0px 0px; -} -element { - border: 0; - padding: 1px; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px; - border: 0; - handle-color: @normal-foreground; - handle-width: 8px; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px; - border-color: @separatorcolor; -} -button { - spacing: 0; - text-color: @normal-foreground; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em; - text-color: @normal-foreground; -} diff --git a/endeavoursOS/rofi/rofikeyhint.rasi b/endeavoursOS/rofi/rofikeyhint.rasi deleted file mode 100644 index d2685d3..0000000 --- a/endeavoursOS/rofi/rofikeyhint.rasi +++ /dev/null @@ -1,137 +0,0 @@ -/******************************************************* - * ROFI configs i3 keyhint-menu for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -configuration { - font: "Noto Sans Regular 10"; - show-icons: false; - icon-theme: "Qogir"; - display-drun: "KeyHint"; - drun-display-format: "{name}"; - scroll-method: 0; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "~/.config/rofi/arc_dark_transparent_colors.rasi" - -window { - background-color: @background; - border: 0; - padding: 30; -} -listview { - lines: 10; - columns: 1; -} -mainbox { - border: 0; - padding: 0; -} -message { - border: 2px 0px 0px; - border-color: @separatorcolor; - padding: 1px; -} -textbox { - text-color: @foreground; -} -listview { - fixed-height: 0; - border: 8px 0px 0px; - border-color: @separatorcolor; - spacing: 8px; - scrollbar: false; - padding: 2px 0px 0px; -} -element { - border: 0; - padding: 1px; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px; - border: 0; - handle-color: @normal-foreground; - handle-width: 8px; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px; - border-color: @separatorcolor; -} -button { - spacing: 0; - text-color: @normal-foreground; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em; - text-color: @normal-foreground; -} diff --git a/endeavoursOS/xfce4/terminal/accels.scm b/endeavoursOS/xfce4/terminal/accels.scm deleted file mode 100755 index a3cb7b1..0000000 --- a/endeavoursOS/xfce4/terminal/accels.scm +++ /dev/null @@ -1,58 +0,0 @@ -; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- -; this file is an automated accelerator map dump -; -(gtk_accel_path "/terminal-window/goto-tab-2" "2") -(gtk_accel_path "/terminal-window/goto-tab-6" "6") -; (gtk_accel_path "/terminal-window/copy-input" "") -; (gtk_accel_path "/terminal-window/close-other-tabs" "") -; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") -(gtk_accel_path "/terminal-window/goto-tab-7" "7") -; (gtk_accel_path "/terminal-window/set-title-color" "") -; (gtk_accel_path "/terminal-window/edit-menu" "") -; (gtk_accel_path "/terminal-window/zoom-menu" "") -(gtk_accel_path "/terminal-window/goto-tab-1" "1") -; (gtk_accel_path "/terminal-window/fullscreen" "F11") -; (gtk_accel_path "/terminal-window/read-only" "") -; (gtk_accel_path "/terminal-window/preferences" "") -; (gtk_accel_path "/terminal-window/reset-and-clear" "") -; (gtk_accel_path "/terminal-window/about" "") -(gtk_accel_path "/terminal-window/goto-tab-5" "5") -; (gtk_accel_path "/terminal-window/close-window" "q") -; (gtk_accel_path "/terminal-window/reset" "") -; (gtk_accel_path "/terminal-window/save-contents" "") -(gtk_accel_path "/terminal-window/toggle-menubar" "F10") -; (gtk_accel_path "/terminal-window/copy" "c") -; (gtk_accel_path "/terminal-window/copy-html" "") -; (gtk_accel_path "/terminal-window/last-active-tab" "") -; (gtk_accel_path "/terminal-window/show-borders" "") -; (gtk_accel_path "/terminal-window/view-menu" "") -; (gtk_accel_path "/terminal-window/detach-tab" "d") -; (gtk_accel_path "/terminal-window/scroll-on-output" "") -; (gtk_accel_path "/terminal-window/show-toolbar" "") -; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") -; (gtk_accel_path "/terminal-window/tabs-menu" "") -; (gtk_accel_path "/terminal-window/search-next" "") -; (gtk_accel_path "/terminal-window/search-prev" "") -; (gtk_accel_path "/terminal-window/undo-close-tab" "") -; (gtk_accel_path "/terminal-window/set-title" "s") -; (gtk_accel_path "/terminal-window/contents" "F1") -; (gtk_accel_path "/terminal-window/zoom-reset" "0") -; (gtk_accel_path "/terminal-window/close-tab" "w") -; (gtk_accel_path "/terminal-window/new-tab" "t") -; (gtk_accel_path "/terminal-window/new-window" "n") -; (gtk_accel_path "/terminal-window/terminal-menu" "") -; (gtk_accel_path "/terminal-window/show-menubar" "") -; (gtk_accel_path "/terminal-window/select-all" "a") -; (gtk_accel_path "/terminal-window/paste" "v") -(gtk_accel_path "/terminal-window/goto-tab-9" "9") -; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") -; (gtk_accel_path "/terminal-window/search" "f") -; (gtk_accel_path "/terminal-window/file-menu" "") -; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") -; (gtk_accel_path "/terminal-window/paste-selection" "") -; (gtk_accel_path "/terminal-window/zoom-in" "plus") -; (gtk_accel_path "/terminal-window/zoom-out" "minus") -(gtk_accel_path "/terminal-window/goto-tab-8" "8") -; (gtk_accel_path "/terminal-window/help-menu" "") -(gtk_accel_path "/terminal-window/goto-tab-4" "4") -(gtk_accel_path "/terminal-window/goto-tab-3" "3") diff --git a/endeavoursOS/xfce4/terminal/terminalrc b/endeavoursOS/xfce4/terminal/terminalrc deleted file mode 100755 index 4b6a7b5..0000000 --- a/endeavoursOS/xfce4/terminal/terminalrc +++ /dev/null @@ -1,44 +0,0 @@ -[Configuration] -BackgroundDarkness=0.920000 -MiscSearchDialogOpacity=100 -MiscShowUnsafePasteDialog=FALSE -BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT -MiscAlwaysShowTabs=FALSE -MiscBell=FALSE -MiscBellUrgent=FALSE -MiscBordersDefault=TRUE -MiscCursorBlinks=FALSE -MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK -MiscDefaultGeometry=100x25 -MiscInheritGeometry=FALSE -MiscMenubarDefault=FALSE -MiscMouseAutohide=FALSE -MiscMouseWheelZoom=TRUE -MiscToolbarDefault=FALSE -MiscConfirmClose=TRUE -MiscCycleTabs=TRUE -MiscTabCloseButtons=TRUE -MiscTabCloseMiddleClick=TRUE -MiscTabPosition=GTK_POS_TOP -MiscHighlightUrls=TRUE -MiscMiddleClickOpensUri=FALSE -MiscCopyOnSelect=FALSE -MiscShowRelaunchDialog=TRUE -MiscRewrapOnResize=TRUE -MiscUseShiftArrowsToScroll=FALSE -MiscSlimTabs=FALSE -MiscNewTabAdjacent=FALSE -ColorForeground=#e3e3ea -ColorBackground=#08052b -ColorCursor=#ff7f7f -ColorCursorForeground=#FFFFFF -ColorBold=#7fbaff -TabActivityColor=#81813d3d9c9c -ColorCursorUseDefault=FALSE -ColorBoldIsBright=TRUE -ScrollingUnlimited=FALSE -ScrollingLines=50000 -FontName=CaskaydiaCove Nerd Font 13 -ColorPalette=rgb(8,5,43);rgb(255,127,127);rgb(127,63,191);rgb(204,57,128);rgb(127,186,255);rgb(127,63,191);rgb(127,127,255);rgb(205,204,219);rgb(127,186,255);rgb(255,127,127);rgb(153,153,204);rgb(255,127,127);rgb(127,127,255);rgb(127,63,191);rgb(127,127,255);rgb(227,227,234) -ScrollingBar=TERMINAL_SCROLLBAR_NONE -MiscRightClickAction=TERMINAL_RIGHT_CLICK_ACTION_CONTEXT_MENU diff --git a/freeBSD/alacritty/alacritty.toml b/freeBSD/alacritty/alacritty.toml deleted file mode 100644 index 79a4981..0000000 --- a/freeBSD/alacritty/alacritty.toml +++ /dev/null @@ -1,111 +0,0 @@ -[colors.bright] -black = "#555555" -blue = "#FFAF00" -cyan = "#FFCE51" -green = "#5FE0B1" -magenta = "#FF87AF" -red = "#9D66F6" -white = "#FFFFFF" -yellow = "#6DF2FF" - -[colors.cursor] -cursor = "#FFFFFF" -text = "#BBBBBB" - -[colors.normal] -black = "#1B1D1E" -blue = "#D08010" -cyan = "#D0A843" -green = "#23E298" -magenta = "#FF0087" -red = "#7325FA" -white = "#BBBBBB" -yellow = "#60D4DF" - -[colors.primary] -background = "#1B1D1E" -foreground = "#BBBBBB" - -[cursor] -style = "Block" -unfocused_hollow = false - -[font.bold] -family = "CaskaydiaCove Nerd Font" -style = "Bold" - -[font.normal] -family = "CaskaydiaCove Nerd Font" -style = "Regular" - -[[keyboard.bindings]] -action = "ScrollPageUp" -key = "PageUp" -mods = "Control" - -[[keyboard.bindings]] -action = "ScrollPageDown" -key = "PageDown" -mods = "Control" - -[[keyboard.bindings]] -action = "IncreaseFontSize" -key = "Up" -mods = "Control" - -[[keyboard.bindings]] -action = "DecreaseFontSize" -key = "Down" -mods = "Control" - -[[keyboard.bindings]] -action = "IncreaseFontSize" -key = "Plus" -mods = "Control" - -[[keyboard.bindings]] -action = "DecreaseFontSize" -key = "Minus" -mods = "Control" - -[[keyboard.bindings]] -action = "ResetFontSize" -key = 0 -mods = "Control" - -[[keyboard.bindings]] -action = "Paste" -key = "V" -mods = "Control|Shift" - -[[keyboard.bindings]] -chars = "\u0016" -key = "V" -mods = "Control" - -[[keyboard.bindings]] -action = "Copy" -key = "C" -mods = "Control|Shift" - -[[keyboard.bindings]] -chars = "\u0003" -key = "C" -mods = "Control" - -[mouse] -hide_when_typing = false - -[scrolling] -history = 50000 - -[selection] -save_to_clipboard = false - -[window.dimensions] -columns = 100 -lines = 25 - -[window.padding] -x = 0 -y = 0 diff --git a/freeBSD/alacritty/alacritty.yml b/freeBSD/alacritty/alacritty.yml deleted file mode 100644 index f700de3..0000000 --- a/freeBSD/alacritty/alacritty.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Alacritty Configuration -window.opacity: 0.92 -window: - dimensions: - columns: 100 - lines: 25 - padding: - x: 0 - y: 0 -font: - normal: - family: CaskaydiaCove Nerd Font - style: Regular - size: 13.0 - bold: - family: CaskaydiaCove Nerd Font - style: Bold - size: 13.0 -cursor: - style: Block - unfocused_hollow: false -colors: - primary: - foreground: '#BBBBBB' - background: '#1B1D1E' - cursor: - text: '#BBBBBB' - cursor: '#FFFFFF' - normal: - black: '#1B1D1E' - red: '#7325FA' - green: '#23E298' - yellow: '#60D4DF' - blue: '#D08010' - magenta: '#FF0087' - cyan: '#D0A843' - white: '#BBBBBB' - bright: - black: '#555555' - red: '#9D66F6' - green: '#5FE0B1' - yellow: '#6DF2FF' - blue: '#FFAF00' - magenta: '#FF87AF' - cyan: '#FFCE51' - white: '#FFFFFF' -scrolling: - history: 50000 - bar: none -mouse: - hide_when_typing: false - wheel_scroll_multiplier: 1 -allow_square_glyphs_to_overflow_width: true -selection: - save_to_clipboard: false -key_bindings: - - { key: PageUp, mods: Control, action: ScrollPageUp } - - { key: PageDown, mods: Control, action: ScrollPageDown } - - { key: Up, mods: Control, action: IncreaseFontSize } - - { key: Down, mods: Control, action: DecreaseFontSize } - - { key: Plus, mods: Control, action: IncreaseFontSize } - - { key: Minus, mods: Control, action: DecreaseFontSize } - - { key: 0, mods: Control, action: ResetFontSize } - - { key: V, mods: Control|Shift, action: Paste } - - { key: V, mods: Control, chars: "\x16" } - - { key: C, mods: Control|Shift, action: Copy } - - { key: C, mods: Control, chars: "\x03" } diff --git a/freeBSD/btop/btop.conf b/freeBSD/btop/btop.conf deleted file mode 100644 index b976456..0000000 --- a/freeBSD/btop/btop.conf +++ /dev/null @@ -1,212 +0,0 @@ -#? Config file for btop v. 1.2.13 - -#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. -#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" -color_theme = "molokai" - -#* If the theme set background should be shown, set to False if you want terminal background transparency. -theme_background = True - -#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. -truecolor = True - -#* Set to true to force tty mode regardless if a real tty has been detected or not. -#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. -force_tty = False - -#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. -#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. -#* Use whitespace " " as separator between different presets. -#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" -presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" - -#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. -#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. -vim_keys = False - -#* Rounded corners on boxes, is ignored if TTY mode is ON. -rounded_corners = True - -#* Default symbols to use for graph creation, "braille", "block" or "tty". -#* "braille" offers the highest resolution but might not be included in all fonts. -#* "block" has half the resolution of braille but uses more common characters. -#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. -#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. -graph_symbol = "braille" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_cpu = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_mem = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_net = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_proc = "default" - -#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace. -shown_boxes = "cpu mem net proc" - -#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. -update_ms = 2000 - -#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", -#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. -proc_sorting = "cpu lazy" - -#* Reverse sorting order, True or False. -proc_reversed = False - -#* Show processes as a tree. -proc_tree = False - -#* Use the cpu graph colors in the process list. -proc_colors = True - -#* Use a darkening gradient in the process list. -proc_gradient = True - -#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. -proc_per_core = False - -#* Show process memory as bytes instead of percent. -proc_mem_bytes = True - -#* Show cpu graph for each process. -proc_cpu_graphs = True - -#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) -proc_info_smaps = False - -#* Show proc box on left side of screen instead of right. -proc_left = False - -#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). -proc_filter_kernel = False - -#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. -#* Select from a list of detected attributes from the options menu. -cpu_graph_upper = "total" - -#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. -#* Select from a list of detected attributes from the options menu. -cpu_graph_lower = "total" - -#* Toggles if the lower CPU graph should be inverted. -cpu_invert_lower = True - -#* Set to True to completely disable the lower CPU graph. -cpu_single_graph = False - -#* Show cpu box at bottom of screen instead of top. -cpu_bottom = False - -#* Shows the system uptime in the CPU box. -show_uptime = True - -#* Show cpu temperature. -check_temp = True - -#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. -cpu_sensor = "Auto" - -#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. -show_coretemp = True - -#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. -#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. -#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. -#* Example: "4:0 5:1 6:3" -cpu_core_map = "" - -#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". -temp_scale = "celsius" - -#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. -base_10_sizes = False - -#* Show CPU frequency. -show_cpu_freq = True - -#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. -#* Special formatting: /host = hostname | /user = username | /uptime = system uptime -clock_format = "%X" - -#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. -background_update = True - -#* Custom cpu model name, empty string to disable. -custom_cpu_name = "" - -#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". -#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". -disks_filter = "" - -#* Show graphs instead of meters for memory values. -mem_graphs = True - -#* Show mem box below net box instead of above. -mem_below_net = False - -#* Count ZFS ARC in cached and available memory. -zfs_arc_cached = True - -#* If swap memory should be shown in memory box. -show_swap = True - -#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. -swap_disk = True - -#* If mem box should be split to also show disks info. -show_disks = True - -#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. -only_physical = True - -#* Read disks list from /etc/fstab. This also disables only_physical. -use_fstab = True - -#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) -zfs_hide_datasets = False - -#* Set to true to show available disk space for privileged users. -disk_free_priv = False - -#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. -show_io_stat = True - -#* Toggles io mode for disks, showing big graphs for disk read/write speeds. -io_mode = False - -#* Set to True to show combined read/write io graphs in io mode. -io_graph_combined = False - -#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". -#* Example: "/mnt/media:100 /:20 /boot:1". -io_graph_speeds = "" - -#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. -net_download = 100 - -net_upload = 100 - -#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. -net_auto = True - -#* Sync the auto scaling for download and upload to whichever currently has the highest scale. -net_sync = True - -#* Starts with the Network Interface specified here. -net_iface = "" - -#* Show battery stats in top right if battery is present. -show_battery = True - -#* Which battery to use if multiple are present. "Auto" for auto detection. -selected_battery = "Auto" - -#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". -#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. -log_level = "WARNING" \ No newline at end of file diff --git a/freeBSD/btop/themes/molokai.theme b/freeBSD/btop/themes/molokai.theme deleted file mode 100644 index 23bc921..0000000 --- a/freeBSD/btop/themes/molokai.theme +++ /dev/null @@ -1,42 +0,0 @@ -# Bashtop Molokai theme with more green and purple -# by aristocratos - -theme[main_bg]="#1B1D1E" -theme[main_fg]="#BBBBBB" -theme[title]="#BBBBBB" -theme[hi_fg]="#60D4DF" -theme[selected_bg]="#9D66F6" -theme[selected_fg]="#1B1D1E" -theme[inactive_fg]="#555555" -theme[graph_text]="#D0A843" -theme[proc_misc]="#23E298" -theme[cpu_box]="#BBBBBB" -theme[mem_box]="#BBBBBB" -theme[net_box]="#BBBBBB" -theme[proc_box]="#BBBBBB" -theme[div_line]="#555555" -theme[temp_start]="#23E298" -theme[temp_mid]="#D8B8B2" -theme[temp_end]="#FF0087" -theme[cpu_start]="#5FE0B1" -theme[cpu_mid]="#BBBBBB" -theme[cpu_end]="#FF0087" -theme[free_start]="#BBBBBB" -theme[free_mid]="#5FE0B1" -theme[free_end]="#6DF2FF" -theme[cached_start]="#BBBBBB" -theme[cached_mid]="#6DF2FF" -theme[cached_end]="#FFCE51" -theme[available_start]="#BBBBBB" -theme[available_mid]="#FFAF00" -theme[available_end]="#FFFFFF" -theme[used_start]="#BBBBBB" -theme[used_mid]="#FF0087" -theme[used_end]="#FF87AF" -theme[download_start]="#2d2042" -theme[download_mid]="#7352a8" -theme[download_end]="#ccaefc" -theme[upload_start]="#570d33" -theme[upload_mid]="#cf277d" -theme[upload_end]="#fa91c7" - diff --git a/freeBSD/helix/config.toml b/freeBSD/helix/config.toml deleted file mode 100644 index 095b194..0000000 --- a/freeBSD/helix/config.toml +++ /dev/null @@ -1,31 +0,0 @@ -theme = "molokai" - -[editor] -line-number = "absolute" -mouse = true - -[editor.cursor-shape] -insert = "bar" -normal = "block" -select = "underline" - -[editor.file-picker] -hidden = false - -[editor.whitespace] -render = "all" - -[editor.whitespace.characters] -nbsp = "⍽" -newline = "⏎" - -[editor.indent-guides] -render = true -character = "╎" -skip-levels = 1 - -[editor.soft-wrap] -enable = true -max-wrap = 25 -max-indent-retain = 0 -wrap-indicator = "⏎" diff --git a/freeBSD/i3/config b/freeBSD/i3/config deleted file mode 100644 index 2273c3f..0000000 --- a/freeBSD/i3/config +++ /dev/null @@ -1,565 +0,0 @@ -# This file is a modified version based on default i3-config-wizard config -# source is available here: -# https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/master/.config/i3/config -# Maintainer: joekamprad [joekamprad@endeavouros.com] -# https://endeavouros.com -# -# iconic font icon search: https://fontawesome.com/v4.7/cheatsheet/ -# -# --> to update this run the following command (will backup existing setup file) -# wget --backups=1 https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/config -P ~/.config/i3/ -# -# Endeavouros-i3 config file -# Source for complete framework of our i3 config and theming here: https://github.com/endeavouros-team/endeavouros-i3wm-setup -# EndeavourOS wiki holds some Information also: https://discovery.endeavouros.com/window-tiling-managers/i3-wm/ -# Please see http://i3wm.org/docs/userguide.html for the official i3 reference! - -####################### -# config starts here: # -####################### - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -font pango:CaskaydiaCove Nerd Font 10 - -# set the mod key to the winkey: -set $mod Mod4 - -##################### -# workspace layout: # -##################### - -# default i3 tiling mode: -workspace_layout default - -# i3 stacking layout: -# Each window will be fullscreen and tabbed top to bottom. -#workspace_layout stacking - -# i3 tabbed layout: -# Each new window will open fullscreen as a tab (left to right) -#workspace_layout tabbed - -############################## -# extra options for windows: # -############################## - -#border indicator on windows: -new_window pixel 1 - -# thin borders -# hide_edge_borders both - -# Set inner/outer gaps -gaps inner 6 -gaps outer 3 - -# show window title bars (not officially supported with i3gaps) -#default_border normal - -# window title alignment -#title_align center - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# switch/iterate between workspaces -bindsym $mod+Tab workspace next -bindsym $mod+Shift+Tab workspace prev - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# switch to workspace with numpad keys -bindcode $mod+87 workspace 1 -bindcode $mod+88 workspace 2 -bindcode $mod+89 workspace 3 -bindcode $mod+83 workspace 4 -bindcode $mod+84 workspace 5 -bindcode $mod+85 workspace 6 -bindcode $mod+79 workspace 7 -bindcode $mod+80 workspace 8 -bindcode $mod+81 workspace 9 -bindcode $mod+90 workspace 10 - -# switch to workspace with numlock numpad keys -bindcode $mod+Mod2+87 workspace $ws1 -bindcode $mod+Mod2+88 workspace $ws2 -bindcode $mod+Mod2+89 workspace $ws3 -bindcode $mod+Mod2+83 workspace $ws4 -bindcode $mod+Mod2+84 workspace $ws5 -bindcode $mod+Mod2+85 workspace $ws6 -bindcode $mod+Mod2+79 workspace $ws7 -bindcode $mod+Mod2+80 workspace $ws8 -bindcode $mod+Mod2+81 workspace $ws9 -bindcode $mod+Mod2+90 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -# move focused container to workspace with numpad keys -bindcode $mod+Shift+Mod2+87 move container to workspace $ws1 -bindcode $mod+Shift+Mod2+88 move container to workspace $ws2 -bindcode $mod+Shift+Mod2+89 move container to workspace $ws3 -bindcode $mod+Shift+Mod2+83 move container to workspace $ws4 -bindcode $mod+Shift+Mod2+84 move container to workspace $ws5 -bindcode $mod+Shift+Mod2+85 move container to workspace $ws6 -bindcode $mod+Shift+Mod2+79 move container to workspace $ws7 -bindcode $mod+Shift+Mod2+80 move container to workspace $ws8 -bindcode $mod+Shift+Mod2+81 move container to workspace $ws9 -bindcode $mod+Shift+Mod2+90 move container to workspace $ws10 - -# move focused container to workspace with numpad keys -bindcode $mod+Shift+87 move container to workspace $ws1 -bindcode $mod+Shift+88 move container to workspace $ws2 -bindcode $mod+Shift+89 move container to workspace $ws3 -bindcode $mod+Shift+83 move container to workspace $ws4 -bindcode $mod+Shift+84 move container to workspace $ws5 -bindcode $mod+Shift+85 move container to workspace $ws6 -bindcode $mod+Shift+79 move container to workspace $ws7 -bindcode $mod+Shift+80 move container to workspace $ws8 -bindcode $mod+Shift+81 move container to workspace $ws9 -bindcode $mod+Shift+90 move container to workspace $ws10 - -# resize window (you can also use the mouse for that): -#mode "resize" { -# These bindings trigger as soon as you enter the resize mode -# Pressing left will shrink the window's width. -# Pressing right will grow the window's width. -# Pressing up will shrink the window's height. -# Pressing down will grow the window's height. -# bindsym j resize shrink width 10 px or 10 ppt -# bindsym k resize grow height 10 px or 10 ppt -# bindsym l resize shrink height 10 px or 10 ppt -# bindsym ntilde resize grow width 10 px or 10 ppt - -# same bindings, but for the arrow keys -# bindsym Left resize shrink width 10 px or 10 ppt -# bindsym Down resize grow height 10 px or 10 ppt -# bindsym Up resize shrink height 10 px or 10 ppt -# bindsym Right resize grow width 10 px or 10 ppt - -# back to normal: Enter or Escape -# bindsym Return mode "default" -# bindsym Escape mode "default" -#} - -#bindsym $mod+r mode "resize" - -###################################### -# keybindings for different actions: # -###################################### - -# start a terminal -bindsym $mod+Return exec alacritty - -# kill focused window -bindsym $mod+Shift+q kill - -# exit-menu -bindsym $mod+Shift+e exec ~/.config/i3/scripts/powermenu - -# Lock the system -# lock with a picture: -bindsym $mod+l exec i3lock -i ~/.config/i3/i3-lock-screen.png -p default|win -t -# lock by blurring the screen: -# bindsym $mod+l exec ~/.config/i3/scripts/blur-lock - -# reload the configuration file -bindsym $mod+Shift+c reload - -# restart i3 inplace (preserves your layout/session, can be used to update i3) -bindsym $mod+Shift+r restart - -# keybinding in fancy rofi (automated): -bindsym F1 exec ~/.config/i3/scripts/keyhint-2 -# alternative -# keybinding list in editor: -# bindsym $mod+F1 exec xed ~/.config/i3/keybindings - -# Backlight control -bindsym XF86MonBrightnessUp exec xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" -bindsym XF86MonBrightnessDown exec xbacklight -5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" - -# change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+b focus up -bindsym $mod+o focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+b move up -bindsym $mod+Shift+o move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+g layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# open new empty workspace -bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace - -# Multimedia Keys - -# volume -bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks -bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks - -# gradular volume control -bindsym $mod+XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && pkill -RTMIN+1 i3blocks -bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 i3blocks - -# mute -bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 i3blocks - -# audio control -bindsym XF86AudioPlay exec playerctl play -bindsym XF86AudioPause exec playerctl pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous - -# Redirect sound to headphones -bindsym $mod+p exec /usr/local/bin/switch-audio-port - -## App shortcuts -bindsym $mod+w exec /usr/bin/firefox -bindsym $mod+n exec /usr/bin/thunar -bindsym Print exec scrot ~/%Y-%m-%d-%T-screenshot.png && notify-send "Screenshot saved to ~/$(date +"%Y-%m-%d-%T")-screenshot.png" - -# Power Profiles menu switcher (rofi) -bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles - -########################################## -# configuration for workspace behaviour: # -########################################## - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# use workspaces on different displays: -# where you have to replace VGA-0/HDMI-0 with the names for your displays -# you can get from xrandr command -#workspace $ws1 output VGA-0 -#workspace $ws2 output VGA-0 -#workspace $ws3 output HDMI-0 -#workspace $ws4 output HDMI-0 -#workspace $ws5 output HDMI-0 - -############## -# compositor # -############## - -# transparency -# uncomment one of them to be used -# options could need changes, related to used GPU and drivers. -# to find the right setting consult the archwiki or ask at the forum. -# -# xcompmgr: https://wiki.archlinux.org/title/Xcompmgr -# manpage: https://man.archlinux.org/man/xcompmgr.1.en -# install xcompmgr package to use it (yay -S xcompmgr) -#exec --no-startup-id xcompmgr -C -n & -# or an more specialized config like this: -#exec --no-startup-id xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 & -# -# or: -# -# picom: https://wiki.archlinux.org/title/Picom -# manpage: https://man.archlinux.org/man/picom.1.en -# The default configuration is available in /etc/xdg/picom.conf -# For modifications, it can be copied to ~/.config/picom/picom.conf or ~/.config/picom.conf -# install picom package (yay -S picom) -# start using default config -exec_always --no-startup-id picom -b -# -# for custom config: -#exec_always --no-startup-id picom --config ~/.config/picom.conf - -############################################# -# autostart applications/services on login: # -############################################# - -#Set second monitor to 144hz and right to HDMI2 -exec --no-startup-id xrandr --output DP1 --mode 2560x1440 --rate 144.00 --right-of HDMI2 - -#get auth work with polkit-gnome -exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 - -# dex execute .desktop files + apps using /etc/xdg/autostart. -# when second to i3 a DE is installed or mixed usage of i3 + xfce4 or GNOME -# in this cases better disable dex and use manual starting apps using xdg/autostart -# if enabled you should comment welcome app. -# https://github.com/jceb/dex -#exec --no-startup-id dex -a -s /etc/xdg/autostart/:~/.config/autostart/ -exec --no-startup-id dex --autostart --environment i3 - -# start welcome app -#exec --no-startup-id sh /usr/share/endeavouros/scripts/welcome --startdelay=3 - -# num lock activated -exec --no-startup-id numlockx on - -# configure multiple keyboard layouts and hotkey to switch (Alt+CAPSLOCK in this example) -#exec --no-startup-id setxkbmap -layout 'us,sk' -variant altgr-intl,qwerty -option 'grp:alt_caps_toggle' -exec --no-startup-id setxkbmap -layout ca - -# start conky: -#exec_always --no-startup-id conky - -# start a script to setup displays -# uncomment the next line, use arandr to setup displays and save the file as monitor: -#exec --no-startup-id ~/.screenlayout/monitor.sh - -# set wallpaper -# exec --no-startup-id sleep 2 && nitrogen --restore -#exec --no-startup-id sleep 1 && feh --bg-fill ~/Downloads/wallpaper.jpg - -# set powersavings for display: -exec --no-startup-id xset s 480 dpms 600 600 600 - -# disable power saving (for example if using xscreensaver) -#exec --no-startup-id xset -dpms - -# use xautolock to use autosuspend rules for mobile devices -# https://wiki.archlinux.org/title/Session_lock#xautolock -#exec --no-startup-id xautolock -time 60 -locker "systemctl suspend" - - -# xscreensaver -# https://www.jwz.org/xscreensaver -#exec --no-startup-id xscreensaver --no-splash - -# Desktop notifications -exec --no-startup-id dbus-launch dunst -# alternative if you installed aside with XFCE4: -# exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & - -# autotiling script -# https://github.com/nwg-piotr/autotiling -# `yay -S autotiling ;) (it is in AUR) -#exec_always --no-startup-id autotiling - -# Autostart apps as you like -#exec --no-startup-id sleep 2 && xfce4-terminal -#exec --no-startup-id sleep 7 && firefox https://github.com/endeavouros-team/endeavouros-i3wm-setup/blob/main/force-knowledge.md -#exec --no-startup-id sleep 3 && thunar -exec --no-startup-id sleep 10 && syncthing - -############### -# system tray # -############### -# if you do not use dex: exec --no-startup-id dex --autostart --environment i3 -# you need to have tray apps started manually one by one: - -# start blueberry app for managing bluetooth devices from tray: -#exec --no-startup-id blueberry-tray - -# networkmanager-applet -#exec --no-startup-id nm-applet - -# clipman-applet -#exec --no-startup-id xfce4-clipman - -################## -# floating rules # -################## - -# set floating (nontiling) for apps needing it -for_window [class="Yad" instance="yad"] floating enable -for_window [class="Galculator" instance="galculator"] floating enable -for_window [class="Blueberry.py" instance="blueberry.py"] floating enable - -# set floating (nontiling) for special apps -for_window [class="Xsane" instance="xsane"] floating enable -for_window [class="Pavucontrol" instance="pavucontrol"] floating enable -for_window [class="qt5ct" instance="qt5ct"] floating enable -for_window [class="Blueberry.py" instance="blueberry.py"] floating enable -for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable -for_window [class="Pamac-manager"] floating enable -for_window [window_role="About"] floating enable - -# set border of floating window -for_window [class="urxvt"] border pixel 1 - -# set size of floating window -#for_window [window_role="(?i)GtkFileChooserDialog"] resize set 640 480 #to set size of file choose dialog -#for_window [class=".*"] resize set 640 480 #to change size of all floating windows - -# set position of floating window -#for_window [class=".*"] move position center - -###################################### -# color settings for bar and windows # -###################################### - -# Define colors variables: -set $darkbluetrans #08052be6 -set $darkblue #08052b -set $lightblue #5294e2 -set $urgentred #e53935 -set $white #ffffff -set $black #000000 -set $purple #e345ff -set $darkgrey #383c4a -set $grey #b0b5bd -set $mediumgrey #8b8b8b -set $yellowbrown #e1b700 - -# define colors for windows: -#class border bground text indicator child_border -client.focused $lightblue $darkblue $white $mediumgrey $mediumgrey -client.unfocused $darkblue $darkblue $grey $darkgrey $darkgrey -client.focused_inactive $darkblue $darkblue $grey $black $black -client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown - -############################################ -# bar settings (input comes from i3blocks) # -############################################ - -# Start i3bar to display a workspace bar -# (plus the system information i3status finds out, if available) -bar { - font pango: Noto Sans Regular 10 - status_command i3blocks -c ~/.config/i3/i3blocks.conf - position bottom -# i3bar_command i3bar --transparency -# it could be that you have no primary display set: set one (xrandr --output --primary) -# reference: https://i3wm.org/docs/userguide.html#_tray_output - #tray_output primary - tray_padding 0 - -# When strip_workspace_numbers is set to yes, -# any workspace that has a name of the form -# “[n][:][NAME]” will display only the name. -strip_workspace_numbers yes -##strip_workspace_name no - - colors { - separator $purple - background $darkgrey - statusline $white -# border bg txt indicator - focused_workspace $mediumgrey $grey $darkgrey $purple - active_workspace $lightblue $mediumgrey $darkgrey $purple - inactive_workspace $darkgrey $darkgrey $grey $purple - urgent_workspace $urgentred $urgentred $white $purple - } -} - -# you can add different bars for multidisplay setups on each display: -# set output HDMI-0 to the display you want the bar, --transparency can be set. -# Transparency needs rgba color codes to be used where the last two letters are the transparency factor see here: -# https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4 -# #08052be6 --> e6=90% - -# bar { -# font pango: Noto Sans Regular 10 -# status_command i3blocks -c ~/.config/i3/i3blocks-2.conf -# i3bar_command i3bar --transparency -# output HDMI-0 -# position bottom -# -# When strip_workspace_numbers is set to yes, -# any workspace that has a name of the form -# “[n][:][NAME]” will display only the name. -#strip_workspace_numbers yes -##strip_workspace_name no -# -# colors { -# separator $purple -# background $darkbluetrans -# statusline $white -# border bg txt indicator -# focused_workspace $lighterblue $lighterblue $darkblue $purple -# active_workspace $lightdblue $lightdblue $darkblue $purple -# inactive_workspace $darkblue $darkblue $lightdblue $purple -# urgent_workspace $urgentred $urgentred $white $purple -# } -#} - -##################################### -# Application menu handled by rofi: # -##################################### - -## rofi bindings fancy application menu ($mod+d /F9 optional disabled) - -bindsym $mod+d exec rofi -modi drun -show drun \ - -config ~/.config/rofi/rofidmenu.rasi - -#bindsym F9 exec rofi -modi drun -show drun \ -# -config ~/.config/rofi/rofidmenu.rasi - -## rofi bindings for window menu ($mod+t /F10 optional disabled) - -bindsym $mod+t exec rofi -show window \ - -config ~/.config/rofi/rofidmenu.rasi - -#bindsym F10 exec rofi -show window \ -# -config ~/.config/rofi/rofidmenu.rasi - -## rofi bindings to manage clipboard (install rofi-greenclip from the AUR) - -#exec --no-startup-id greenclip daemon>/dev/null -#bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \ -# -config ~/.config/rofi/rofidmenu.rasi diff --git a/freeBSD/i3/i3blocks.conf b/freeBSD/i3/i3blocks.conf deleted file mode 100644 index 86cf7a6..0000000 --- a/freeBSD/i3/i3blocks.conf +++ /dev/null @@ -1,120 +0,0 @@ -# i3blocks config file changed for EndeavourOS-i3 setup - -# source is available here: -# https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/i3blocks.conf -# Maintainer: joekamprad [joekamprad@endeavouros.com] -# Former Visual Designer: Florent Valetti [@FLVAL EndeavourOS] -# created for i3wm setup on EndeavourOS -# https://endeavouros.com - -# cheatsheet for icon fonts used on the block-bar: -# https://fontawesome.com/v4.7/cheatsheet/ - -# --> to update this run the following command: -# wget --backups=1 https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/i3blocks.conf -P ~/.config/i3/ - -# Please see man i3blocks for a complete reference! -# The man page is also hosted at http://vivien.github.io/i3blocks - - -# List of valid properties: -# -# align -# color -# command -# full_text -# instance -# interval -# label -# min_width -# name -# separator -# separator_block_width -# short_text -# signal -# urgent - -# Global properties -# -# The top properties below are applied to every block, but can be overridden. -separator=false -markup=pango - -# Memory usage -# -# The type defaults to "mem" if the instance is not specified. -[memory] -label= -command=~/.config/i3/scripts/memory -interval=2 - -[cpu_usage] -label= -command=~/.config/i3/scripts/cpu_usage -#min_width=CPU: 100.00% -interval=2 - -[CPU-temperature] -label= -command=~/.config/i3/scripts/temperature -interval=30 -#T_WARN=70 -#T_CRIT=90 -#SENSOR_CHIP="" -# where SENSOR_CHIP can be find with sensors output -# can be used also for GPU temperature or other temperature sensors lm-sensors detects. - -# showing name of connected network (enable for wifi use) -#[net] -#label= -#command=echo "$(LANG=C nmcli d | grep connected | awk '{print $4}')" -#interval=30 - -# Battery indicator -[battery] -command=~/.config/i3/scripts/battery2 -# for alternative battery script change to battery1 -# change this to battery-pinebook-pro if you are running on pinebook-pro -label= -interval=30 - -[simple-2] -full_text=: : -color=#717171 - -[pavucontrol] -full_text= -command=pavucontrol - -[volume-pulseaudio] -command=~/.config/i3/scripts/volume -instance=Master -interval=1 - -# power-profiles-daemon implementation: -# needs package power-profiles-daemon installed and the service running see here: -# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon - -#set power-profile -[ppd_menu] -full_text= -command=~/.config/i3/scripts/power-profiles -color=#407437 - -#Show the current power-profile -[ppd-status] -command=~/.config/i3/scripts/ppd-status -interval=5 - -[time] -#label= -command=date '+%a %d %b %H:%M:%S' -interval=1 - -[shutdown_menu] -full_text= -command=~/.config/i3/scripts/powermenu - -[simple-2] -full_text=: : -color=#717171 diff --git a/freeBSD/i3/keybindings b/freeBSD/i3/keybindings deleted file mode 100644 index f5edbc6..0000000 --- a/freeBSD/i3/keybindings +++ /dev/null @@ -1,106 +0,0 @@ -EndeavourOS i3wm Keybindings cheat sheet: - ---> to update this run the following command: -wget --backups=1 https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/keybindings -P ~/.config/i3/ - -All sources and updates are available at GitHub: -https://github.com/endeavouros-team/endeavouros-i3wm-setup - -For reference consult our WIKI: -https://discovery.endeavouros.com/window-tiling-managers/i3-wm/ - - = windows key - -# start xfce4-terminal -+Return - -# kill focused window -+q - -# Application menu search by typing (fancy Rofi menu): -+d - -# Window switcher menu (fancy Rofi menu): -+t - -# fancy exit-menu on bottom right: -+Shift+e - -# Lock the system -# lock with a picture or blurring the screen (options in config) -+l - -# reload the configuration file -+Shift+c - -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -+Shift+r - -# keybinding in fancy rofi (automated) -F1 - -# full keybinding list in editor: -+F1 - -# change window focus -+j focus left -+k focus down -+b focus up -+o focus right - -# alternatively, you can use the cursor keys: -+Left focus left -+Down focus down -+Up focus up -+Right focus right - -# move a focused window -+Shift+j move left -+Shift+k move down -+Shift+b move up -+Shift+o move right - -# alternatively, you can use the cursor keys: -+Shift+Left move left -+Shift+Down move down -+Shift+Up move up -+Shift+Right move right - -# split in horizontal orientation -+h split h - -# split in vertical orientation -+v split v - -# enter fullscreen mode for the focused container -+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -+s layout stacking -+g layout tabbed -+e layout toggle split - -# toggle tiling / floating -+Shift+space floating toggle - -# change focus between tiling / floating windows -+space focus mode_toggle - -# focus the parent container -+a focus parent - -# focus the child container -#+d focus child - -# resize floating window -+right mouse button - -## Multimedia Keys - -# Redirect sound to headphones -+p - -## App shortcuts -+w starts Firefox -+n starts Thunar - Button screenshot diff --git a/freeBSD/i3/scripts/bandwidth2 b/freeBSD/i3/scripts/bandwidth2 deleted file mode 100755 index b03250e..0000000 --- a/freeBSD/i3/scripts/bandwidth2 +++ /dev/null @@ -1,104 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (C) 2015 James Murphy -# Licensed under the terms of the GNU GPL v2 only. -# -# i3blocks blocklet script to monitor bandwidth usage - -iface="${BLOCK_INSTANCE}" -iface="${IFACE:-$iface}" -dt="${DT:-3}" -unit="${UNIT:-MB}" -LABEL="${LABEL:-}" # down arrow up arrow -printf_command="${PRINTF_COMMAND:-"printf \"${LABEL}%1.0f/%1.0f %s/s\\n\", rx, wx, unit;"}" - -function default_interface { - ip route | awk '/^default via/ {print $5; exit}' -} - -function check_proc_net_dev { - if [ ! -f "/proc/net/dev" ]; then - echo "/proc/net/dev not found" - exit 1 - fi -} - -function list_interfaces { - check_proc_net_dev - echo "Interfaces in /proc/net/dev:" - grep -o "^[^:]\\+:" /proc/net/dev | tr -d " :" -} - -while getopts i:t:u:p:lh opt; do - case "$opt" in - i) iface="$OPTARG" ;; - t) dt="$OPTARG" ;; - u) unit="$OPTARG" ;; - p) printf_command="$OPTARG" ;; - l) list_interfaces && exit 0 ;; - h) printf \ -"Usage: bandwidth3 [-i interface] [-t time] [-u unit] [-p printf_command] [-l] [-h] -Options: --i\tNetwork interface to measure. Default determined using \`ip route\`. --t\tTime interval in seconds between measurements. Default: 3 --u\tUnits to measure bytes in. Default: Mb -\tAllowed units: Kb, KB, Mb, MB, Gb, GB, Tb, TB -\tUnits may have optional it/its/yte/ytes on the end, e.g. Mbits, KByte --p\tAwk command to be called after a measurement is made. -\tDefault: printf \"%%-5.1f/%%5.1f %%s/s\\\\n\", rx, wx, unit; -\tExposed variables: rx, wx, tx, unit, iface --l\tList available interfaces in /proc/net/dev --h\tShow this help text -" && exit 0;; - esac -done - -check_proc_net_dev - -iface="${iface:-$(default_interface)}" -while [ -z "$iface" ]; do - echo No default interface - sleep "$dt" - iface=$(default_interface) -done - -case "$unit" in - Kb|Kbit|Kbits) bytes_per_unit=$((1024 / 8));; - KB|KByte|KBytes) bytes_per_unit=$((1024));; - Mb|Mbit|Mbits) bytes_per_unit=$((1024 * 1024 / 8));; - MB|MByte|MBytes) bytes_per_unit=$((1024 * 1024));; - Gb|Gbit|Gbits) bytes_per_unit=$((1024 * 1024 * 1024 / 8));; - GB|GByte|GBytes) bytes_per_unit=$((1024 * 1024 * 1024));; - Tb|Tbit|Tbits) bytes_per_unit=$((1024 * 1024 * 1024 * 1024 / 8));; - TB|TByte|TBytes) bytes_per_unit=$((1024 * 1024 * 1024 * 1024));; - *) echo Bad unit "$unit" && exit 1;; -esac - -scalar=$((bytes_per_unit * dt)) -init_line=$(cat /proc/net/dev | grep "^[ ]*$iface:") -if [ -z "$init_line" ]; then - echo Interface not found in /proc/net/dev: "$iface" - exit 1 -fi - -init_received=$(awk '{print $2}' <<< $init_line) -init_sent=$(awk '{print $10}' <<< $init_line) - -(while true; do cat /proc/net/dev; sleep "$dt"; done) |\ - stdbuf -oL grep "^[ ]*$iface:" |\ - awk -v scalar="$scalar" -v unit="$unit" -v iface="$iface" ' -BEGIN{old_received='"$init_received"';old_sent='"$init_sent"'} -{ - received=$2 - sent=$10 - rx=(received-old_received)/scalar; - wx=(sent-old_sent)/scalar; - tx=rx+wr; - old_received=received; - old_sent=sent; - if(rx >= 0 && wx >= 0){ - '"$printf_command"'; - fflush(stdout); - } -} -' diff --git a/freeBSD/i3/scripts/battery-pinebook-pro b/freeBSD/i3/scripts/battery-pinebook-pro deleted file mode 100755 index fd97370..0000000 --- a/freeBSD/i3/scripts/battery-pinebook-pro +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -#simple Shellscript for i3blocks on Pinebook pro -#05012020 geri123@gmx.net Gerhard S. -#battery-symbols: on Manjaro you need the awesome-terminal-fonts package installed! -PERCENT=$(cat /sys/class/power_supply/cw2015-battery/capacity) -STATUS=$(cat /sys/class/power_supply/cw2015-battery/status) -case $(( - $PERCENT >= 0 && $PERCENT <= 20 ? 1 : - $PERCENT > 20 && $PERCENT <= 40 ? 2 : - $PERCENT > 40 && $PERCENT <= 60 ? 3 : - $PERCENT > 60 && $PERCENT <= 80 ? 4 : 5)) in -# - (1) echo $STATUS:"" :$PERCENT%;; - (2) echo $STATUS:"" :$PERCENT%;; - (3) echo $STATUS:"" :$PERCENT%;; - (4) echo $STATUS:"" :$PERCENT%;; - (5) echo $STATUS:"" :$PERCENT%;; -esac diff --git a/freeBSD/i3/scripts/battery1 b/freeBSD/i3/scripts/battery1 deleted file mode 100755 index 3b9d5a7..0000000 --- a/freeBSD/i3/scripts/battery1 +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/perl -# -# Copyright 2014 Pierre Mavro -# Copyright 2014 Vivien Didelot -# -# Licensed under the terms of the GNU GPL v3, or any later version. -# -# This script is meant to use with i3blocks. It parses the output of the "acpi" -# command (often provided by a package of the same name) to read the status of -# the battery, and eventually its remaining time (to full charge or discharge). -# -# The color will gradually change for a percentage below 85%, and the urgency -# (exit code 33) is set if there is less that 5% remaining. - -# Edited by Andreas Lindlbauer - -use strict; -use warnings; -use utf8; - -# otherwise we get in console "Wide character in print at" -binmode(STDOUT, ':utf8'); - -# my $acpi; -my $upower; -my $percent; -my $bat_state; -my $status; -my $ac_adapt; -my $full_text; -my $short_text; -my $label = '😅'; -my $bat_number = $ENV{BLOCK_INSTANCE} || 0; - -open (UPOWER, "upower -i /org/freedesktop/UPower/devices/battery_BAT$bat_number | grep 'percentage' |") or die; -$upower = ; -close(UPOWER); - -# fail on unexpected output -if ($upower !~ /: (\d+)%/) { - die "$upower\n"; -} - -$percent = $1; -$full_text = "$percent%"; - -open (BAT_STATE, "upower -i /org/freedesktop/UPower/devices/battery_BAT$bat_number | grep 'state' |") or die; -$bat_state = ; -close(BAT_STATE); - -if ($bat_state !~ /: (\w+)/) { - die "$bat_state\n"; -} -$status = $1; - -if ($status eq 'discharging') { - $full_text .= ' '; -} elsif ($status eq 'charging') { - $full_text .= ' '; -} elsif ($status eq 'Unknown') { - open (AC_ADAPTER, "acpi -a |") or die; - $ac_adapt = ; - close(AC_ADAPTER); - - if ($ac_adapt =~ /: ([\w-]+)/) { - $ac_adapt = $1; - - if ($ac_adapt eq 'on-line') { - $full_text .= ' CHR'; - } elsif ($ac_adapt eq 'off-line') { - $full_text .= ' DIS'; - } - } -} - -$short_text = $full_text; - -if ($percent < 20) { - $label = ''; -} elsif ($percent < 45) { - $label = ''; -} elsif ($percent < 70) { - $label = ''; -} elsif ($percent < 95) { - $label = ''; -} else { - $label = ''; -} - -# print text -print " ${label}"; -print " $full_text\n"; -print " ${label}"; -print " $short_text\n"; - -# consider color and urgent flag only on discharge -if ($status eq 'discharging') { - - if ($percent < 20) { - print "#FF0000\n"; - } elsif ($percent < 40) { - print "#FFAE00\n"; - } elsif ($percent < 60) { - print "#FFF600\n"; - } elsif ($percent < 85) { - print "#A8FF00\n"; - } - - if ($percent < 5) { - exit(33); - } -} - -exit(0); diff --git a/freeBSD/i3/scripts/battery2 b/freeBSD/i3/scripts/battery2 deleted file mode 100755 index 2d55dab..0000000 --- a/freeBSD/i3/scripts/battery2 +++ /dev/null @@ -1,106 +0,0 @@ -#!/usr/bin/env python3 -# -# Copyright (C) 2016 James Murphy -# Licensed under the GPL version 2 only -# -# A battery indicator blocklet script for i3blocks - -from subprocess import check_output -import os -import re - -config = dict(os.environ) -status = check_output(['acpi'], universal_newlines=True) - -if not status: - # stands for no battery found - color = config.get("color_10", "red") - fulltext = "\uf00d \uf240".format(color) - percentleft = 100 -else: - # if there is more than one battery in one laptop, the percentage left is - # available for each battery separately, although state and remaining - # time for overall block is shown in the status of the first battery - batteries = status.split("\n") - state_batteries=[] - commasplitstatus_batteries=[] - percentleft_batteries=[] - time = "" - for battery in batteries: - if battery!='': - state_batteries.append(battery.split(": ")[1].split(", ")[0]) - commasplitstatus = battery.split(", ") - if not time: - time = commasplitstatus[-1].strip() - # check if it matches a time - time = re.match(r"(\d+):(\d+)", time) - if time: - time = ":".join(time.groups()) - timeleft = " ({})".format(time) - else: - timeleft = "" - - p = int(commasplitstatus[1].rstrip("%\n")) - if p>0: - percentleft_batteries.append(p) - commasplitstatus_batteries.append(commasplitstatus) - state = state_batteries[0] - commasplitstatus = commasplitstatus_batteries[0] - if percentleft_batteries: - percentleft = int(sum(percentleft_batteries)/len(percentleft_batteries)) - else: - percentleft = 0 - - # stands for charging - color = config.get("color_charging", "yellow") - FA_LIGHTNING = "\uf0e7".format(color) - - # stands for plugged in - FA_PLUG = "\uf1e6" - - # stands for using battery - FA_BATTERY = "\uf240" - - # stands for unknown status of battery - FA_QUESTION = "\uf128" - - - if state == "Discharging": - fulltext = FA_BATTERY + " " - elif state == "Full": - fulltext = FA_PLUG + " " - timeleft = "" - elif state == "Unknown": - fulltext = FA_QUESTION + " " + FA_BATTERY + " " - timeleft = "" - else: - fulltext = FA_LIGHTNING + " " + FA_PLUG + " " - - def color(percent): - if percent < 10: - # exit code 33 will turn background red - return config.get("color_10", "#FFFFFF") - if percent < 20: - return config.get("color_20", "#FF3300") - if percent < 30: - return config.get("color_30", "#FF6600") - if percent < 40: - return config.get("color_40", "#FF9900") - if percent < 50: - return config.get("color_50", "#FFCC00") - if percent < 60: - return config.get("color_60", "#FFFF00") - if percent < 70: - return config.get("color_70", "#FFFF33") - if percent < 80: - return config.get("color_80", "#FFFF66") - return config.get("color_full", "#FFFFFF") - - form = '{}%' - fulltext += form.format(color(percentleft), percentleft) - #fulltext += timeleft - -print(fulltext) -print(fulltext) -if percentleft < 10: - exit(33) diff --git a/freeBSD/i3/scripts/blur-lock b/freeBSD/i3/scripts/blur-lock deleted file mode 100755 index 4ff7ed6..0000000 --- a/freeBSD/i3/scripts/blur-lock +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -PICTURE=/tmp/i3lock.png -SCREENSHOT="scrot -z $PICTURE" - -BLUR="5x4" - -$SCREENSHOT -convert $PICTURE -blur $BLUR $PICTURE -i3lock -i $PICTURE -rm $PICTURE diff --git a/freeBSD/i3/scripts/cpu_usage b/freeBSD/i3/scripts/cpu_usage deleted file mode 100755 index 8d8a267..0000000 --- a/freeBSD/i3/scripts/cpu_usage +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/perl -# -# Copyright 2014 Pierre Mavro -# Copyright 2014 Vivien Didelot -# Copyright 2014 Andreas Guldstrand -# -# Licensed under the terms of the GNU GPL v3, or any later version. - -use strict; -use warnings; -use utf8; -use Getopt::Long; - -# default values -my $t_warn = $ENV{T_WARN} // 50; -my $t_crit = $ENV{T_CRIT} // 80; -my $cpu_usage = -1; -my $decimals = $ENV{DECIMALS} // 0; -my $label = $ENV{LABEL} // ""; - -sub help { - print "Usage: cpu_usage [-w ] [-c ] [-d ]\n"; - print "-w : warning threshold to become yellow\n"; - print "-c : critical threshold to become red\n"; - print "-d : Use decimals for percentage (default is $decimals) \n"; - exit 0; -} - -GetOptions("help|h" => \&help, - "w=i" => \$t_warn, - "c=i" => \$t_crit, - "d=i" => \$decimals, -); - -# Get CPU usage -$ENV{LC_ALL}="en_US"; # if mpstat is not run under en_US locale, things may break, so make sure it is -open (MPSTAT, 'mpstat 1 1 |') or die; -while () { - if (/^.*\s+(\d+\.\d+)[\s\x00]?$/) { - $cpu_usage = 100 - $1; # 100% - %idle - last; - } -} -close(MPSTAT); - -$cpu_usage eq -1 and die 'Can\'t find CPU information'; - -# Print short_text, full_text -print "${label}"; -printf "%02.${decimals}f%%\n", $cpu_usage; -print "${label}"; -printf "%02.${decimals}f%%\n", $cpu_usage; - -# Print color, if needed -if ($cpu_usage >= $t_crit) { - print "#FF0000\n"; - exit 33; -} elsif ($cpu_usage >= $t_warn) { - print "#FFFC00\n"; -} - -exit 0; diff --git a/freeBSD/i3/scripts/disk b/freeBSD/i3/scripts/disk deleted file mode 100755 index e18c7aa..0000000 --- a/freeBSD/i3/scripts/disk +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env bash -# Copyright (C) 2014 Julien Bonjean - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -DIR="${DIR:-$BLOCK_INSTANCE}" -DIR="${DIR:-$HOME}" -ALERT_LOW="${ALERT_LOW:-$1}" -ALERT_LOW="${ALERT_LOW:-10}" # color will turn red under this value (default: 10%) - -LOCAL_FLAG="-l" -if [ "$1" = "-n" ] || [ "$2" = "-n" ]; then - LOCAL_FLAG="" -fi - -df -h -P $LOCAL_FLAG "$DIR" | awk -v label="$LABEL" -v alert_low=$ALERT_LOW ' -/\/.*/ { - # full text - print label $4 - - # short text - print label $4 - - use=$5 - - # no need to continue parsing - exit 0 -} - -END { - gsub(/%$/,"",use) - if (100 - use < alert_low) { - # color - print "#FF0000" - } -} -' diff --git a/freeBSD/i3/scripts/empty_workspace b/freeBSD/i3/scripts/empty_workspace deleted file mode 100755 index b962cde..0000000 --- a/freeBSD/i3/scripts/empty_workspace +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -MAX_DESKTOPS=20 - -WORKSPACES=$(seq -s '\n' 1 1 ${MAX_DESKTOPS}) - -EMPTY_WORKSPACE=$( (i3-msg -t get_workspaces | tr ',' '\n' | grep num | awk -F: '{print int($2)}' ; \ - echo -e ${WORKSPACES} ) | sort -n | uniq -u | head -n 1) - -i3-msg workspace ${EMPTY_WORKSPACE} diff --git a/freeBSD/i3/scripts/keyboard-layout b/freeBSD/i3/scripts/keyboard-layout deleted file mode 100755 index 9a3e314..0000000 --- a/freeBSD/i3/scripts/keyboard-layout +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -KBD=$(/usr/bin/xkblayout-state print '%s') -echo $KBD - diff --git a/freeBSD/i3/scripts/keyhint b/freeBSD/i3/scripts/keyhint deleted file mode 100755 index 8b8c3e3..0000000 --- a/freeBSD/i3/scripts/keyhint +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -Main() { - source /usr/share/endeavouros/scripts/eos-script-lib-yad || return 1 - - local command=( - eos_yad --title="EndeavourOS i3-wm keybindings:" --no-buttons --geometry=400x345-15-400 --list - --column=key: --column=description: --column=command: - "ESC" "close this app" "" - "=" "modkey" "(set mod Mod4)" - "+enter" "open a terminal" "" - "+Shift+n" "new empty workspace" "" - "+w" "open Browser" "" - "+n" "open Filebrowser" "" - "+d" "app menu" "" - "+q" "close focused app" "" - "Print-key" "screenshot" "" - "+Shift+e" "logout menu" "" - "F1" "open keybinding helper" "" - ) - - "${command[@]}" -} - -Main "$@" diff --git a/freeBSD/i3/scripts/keyhint-2 b/freeBSD/i3/scripts/keyhint-2 deleted file mode 100755 index 2e86d12..0000000 --- a/freeBSD/i3/scripts/keyhint-2 +++ /dev/null @@ -1,6 +0,0 @@ -I3_CONFIG=$HOME/.config/i3/config -mod_key=$(sed -nre 's/^set \$mod (.*)/\1/p' ${I3_CONFIG}) -grep "^bindsym" ${I3_CONFIG} \ - | sed "s/-\(-\w\+\)\+//g;s/\$mod/${mod_key}/g;s/Mod1/Alt/g;s/exec //;s/bindsym //;s/^\s\+//;s/^\([^ ]\+\) \(.\+\)$/\2: \1/;s/^\s\+//" \ - | tr -s ' ' \ - | rofi -dmenu -theme ~/.config/rofi/rofikeyhint.rasi diff --git a/freeBSD/i3/scripts/memory b/freeBSD/i3/scripts/memory deleted file mode 100755 index 6a69a6f..0000000 --- a/freeBSD/i3/scripts/memory +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/env bash -# Copyright (C) 2014 Julien Bonjean - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -TYPE="${BLOCK_INSTANCE:-mem}" - -awk -v type=$TYPE ' -/^MemTotal:/ { - mem_total=$2 -} -/^MemFree:/ { - mem_free=$2 -} -/^Buffers:/ { - mem_free+=$2 -} -/^Cached:/ { - mem_free+=$2 -} -/^SwapTotal:/ { - swap_total=$2 -} -/^SwapFree:/ { - swap_free=$2 -} -END { - if (type == "swap") { - free=swap_free/1024/1024 - used=(swap_total-swap_free)/1024/1024 - total=swap_total/1024/1024 - } else { - free=mem_free/1024/1024 - used=(mem_total-mem_free)/1024/1024 - total=mem_total/1024/1024 - } - - pct=0 - if (total > 0) { - pct=used/total*100 - } - - # full text - # printf("%.1fG/%.1fG (%.f%%)\n", used, total, pct) - - # short text - printf("%.f%%\n", pct) - - # color - if (pct > 90) { - print("#FF0000") - } else if (pct > 80) { - print("#FFAE00") - } else if (pct > 70) { - print("#FFF600") - } -} -' /proc/meminfo diff --git a/freeBSD/i3/scripts/openweather b/freeBSD/i3/scripts/openweather deleted file mode 100755 index c51f9d3..0000000 --- a/freeBSD/i3/scripts/openweather +++ /dev/null @@ -1,93 +0,0 @@ -#!/usr/bin/env bash -# Edited by Andreas Lindlbauer - -temps=("#0600FF" "#0500FF" "#0400FF" "#0300FF" "#0200FF" "#0100FF" "#0000FF" "#0002FF" "#0012FF" "#0022FF" "#0032FF" "#0044FF" "#0054FF" "#0064FF" "#0074FF" "#0084FF" "#0094FF" "#00A4FF" "#00B4FF" "#00C4FF" "#00D4FF" "#00E4FF" "#00FFF4" "#00FFD0" "#00FFA8" "#00FF83" "#00FF5C" "#00FF36" "#00FF10" "#17FF00" "#3EFF00" "#65FF00" "#B0FF00" "#FDFF00" "#FFF000" "#FFDC00" "#FFC800" "#FFB400" "#FFA000" "#FF8C00" "#FF7800" "#FF6400" "#FF5000" "#FF3C00" "#FF2800" "#FF1400" "#FF0000") - -command -v jq >/dev/null 2>&1 || { echo >&2 "Program 'jq' required but it is not installed. -Aborting."; exit 1; } -command -v wget >/dev/null 2>&1 || { echo >&2 "Program 'wget' required but is not installed. -Aborting."; exit 1; } - -# To use this script you need to create an API key here https://home.openweathermap.org -# You need to put your Open Weather APIKEY here: -APIKEY="keykeykey" -# And get your Latitute and Longitudes to put in here: -LAT="XX.XXXX" -LON="XX.XXXX" -URL="http://api.openweathermap.org/data/2.5/onecall?lat=${LAT}&lon=${LON}&units=metric&exclude=minutely,hourly,daily&APPID=${APIKEY}" -WEATHER_RESPONSE=$(wget -qO- "${URL}") - -WEATHER_CONDITION=$(echo "$WEATHER_RESPONSE" | jq '.current.weather[0].main' | sed 's/"//g') -WEATHER_TEMP=$(echo "$WEATHER_RESPONSE" | jq '.current.feels_like') -WEATHER_INT=${WEATHER_TEMP%.*} - -TIME_NOW=$( echo "$WEATHER_RESPONSE" | jq '.current.dt') -SUNRISE=$( echo "$WEATHER_RESPONSE" | jq '.current.sunrise') -SUNSET=$( echo "$WEATHER_RESPONSE" | jq '.current.sunset') -DESCRIPTION=$( echo "$WEATHER_RESPONSE" | jq '.current.weather[0].description' | sed 's/"//g') -WEATHER_ALERT=$( echo "$WEATHER_RESPONSE" | jq '.alerts[0].event' | sed 's/"//g') -DAYTIME="n" - -if [[ "$TIME_NOW" > "$SUNRISE" ]] && [[ "$TIME_NOW" < "$SUNSET" ]]; then - DAYTIME="d" -fi - -case $WEATHER_CONDITION in - 'Clouds') - if [ "$DAYTIME" == "d" ]; then - WEATHER_ICON="" - else - WEATHER_ICON="" - fi - ;; - 'Rain') - WEATHER_ICON="" - ;; - 'Drizzle') - if [ "$DAYTIME" == "d" ]; then - WEATHER_ICON="" - else - WEATHER_ICON="" - fi - ;; - 'Thunderstorm') - WEATHER_ICON="" - ;; - 'Snow') - WEATHER_ICON="" - ;; - 'Clear') - if [ "$DAYTIME" == "d" ]; then - WEATHER_ICON="" - else - WEATHER_ICON="" - fi - ;; - *) - WEATHER_ICON="🌫" - ;; -esac - -WEATHER_COLOR="#FFFFFF" -if [ "$WEATHER_INT" -lt "-11" ]; then - WEATHER_COLOR="#0000FF" -elif [ "$WEATHER_INT" -gt 35 ]; then - WEATHER_COLOR="#FF0000" -else - WEATHER_INT=$(( WEATHER_INT + 11 )) - WEATHER_COLOR="${temps[$WEATHER_INT]}" -fi - -full_text="${WEATHER_ICON} ${WEATHER_TEMP}°C: ${DESCRIPTION} " -if [ "$WEATHER_ALERT" != "null" ]; then - WARN_START=$(echo "$WEATHER_RESPONSE" | jq '.alerts[0].start') - WARN_END=$(echo "$WEATHER_RESPONSE" | jq '.alerts[0].end') - WARN_START=$(date -d @"$WARN_START" +%a_%k:%M) - WARN_END=$(date -d @"$WARN_END" +%a_%k:%M) - full_text="${WEATHER_ICON} ${WEATHER_TEMP}°C: ${DESCRIPTION}  ${WEATHER_ALERT} from ${WARN_START} to ${WARN_END}  " -fi - - -echo "${full_text}" -echo "${WEATHER_TEMP}°C " -echo "${WEATHER_COLOR}" diff --git a/freeBSD/i3/scripts/openweather-city b/freeBSD/i3/scripts/openweather-city deleted file mode 100755 index 6ea051c..0000000 --- a/freeBSD/i3/scripts/openweather-city +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bash - -command -v jq >/dev/null 2>&1 || { echo >&2 "Program 'jq' required but it is not installed. -Aborting."; exit 1; } -command -v wget >/dev/null 2>&1 || { echo >&2 "Program 'wget' required but is not installed. -Aborting."; exit 1; } - -# To use this script you need to create an API key here https://home.openweathermap.org -# You need to put your Open Weather APIKEY here: -APIKEY="keykey" -# find your City ID here: https://openweathermap.org/ -# search for your city and copy the ID from the URL inside the browser. -CITY_ID="idid" -URL="http://api.openweathermap.org/data/2.5/weather?id=${CITY_ID}&units=metric&APPID=${APIKEY}" - -WEATHER_RESPONSE=$(wget -qO- "${URL}") - -WEATHER_CONDITION=$(echo $WEATHER_RESPONSE | jq '.weather[0].main' | sed 's/"//g') -WEATHER_TEMP=$(echo $WEATHER_RESPONSE | jq '.main.temp') -WIND_DIR=$( echo "$WEATHER_RESPONSE" | jq '.wind.deg') -WIND_SPEED=$( echo "$WEATHER_RESPONSE" | jq '.wind.speed') - -WIND_SPEED=$(awk "BEGIN {print 60*60*$WIND_SPEED/1000}") -WIND_DIR=$(awk "BEGIN {print int(($WIND_DIR % 360)/22.5)}") -DIR_ARRAY=( N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW N ) -WIND_DIR=${DIR_ARRAY[WIND_DIR]} - -case $WEATHER_CONDITION in - 'Clouds') - WEATHER_ICON="" - ;; - 'Rain') - WEATHER_ICON="" - ;; - 'Snow') - WEATHER_ICON="" - ;; - *) - WEATHER_ICON="" - ;; -esac - -echo "${WEATHER_ICON} ${WEATHER_TEMP}°C: ${WIND_SPEED} km/h ${WIND_DIR}" diff --git a/freeBSD/i3/scripts/openweather.conf b/freeBSD/i3/scripts/openweather.conf deleted file mode 100755 index f11aa86..0000000 --- a/freeBSD/i3/scripts/openweather.conf +++ /dev/null @@ -1,5 +0,0 @@ -# Weather -[Weather] -command=~/.config/i3/scripts/openweather -interval=1800 -color=#7275b3 diff --git a/freeBSD/i3/scripts/power-profiles b/freeBSD/i3/scripts/power-profiles deleted file mode 100755 index feb63dc..0000000 --- a/freeBSD/i3/scripts/power-profiles +++ /dev/null @@ -1,190 +0,0 @@ -#!/usr/bin/env bash -# -# Use rofi/zenity to change system runstate thanks to systemd. -# -# Note: this currently relies on associative array support in the shell. -# -# Inspired from i3pystatus wiki: -# https://github.com/enkore/i3pystatus/wiki/Shutdown-Menu -# -# Copyright 2015 Benjamin Chrétien -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# power-profiles-daemon implementation: -# needs package power-profiles-daemon installed and the service running see here: -# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon -# used in i3-blocks: ~/.config/i3/i3blocks.conf together with: ~/.config/i3/scripts/ppd-status - - -####################################################################### -# BEGIN CONFIG # -####################################################################### - -# Use a custom lock script -#LOCKSCRIPT="i3lock-extra -m pixelize" - -# Colors: FG (foreground), BG (background), HL (highlighted) -FG_COLOR="#bbbbbb" -BG_COLOR="#111111" -HLFG_COLOR="#111111" -HLBG_COLOR="#bbbbbb" -BORDER_COLOR="#222222" - -# Options not related to colors -#ROFI_TEXT=":" -#ROFI_OPTIONS=(-width -11 -location 0 -hide-scrollbar -bw 30 -color-window "#dd310027,#dd0310027,#dd310027" -padding 5) -#ROFI_OPTIONS=(-width -18 -location 4 -hide-scrollbar -color-window "#cc310027,#00a0009a,#cc310027" -padding 5 -font "Sourcecode Pro Regular 10, FontAwesome 9") -ROFI_OPTIONS=(-theme ~/.config/rofi/power-profiles.rasi) -# Zenity options -ZENITY_TITLE="Power Profiles" -ZENITY_TEXT="Set Profiles:" -ZENITY_OPTIONS=(--column= --hide-header) - -####################################################################### -# END CONFIG # -####################################################################### - -# Whether to ask for user's confirmation -enable_confirmation=false - -# Preferred launcher if both are available -preferred_launcher="rofi" - -usage="$(basename "$0") [-h] [-c] [-p name] -- display a menu for shutdown, reboot, lock etc. - -where: - -h show this help text - -c ask for user confirmation - -p preferred launcher (rofi or zenity) - -This script depends on: - - systemd, - - i3, - - rofi or zenity." - -# Check whether the user-defined launcher is valid -launcher_list=(rofi zenity) -function check_launcher() { - if [[ ! "${launcher_list[@]}" =~ (^|[[:space:]])"$1"($|[[:space:]]) ]]; then - echo "Supported launchers: ${launcher_list[*]}" - exit 1 - else - # Get array with unique elements and preferred launcher first - # Note: uniq expects a sorted list, so we cannot use it - i=1 - launcher_list=($(for l in "$1" "${launcher_list[@]}"; do printf "%i %s\n" "$i" "$l"; let i+=1; done \ - | sort -uk2 | sort -nk1 | cut -d' ' -f2- | tr '\n' ' ')) - fi -} - -# Parse CLI arguments -while getopts "hcp:" option; do - case "${option}" in - h) echo "${usage}" - exit 0 - ;; - c) enable_confirmation=true - ;; - p) preferred_launcher="${OPTARG}" - check_launcher "${preferred_launcher}" - ;; - *) exit 1 - ;; - esac -done - -# Check whether a command exists -function command_exists() { - command -v "$1" &> /dev/null 2>&1 -} - -# systemctl required -if ! command_exists systemctl ; then - exit 1 -fi - -# menu defined as an associative array -typeset -A menu - -# Menu with keys/commands - -menu=( - [ Performance]="powerprofilesctl set performance" - [ Balanced]="powerprofilesctl set balanced" - [ Power Saver]="powerprofilesctl set power-saver" - [ Cancel]="" -) - -menu_nrows=${#menu[@]} - -# Menu entries that may trigger a confirmation message -menu_confirm="Shutdown Reboot Hibernate Suspend Halt Logout" - -launcher_exe="" -launcher_options="" -rofi_colors="" - -function prepare_launcher() { - if [[ "$1" == "rofi" ]]; then - rofi_colors=(-bc "${BORDER_COLOR}" -bg "${BG_COLOR}" -fg "${FG_COLOR}" \ - -hlfg "${HLFG_COLOR}" -hlbg "${HLBG_COLOR}") - launcher_exe="rofi" - launcher_options=(-dmenu -i -lines "${menu_nrows}" -p "${ROFI_TEXT}" \ - "${rofi_colors}" "${ROFI_OPTIONS[@]}") - elif [[ "$1" == "zenity" ]]; then - launcher_exe="zenity" - launcher_options=(--list --title="${ZENITY_TITLE}" --text="${ZENITY_TEXT}" \ - "${ZENITY_OPTIONS[@]}") - fi -} - -for l in "${launcher_list[@]}"; do - if command_exists "${l}" ; then - prepare_launcher "${l}" - break - fi -done - -# No launcher available -if [[ -z "${launcher_exe}" ]]; then - exit 1 -fi - -launcher=(${launcher_exe} "${launcher_options[@]}") -selection="$(printf '%s\n' "${!menu[@]}" | sort | "${launcher[@]}")" - -function ask_confirmation() { - if [ "${launcher_exe}" == "rofi" ]; then - confirmed=$(echo -e "Yes\nNo" | rofi -dmenu -i -lines 2 -p "${selection}?" \ - "${rofi_colors}" "${ROFI_OPTIONS[@]}") - [ "${confirmed}" == "Yes" ] && confirmed=0 - elif [ "${launcher_exe}" == "zenity" ]; then - zenity --question --text "Are you sure you want to ${selection,,}?" - confirmed=$? - fi - - if [ "${confirmed}" == 0 ]; then - i3-msg -q "exec --no-startup-id ${menu[${selection}]}" - fi -} - -if [[ $? -eq 0 && ! -z ${selection} ]]; then - if [[ "${enable_confirmation}" = true && \ - ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then - ask_confirmation - else - i3-msg -q "exec --no-startup-id ${menu[${selection}]}" - fi -fi diff --git a/freeBSD/i3/scripts/powermenu b/freeBSD/i3/scripts/powermenu deleted file mode 100755 index 791a9e4..0000000 --- a/freeBSD/i3/scripts/powermenu +++ /dev/null @@ -1,186 +0,0 @@ -#!/usr/bin/env bash -# -# Use rofi/zenity to change system runstate thanks to systemd. -# -# Note: this currently relies on associative array support in the shell. -# -# Inspired from i3pystatus wiki: -# https://github.com/enkore/i3pystatus/wiki/Shutdown-Menu -# -# Copyright 2015 Benjamin Chrétien -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# modified to work with latest rofi update by joekamprad - -####################################################################### -# BEGIN CONFIG # -####################################################################### - -# Use a custom lock script -#LOCKSCRIPT="i3lock-extra -m pixelize" - -# Colors: FG (foreground), BG (background), HL (highlighted) -FG_COLOR="#bbbbbb" -BG_COLOR="#111111" -HLFG_COLOR="#111111" -HLBG_COLOR="#bbbbbb" -BORDER_COLOR="#222222" - -# Options not related to colors (most rofi options do not work anymore) -ROFI_OPTIONS=(-theme ~/.config/rofi/powermenu.rasi) -# Zenity options -ZENITY_TITLE="Power Menu" -ZENITY_TEXT="Action:" -ZENITY_OPTIONS=(--column= --hide-header) - -####################################################################### -# END CONFIG # -####################################################################### - -# Whether to ask for user's confirmation -enable_confirmation=false - -# Preferred launcher if both are available -preferred_launcher="rofi" - -usage="$(basename "$0") [-h] [-c] [-p name] -- display a menu for shutdown, reboot, lock etc. - -where: - -h show this help text - -c ask for user confirmation - -p preferred launcher (rofi or zenity) - -This script depends on: - - systemd, - - i3, - - rofi or zenity." - -# Check whether the user-defined launcher is valid -launcher_list=(rofi zenity) -function check_launcher() { - if [[ ! "${launcher_list[@]}" =~ (^|[[:space:]])"$1"($|[[:space:]]) ]]; then - echo "Supported launchers: ${launcher_list[*]}" - exit 1 - else - # Get array with unique elements and preferred launcher first - # Note: uniq expects a sorted list, so we cannot use it - i=1 - launcher_list=($(for l in "$1" "${launcher_list[@]}"; do printf "%i %s\n" "$i" "$l"; let i+=1; done \ - | sort -uk2 | sort -nk1 | cut -d' ' -f2- | tr '\n' ' ')) - fi -} - -# Parse CLI arguments -while getopts "hcp:" option; do - case "${option}" in - h) echo "${usage}" - exit 0 - ;; - c) enable_confirmation=true - ;; - p) preferred_launcher="${OPTARG}" - check_launcher "${preferred_launcher}" - ;; - *) exit 1 - ;; - esac -done - -# Check whether a command exists -function command_exists() { - command -v "$1" &> /dev/null 2>&1 -} - -# systemctl required -if ! command_exists systemctl ; then - exit 1 -fi - -# menu defined as an associative array -typeset -A menu - -# Menu with keys/commands - -menu=( - [ Shutdown]="systemctl poweroff" - [ Reboot]="systemctl reboot" - [ Suspend]="systemctl suspend" - [ Hibernate]="systemctl hibernate" - [ Lock]="~/.config/i3/scripts/blur-lock" - [ Logout]="i3-msg exit" - [ Cancel]="" -) - -menu_nrows=${#menu[@]} - -# Menu entries that may trigger a confirmation message -menu_confirm="Shutdown Reboot Hibernate Suspend Halt Logout" - -launcher_exe="" -launcher_options="" -rofi_colors="" - -function prepare_launcher() { - if [[ "$1" == "rofi" ]]; then - rofi_colors=(-bc "${BORDER_COLOR}" -bg "${BG_COLOR}" -fg "${FG_COLOR}" \ - -hlfg "${HLFG_COLOR}" -hlbg "${HLBG_COLOR}") - launcher_exe="rofi" - launcher_options=(-dmenu -i -lines "${menu_nrows}" -p "${ROFI_TEXT}" \ - "${rofi_colors}" "${ROFI_OPTIONS[@]}") - elif [[ "$1" == "zenity" ]]; then - launcher_exe="zenity" - launcher_options=(--list --title="${ZENITY_TITLE}" --text="${ZENITY_TEXT}" \ - "${ZENITY_OPTIONS[@]}") - fi -} - -for l in "${launcher_list[@]}"; do - if command_exists "${l}" ; then - prepare_launcher "${l}" - break - fi -done - -# No launcher available -if [[ -z "${launcher_exe}" ]]; then - exit 1 -fi - -launcher=(${launcher_exe} "${launcher_options[@]}") -selection="$(printf '%s\n' "${!menu[@]}" | sort | "${launcher[@]}")" - -function ask_confirmation() { - if [ "${launcher_exe}" == "rofi" ]; then - confirmed=$(echo -e "Yes\nNo" | rofi -dmenu -i -lines 2 -p "${selection}?" \ - "${rofi_colors}" "${ROFI_OPTIONS[@]}") - [ "${confirmed}" == "Yes" ] && confirmed=0 - elif [ "${launcher_exe}" == "zenity" ]; then - zenity --question --text "Are you sure you want to ${selection,,}?" - confirmed=$? - fi - - if [ "${confirmed}" == 0 ]; then - i3-msg -q "exec --no-startup-id ${menu[${selection}]}" - fi -} - -if [[ $? -eq 0 && ! -z ${selection} ]]; then - if [[ "${enable_confirmation}" = true && \ - ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then - ask_confirmation - else - i3-msg -q "exec --no-startup-id ${menu[${selection}]}" - fi -fi diff --git a/freeBSD/i3/scripts/ppd-status b/freeBSD/i3/scripts/ppd-status deleted file mode 100755 index 8e6eb7b..0000000 --- a/freeBSD/i3/scripts/ppd-status +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# -# power-profiles-daemon implementation: -# needs package power-profiles-daemon installed and the service running see here: -# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon -# used in i3-blocks: ~/.config/i3/i3blocks.conf together with: ~/.config/i3/scripts/power-profiles - -# script to show current power profile - -current_profile=$(/usr/bin/powerprofilesctl get) -echo "$current_profile" diff --git a/freeBSD/i3/scripts/temperature b/freeBSD/i3/scripts/temperature deleted file mode 100755 index 4e31610..0000000 --- a/freeBSD/i3/scripts/temperature +++ /dev/null @@ -1,86 +0,0 @@ -#!/usr/bin/env perl -# Copyright 2014 Pierre Mavro -# Copyright 2014 Vivien Didelot -# Copyright 2014 Andreas Guldstrand -# Copyright 2014 Benjamin Chretien - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -# Edited by Andreas Lindlbauer - -use strict; -use warnings; -use utf8; -use Getopt::Long; - -binmode(STDOUT, ":utf8"); - -# default values -my $t_warn = $ENV{T_WARN} || 70; -my $t_crit = $ENV{T_CRIT} || 90; -my $chip = $ENV{SENSOR_CHIP} || ""; -my $temperature = -9999; -my $label = "😀 "; - -sub help { - print "Usage: temperature [-w ] [-c ] [--chip ]\n"; - print "-w : warning threshold to become yellow\n"; - print "-c : critical threshold to become red\n"; - print "--chip : sensor chip\n"; - exit 0; -} - -GetOptions("help|h" => \&help, - "w=i" => \$t_warn, - "c=i" => \$t_crit, - "chip=s" => \$chip); - -# Get chip temperature -open (SENSORS, "sensors -u $chip |") or die; -while () { - if (/^\s+temp1_input:\s+[\+]*([\-]*\d+\.\d)/) { - $temperature = $1; - last; - } -} -close(SENSORS); - -$temperature eq -9999 and die 'Cannot find temperature'; - -if ($temperature < 45) { - $label = ''; -} elsif ($temperature < 55) { - $label = ''; -} elsif ($temperature < 65) { - $label = ''; -} elsif ($temperature < 75) { - $label = ''; -} else { - $label = ''; -} -# Print short_text, full_text -print "${label}"; -print " $temperature°C\n"; -print "${label}"; -print " $temperature°C\n"; - -# Print color, if needed -if ($temperature >= $t_crit) { - print "#FF0000\n"; - exit 33; -} elsif ($temperature >= $t_warn) { - print "#FFFC00\n"; -} - -exit 0; diff --git a/freeBSD/i3/scripts/volume b/freeBSD/i3/scripts/volume deleted file mode 100755 index 39618e1..0000000 --- a/freeBSD/i3/scripts/volume +++ /dev/null @@ -1,93 +0,0 @@ -#!/usr/bin/env bash -# Copyright (C) 2014 Julien Bonjean -# Copyright (C) 2014 Alexander Keller - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# original source: https://github.com/vivien/i3blocks-contrib/tree/master/volume -# check the readme: https://github.com/vivien/i3blocks-contrib/blob/master/volume/README.md -#------------------------------------------------------------------------ - -# The second parameter overrides the mixer selection -# For PulseAudio users, eventually use "pulse" -# For Jack/Jack2 users, use "jackplug" -# For ALSA users, you may use "default" for your primary card -# or you may use hw:# where # is the number of the card desired -if [[ -z "$MIXER" ]] ; then - MIXER="default" - if command -v pulseaudio >/dev/null 2>&1 && pulseaudio --check ; then - # pulseaudio is running, but not all installations use "pulse" - if amixer -D pulse info >/dev/null 2>&1 ; then - MIXER="pulse" - fi - fi - [ -n "$(lsmod | grep jack)" ] && MIXER="jackplug" - MIXER="${2:-$MIXER}" -fi - -# The instance option sets the control to report and configure -# This defaults to the first control of your selected mixer -# For a list of the available, use `amixer -D $Your_Mixer scontrols` -if [[ -z "$SCONTROL" ]] ; then - SCONTROL="${BLOCK_INSTANCE:-$(amixer -D $MIXER scontrols | - sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | - head -n1 - )}" -fi - -# The first parameter sets the step to change the volume by (and units to display) -# This may be in in % or dB (eg. 5% or 3dB) -if [[ -z "$STEP" ]] ; then - STEP="${1:-5%}" -fi - -# AMIXER(1): -# "Use the mapped volume for evaluating the percentage representation like alsamixer, to be -# more natural for human ear." -NATURAL_MAPPING=${NATURAL_MAPPING:-0} -if [[ "$NATURAL_MAPPING" != "0" ]] ; then - AMIXER_PARAMS="-M" -fi - -#------------------------------------------------------------------------ - -capability() { # Return "Capture" if the device is a capture device - amixer $AMIXER_PARAMS -D $MIXER get $SCONTROL | - sed -n "s/ Capabilities:.*cvolume.*/Capture/p" -} - -volume() { - amixer $AMIXER_PARAMS -D $MIXER get $SCONTROL $(capability) -} - -format() { - - perl_filter='if (/.*\[(\d+%)\] (\[(-?\d+.\d+dB)\] )?\[(on|off)\]/)' - perl_filter+='{CORE::say $4 eq "off" ? "MUTE" : "' - # If dB was selected, print that instead - perl_filter+=$([[ $STEP = *dB ]] && echo '$3' || echo '$1') - perl_filter+='"; exit}' - output=$(perl -ne "$perl_filter") - echo "$LABEL$output" -} - -#------------------------------------------------------------------------ - -case $BLOCK_BUTTON in - 3) amixer $AMIXER_PARAMS -q -D $MIXER sset $SCONTROL $(capability) toggle ;; # right click, mute/unmute - 4) amixer $AMIXER_PARAMS -q -D $MIXER sset $SCONTROL $(capability) ${STEP}+ unmute ;; # scroll up, increase - 5) amixer $AMIXER_PARAMS -q -D $MIXER sset $SCONTROL $(capability) ${STEP}- unmute ;; # scroll down, decrease -esac - -volume | format diff --git a/freeBSD/i3/scripts/vpn b/freeBSD/i3/scripts/vpn deleted file mode 100755 index a348f96..0000000 --- a/freeBSD/i3/scripts/vpn +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (C) 2021 Andreas Lindlbauer -# Licensed under the terms of EUPLv1.2. -# -# i3blocks blocklet script to monitor the (nord)vpn connection - -vpnstatus="📢" -nordvpn_output=$(nordvpn status | cat -v | head -1 | sed -e 's/\^M-^M ^M//g' ) -if [ "${nordvpn_output}" = "Status: Connected" ]; then - vpnstatus="🥸" -elif [ "${nordvpn_output}" = "A new version of NordVPN is available! Please update the application." ]; then - nordvpn_output=$(nordvpn status | cat -v | head -2 | tail -1 | sed -e 's/\^M-^M ^M//g' ) - if [ "${nordvpn_output}" = "Status: Connected" ]; then - vpnstatus="🥴" - elif [ "${nordvpn_output}" = "Status: Disconnected" ]; then - vpnstatus="📢" - fi -elif [ "${nordvpn_output}" = "Status: Disconnected" ]; then - vpnstatus="📢" -elif [[ "$nordvpn_output" == *\/* ]] || [[ "$nordvpn_output" == *\\* ]]; then - vpnstatus="Something's very wrong" -fi - -echo "$vpnstatus" diff --git a/freeBSD/neofetch/config.conf b/freeBSD/neofetch/config.conf deleted file mode 100644 index cdba4c6..0000000 --- a/freeBSD/neofetch/config.conf +++ /dev/null @@ -1,864 +0,0 @@ -# See this wiki page for more info: -# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info -print_info() { - info title - info underline - - info "OS" distro - info "Host" model - info "Kernel" kernel - info "Uptime" uptime - info "Packages" packages - info "Shell" shell - info "Resolution" resolution - info "DE" de - info "WM" wm - info "WM Theme" wm_theme - info "Theme" theme - info "Icons" icons - info "Terminal" term - info "Terminal Font" term_font - info "CPU" cpu - info "GPU" gpu - info "Memory" memory - - # info "GPU Driver" gpu_driver # Linux/macOS only - # info "CPU Usage" cpu_usage - # info "Disk" disk - # info "Battery" battery - # info "Font" font - # info "Song" song - # [[ "$player" ]] && prin "Music Player" "$player" - # info "Local IP" local_ip - # info "Public IP" public_ip - # info "Users" users - # info "Locale" locale # This only works on glibc systems. - - info cols -} - -# Title - - -# Hide/Show Fully qualified domain name. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --title_fqdn -title_fqdn="off" - - -# Kernel - - -# Shorten the output of the kernel function. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --kernel_shorthand -# Supports: Everything except *BSDs (except PacBSD and PC-BSD) -# -# Example: -# on: '4.8.9-1-ARCH' -# off: 'Linux 4.8.9-1-ARCH' -kernel_shorthand="on" - - -# Distro - - -# Shorten the output of the distro function -# -# Default: 'off' -# Values: 'on', 'tiny', 'off' -# Flag: --distro_shorthand -# Supports: Everything except Windows and Haiku -distro_shorthand="off" - -# Show/Hide OS Architecture. -# Show 'x86_64', 'x86' and etc in 'Distro:' output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --os_arch -# -# Example: -# on: 'Arch Linux x86_64' -# off: 'Arch Linux' -os_arch="on" - - -# Uptime - - -# Shorten the output of the uptime function -# -# Default: 'on' -# Values: 'on', 'tiny', 'off' -# Flag: --uptime_shorthand -# -# Example: -# on: '2 days, 10 hours, 3 mins' -# tiny: '2d 10h 3m' -# off: '2 days, 10 hours, 3 minutes' -uptime_shorthand="on" - - -# Memory - - -# Show memory pecentage in output. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --memory_percent -# -# Example: -# on: '1801MiB / 7881MiB (22%)' -# off: '1801MiB / 7881MiB' -memory_percent="off" - -# Change memory output unit. -# -# Default: 'mib' -# Values: 'kib', 'mib', 'gib' -# Flag: --memory_unit -# -# Example: -# kib '1020928KiB / 7117824KiB' -# mib '1042MiB / 6951MiB' -# gib: ' 0.98GiB / 6.79GiB' -memory_unit="mib" - - -# Packages - - -# Show/Hide Package Manager names. -# -# Default: 'tiny' -# Values: 'on', 'tiny' 'off' -# Flag: --package_managers -# -# Example: -# on: '998 (pacman), 8 (flatpak), 4 (snap)' -# tiny: '908 (pacman, flatpak, snap)' -# off: '908' -package_managers="on" - - -# Shell - - -# Show the path to $SHELL -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --shell_path -# -# Example: -# on: '/bin/bash' -# off: 'bash' -shell_path="off" - -# Show $SHELL version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --shell_version -# -# Example: -# on: 'bash 4.4.5' -# off: 'bash' -shell_version="on" - - -# CPU - - -# CPU speed type -# -# Default: 'bios_limit' -# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. -# Flag: --speed_type -# Supports: Linux with 'cpufreq' -# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. -speed_type="bios_limit" - -# CPU speed shorthand -# -# Default: 'off' -# Values: 'on', 'off'. -# Flag: --speed_shorthand -# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz -# -# Example: -# on: 'i7-6500U (4) @ 3.1GHz' -# off: 'i7-6500U (4) @ 3.100GHz' -speed_shorthand="off" - -# Enable/Disable CPU brand in output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_brand -# -# Example: -# on: 'Intel i7-6500U' -# off: 'i7-6500U (4)' -cpu_brand="on" - -# CPU Speed -# Hide/Show CPU speed. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_speed -# -# Example: -# on: 'Intel i7-6500U (4) @ 3.1GHz' -# off: 'Intel i7-6500U (4)' -cpu_speed="on" - -# CPU Cores -# Display CPU cores in output -# -# Default: 'logical' -# Values: 'logical', 'physical', 'off' -# Flag: --cpu_cores -# Support: 'physical' doesn't work on BSD. -# -# Example: -# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) -# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) -# off: 'Intel i7-6500U @ 3.1GHz' -cpu_cores="logical" - -# CPU Temperature -# Hide/Show CPU temperature. -# Note the temperature is added to the regular CPU function. -# -# Default: 'off' -# Values: 'C', 'F', 'off' -# Flag: --cpu_temp -# Supports: Linux, BSD -# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable -# coretemp kernel module. This only supports newer Intel processors. -# -# Example: -# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' -# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' -# off: 'Intel i7-6500U (4) @ 3.1GHz' -cpu_temp="off" - - -# GPU - - -# Enable/Disable GPU Brand -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gpu_brand -# -# Example: -# on: 'AMD HD 7950' -# off: 'HD 7950' -gpu_brand="on" - -# Which GPU to display -# -# Default: 'all' -# Values: 'all', 'dedicated', 'integrated' -# Flag: --gpu_type -# Supports: Linux -# -# Example: -# all: -# GPU1: AMD HD 7950 -# GPU2: Intel Integrated Graphics -# -# dedicated: -# GPU1: AMD HD 7950 -# -# integrated: -# GPU1: Intel Integrated Graphics -gpu_type="all" - - -# Resolution - - -# Display refresh rate next to each monitor -# Default: 'off' -# Values: 'on', 'off' -# Flag: --refresh_rate -# Supports: Doesn't work on Windows. -# -# Example: -# on: '1920x1080 @ 60Hz' -# off: '1920x1080' -refresh_rate="off" - - -# Gtk Theme / Icons / Font - - -# Shorten output of GTK Theme / Icons / Font -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --gtk_shorthand -# -# Example: -# on: 'Numix, Adwaita' -# off: 'Numix [GTK2], Adwaita [GTK3]' -gtk_shorthand="off" - - -# Enable/Disable gtk2 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk2 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Adwaita [GTK3]' -gtk2="on" - -# Enable/Disable gtk3 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk3 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Numix [GTK2]' -gtk3="on" - - -# IP Address - - -# Website to ping for the public IP -# -# Default: 'http://ident.me' -# Values: 'url' -# Flag: --ip_host -public_ip_host="http://ident.me" - -# Public IP timeout. -# -# Default: '2' -# Values: 'int' -# Flag: --ip_timeout -public_ip_timeout=2 - - -# Desktop Environment - - -# Show Desktop Environment version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --de_version -de_version="on" - - -# Disk - - -# Which disks to display. -# The values can be any /dev/sdXX, mount point or directory. -# NOTE: By default we only show the disk info for '/'. -# -# Default: '/' -# Values: '/', '/dev/sdXX', '/path/to/drive'. -# Flag: --disk_show -# -# Example: -# disk_show=('/' '/dev/sdb1'): -# 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 823G / 893G (93%)' -# -# disk_show=('/'): -# 'Disk (/): 74G / 118G (66%)' -# -disk_show=('/') - -# Disk subtitle. -# What to append to the Disk subtitle. -# -# Default: 'mount' -# Values: 'mount', 'name', 'dir', 'none' -# Flag: --disk_subtitle -# -# Example: -# name: 'Disk (/dev/sda1): 74G / 118G (66%)' -# 'Disk (/dev/sdb2): 74G / 118G (66%)' -# -# mount: 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 74G / 118G (66%)' -# -# dir: 'Disk (/): 74G / 118G (66%)' -# 'Disk (Local Disk): 74G / 118G (66%)' -# 'Disk (Videos): 74G / 118G (66%)' -# -# none: 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -disk_subtitle="mount" - -# Disk percent. -# Show/Hide disk percent. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --disk_percent -# -# Example: -# on: 'Disk (/): 74G / 118G (66%)' -# off: 'Disk (/): 74G / 118G' -disk_percent="on" - - -# Song - - -# Manually specify a music player. -# -# Default: 'auto' -# Values: 'auto', 'player-name' -# Flag: --music_player -# -# Available values for 'player-name': -# -# amarok -# audacious -# banshee -# bluemindo -# clementine -# cmus -# deadbeef -# deepin-music -# dragon -# elisa -# exaile -# gnome-music -# gmusicbrowser -# gogglesmm -# guayadeque -# io.elementary.music -# iTunes -# juk -# lollypop -# mocp -# mopidy -# mpd -# muine -# netease-cloud-music -# olivia -# playerctl -# pogo -# pragha -# qmmp -# quodlibet -# rhythmbox -# sayonara -# smplayer -# spotify -# strawberry -# tauonmb -# tomahawk -# vlc -# xmms2d -# xnoise -# yarock -music_player="auto" - -# Format to display song information. -# -# Default: '%artist% - %album% - %title%' -# Values: '%artist%', '%album%', '%title%' -# Flag: --song_format -# -# Example: -# default: 'Song: Jet - Get Born - Sgt Major' -song_format="%artist% - %album% - %title%" - -# Print the Artist, Album and Title on separate lines -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --song_shorthand -# -# Example: -# on: 'Artist: The Fratellis' -# 'Album: Costello Music' -# 'Song: Chelsea Dagger' -# -# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' -song_shorthand="off" - -# 'mpc' arguments (specify a host, password etc). -# -# Default: '' -# Example: mpc_args=(-h HOST -P PASSWORD) -mpc_args=() - - -# Text Colors - - -# Text Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --colors -# -# Each number represents a different part of the text in -# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' -# -# Example: -# colors=(distro) - Text is colored based on Distro colors. -# colors=(4 6 1 8 8 6) - Text is colored in the order above. -colors=(distro) - - -# Text Options - - -# Toggle bold text -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bold -bold="on" - -# Enable/Disable Underline -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --underline -underline_enabled="on" - -# Underline character -# -# Default: '-' -# Values: 'string' -# Flag: --underline_char -underline_char="-" - - -# Info Separator -# Replace the default separator with the specified string. -# -# Default: ':' -# Flag: --separator -# -# Example: -# separator="->": 'Shell-> bash' -# separator=" =": 'WM = dwm' -separator=":" - - -# Color Blocks - - -# Color block range -# The range of colors to print. -# -# Default: '0', '15' -# Values: 'num' -# Flag: --block_range -# -# Example: -# -# Display colors 0-7 in the blocks. (8 colors) -# neofetch --block_range 0 7 -# -# Display colors 0-15 in the blocks. (16 colors) -# neofetch --block_range 0 15 -block_range=(0 15) - -# Toggle color blocks -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --color_blocks -color_blocks="on" - -# Color block width in spaces -# -# Default: '3' -# Values: 'num' -# Flag: --block_width -block_width=3 - -# Color block height in lines -# -# Default: '1' -# Values: 'num' -# Flag: --block_height -block_height=1 - -# Color Alignment -# -# Default: 'auto' -# Values: 'auto', 'num' -# Flag: --col_offset -# -# Number specifies how far from the left side of the terminal (in spaces) to -# begin printing the columns, in case you want to e.g. center them under your -# text. -# Example: -# col_offset="auto" - Default behavior of neofetch -# col_offset=7 - Leave 7 spaces then print the colors -col_offset="auto" - -# Progress Bars - - -# Bar characters -# -# Default: '-', '=' -# Values: 'string', 'string' -# Flag: --bar_char -# -# Example: -# neofetch --bar_char 'elapsed' 'total' -# neofetch --bar_char '-' '=' -bar_char_elapsed="-" -bar_char_total="=" - -# Toggle Bar border -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bar_border -bar_border="on" - -# Progress bar length in spaces -# Number of chars long to make the progress bars. -# -# Default: '15' -# Values: 'num' -# Flag: --bar_length -bar_length=15 - -# Progress bar colors -# When set to distro, uses your distro's logo colors. -# -# Default: 'distro', 'distro' -# Values: 'distro', 'num' -# Flag: --bar_colors -# -# Example: -# neofetch --bar_colors 3 4 -# neofetch --bar_colors distro 5 -bar_color_elapsed="distro" -bar_color_total="distro" - - -# Info display -# Display a bar with the info. -# -# Default: 'off' -# Values: 'bar', 'infobar', 'barinfo', 'off' -# Flags: --cpu_display -# --memory_display -# --battery_display -# --disk_display -# -# Example: -# bar: '[---=======]' -# infobar: 'info [---=======]' -# barinfo: '[---=======] info' -# off: 'info' -cpu_display="off" -memory_display="off" -battery_display="off" -disk_display="off" - - -# Backend Settings - - -# Image backend. -# -# Default: 'ascii' -# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', -# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' -# Flag: --backend -image_backend="ascii" - -# Image Source -# -# Which image or ascii file to display. -# -# Default: 'auto' -# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' -# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' -# Flag: --source -# -# NOTE: 'auto' will pick the best image source for whatever image backend is used. -# In ascii mode, distro ascii art will be used and in an image mode, your -# wallpaper will be used. -image_source="auto" - - -# Ascii Options - - -# Ascii distro -# Which distro's ascii art to display. -# -# Default: 'auto' -# Values: 'auto', 'distro_name' -# Flag: --ascii_distro -# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", -# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, -# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, -# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, -# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, -# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, -# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, -# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, -# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, -# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, -# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, -# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, -# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, -# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, -# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, -# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, -# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, -# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, -# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, -# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, -# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, -# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, -# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, -# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, -# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, -# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, -# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, -# and IRIX have ascii logos -# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. -# Use '{distro name}_old' to use the old logos. -# NOTE: Ubuntu has flavor variants. -# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, -# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. -# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, -# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, -# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, -# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, -# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, -# postmarketOS, and Void have a smaller logo variant. -# Use '{distro name}_small' to use the small variants. -ascii_distro="auto" - -# Ascii Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --ascii_colors -# -# Example: -# ascii_colors=(distro) - Ascii is colored based on Distro colors. -# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. -ascii_colors=(distro) - -# Bold ascii logo -# Whether or not to bold the ascii logo. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --ascii_bold -ascii_bold="on" - - -# Image Options - - -# Image loop -# Setting this to on will make neofetch redraw the image constantly until -# Ctrl+C is pressed. This fixes display issues in some terminal emulators. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --loop -image_loop="off" - -# Thumbnail directory -# -# Default: '~/.cache/thumbnails/neofetch' -# Values: 'dir' -thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" - -# Crop mode -# -# Default: 'normal' -# Values: 'normal', 'fit', 'fill' -# Flag: --crop_mode -# -# See this wiki page to learn about the fit and fill options. -# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F -crop_mode="normal" - -# Crop offset -# Note: Only affects 'normal' crop mode. -# -# Default: 'center' -# Values: 'northwest', 'north', 'northeast', 'west', 'center' -# 'east', 'southwest', 'south', 'southeast' -# Flag: --crop_offset -crop_offset="center" - -# Image size -# The image is half the terminal width by default. -# -# Default: 'auto' -# Values: 'auto', '00px', '00%', 'none' -# Flags: --image_size -# --size -image_size="auto" - -# Gap between image and text -# -# Default: '3' -# Values: 'num', '-num' -# Flag: --gap -gap=3 - -# Image offsets -# Only works with the w3m backend. -# -# Default: '0' -# Values: 'px' -# Flags: --xoffset -# --yoffset -yoffset=0 -xoffset=0 - -# Image background color -# Only works with the w3m backend. -# -# Default: '' -# Values: 'color', 'blue' -# Flag: --bg_color -background_color= - - -# Misc Options - -# Stdout mode -# Turn off all colors and disables image backend (ASCII/Image). -# Useful for piping into another command. -# Default: 'off' -# Values: 'on', 'off' -stdout="off" diff --git a/freeBSD/rofi/arc_dark_colors.rasi b/freeBSD/rofi/arc_dark_colors.rasi deleted file mode 100644 index fdf4418..0000000 --- a/freeBSD/rofi/arc_dark_colors.rasi +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************* - * ROFI Arc Dark colors for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -* { - selected-normal-foreground: rgba ( 249, 249, 249, 100 % ); - foreground: rgba ( 196, 203, 212, 100 % ); - normal-foreground: @foreground; - alternate-normal-background: rgba ( 64, 69, 82, 59 % ); - red: rgba ( 220, 50, 47, 100 % ); - selected-urgent-foreground: rgba ( 249, 249, 249, 100 % ); - blue: rgba ( 38, 139, 210, 100 % ); - urgent-foreground: rgba ( 204, 102, 102, 100 % ); - alternate-urgent-background: rgba ( 75, 81, 96, 90 % ); - active-foreground: rgba ( 101, 172, 255, 100 % ); - lightbg: rgba ( 238, 232, 213, 100 % ); - selected-active-foreground: rgba ( 249, 249, 249, 100 % ); - alternate-active-background: rgba ( 75, 81, 96, 89 % ); - background: rgba ( 45, 48, 59, 95 % ); - alternate-normal-foreground: @foreground; - normal-background: @background; - lightfg: rgba ( 88, 104, 117, 100 % ); - selected-normal-background: rgba ( 64, 132, 214, 100 % ); - border-color: rgba ( 124, 131, 137, 100 % ); - spacing: 2; - separatorcolor: rgba ( 29, 31, 33, 100 % ); - urgent-background: rgba ( 29, 31, 33, 17 % ); - selected-urgent-background: rgba ( 165, 66, 66, 100 % ); - alternate-urgent-foreground: @urgent-foreground; - background-color: rgba ( 0, 0, 0, 0 % ); - alternate-active-foreground: @active-foreground; - active-background: rgba ( 29, 31, 33, 17 % ); - selected-active-background: rgba ( 68, 145, 237, 100 % ); -} diff --git a/freeBSD/rofi/arc_dark_transparent_colors.rasi b/freeBSD/rofi/arc_dark_transparent_colors.rasi deleted file mode 100644 index 4dc8195..0000000 --- a/freeBSD/rofi/arc_dark_transparent_colors.rasi +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************* - * ROFI Arch Dark Transparent colors for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -* { - selected-normal-foreground: rgba ( 255, 147, 5, 100 % ); - foreground: rgba ( 196, 203, 212, 100 % ); - normal-foreground: @foreground; - alternate-normal-background: rgba ( 45, 48, 59, 1 % ); - red: rgba ( 220, 50, 47, 100 % ); - selected-urgent-foreground: rgba ( 249, 249, 249, 100 % ); - blue: rgba ( 38, 139, 210, 100 % ); - urgent-foreground: rgba ( 204, 102, 102, 100 % ); - alternate-urgent-background: rgba ( 75, 81, 96, 90 % ); - active-foreground: rgba ( 101, 172, 255, 100 % ); - lightbg: rgba ( 238, 232, 213, 100 % ); - selected-active-foreground: rgba ( 249, 249, 249, 100 % ); - alternate-active-background: rgba ( 45, 48, 59, 88 % ); - background: rgba ( 45, 48, 59, 88 % ); - alternate-normal-foreground: @foreground; - normal-background: rgba ( 45, 48, 59, 1 % ); - lightfg: rgba ( 88, 104, 117, 100 % ); - selected-normal-background: rgba ( 24, 26, 32, 100 % ); - border-color: rgba ( 124, 131, 137, 100 % ); - spacing: 2; - separatorcolor: rgba ( 45, 48, 59, 1 % ); - urgent-background: rgba ( 45, 48, 59, 15 % ); - selected-urgent-background: rgba ( 165, 66, 66, 100 % ); - alternate-urgent-foreground: @urgent-foreground; - background-color: rgba ( 0, 0, 0, 0 % ); - alternate-active-foreground: @active-foreground; - active-background: rgba ( 29, 31, 33, 17 % ); - selected-active-background: rgba ( 26, 28, 35, 100 % ); -} diff --git a/freeBSD/rofi/power-profiles.rasi b/freeBSD/rofi/power-profiles.rasi deleted file mode 100644 index f81cf72..0000000 --- a/freeBSD/rofi/power-profiles.rasi +++ /dev/null @@ -1,121 +0,0 @@ -/******************************************************* - * ROFI configs i3 powermenu for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -configuration { - font: "Noto Sans Regular 10"; - show-icons: false; - icon-theme: "Qogir"; - scroll-method: 0; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "~/.config/rofi/arc_dark_colors.rasi" - - -window { - background-color: @background; - border: 0; - padding: 10; - transparency: "real"; - width: 170px; - location: east; - /*y-offset: 18;*/ - /*x-offset: 850;*/ -} -listview { - lines: 4; - columns: 1; -} -element { - border: 0; - padding: 1px; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px; - border: 0; - handle-color: @normal-foreground; - handle-width: 8px; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px; - border-color: @separatorcolor; -} -button { - spacing: 0; - text-color: @normal-foreground; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: "Set Power Profile:"; - margin: 0px 0.3em 0em 0em; - text-color: @normal-foreground; -} diff --git a/freeBSD/rofi/powermenu.rasi b/freeBSD/rofi/powermenu.rasi deleted file mode 100644 index 3a64a74..0000000 --- a/freeBSD/rofi/powermenu.rasi +++ /dev/null @@ -1,124 +0,0 @@ -/******************************************************* - * ROFI configs i3 powermenu for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -configuration { - font: "Noto Sans Regular 10"; - show-icons: false; - icon-theme: "Qogir"; - scroll-method: 0; - disable-history: false; - sidebar-mode: false; -} - -@import "~/.config/rofi/arc_dark_transparent_colors.rasi" - -window { - background-color: @background; - border: 0; - padding: 10; - transparency: "real"; - width: 120px; - location: east; - /*y-offset: 18;*/ - /*x-offset: 850;*/ -} -listview { - lines: 7; - columns: 1; - scrollbar: false; -} -element { - border: 0; - padding: 1px; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px; - border: 0; - handle-color: @normal-foreground; - handle-width: 8px; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px; - border-color: @separatorcolor; -} -button { - spacing: 0; - text-color: @normal-foreground; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em; - text-color: @normal-foreground; -} - -/*removes the text input line*/ -mainbox { - children: [listview]; -} diff --git a/freeBSD/rofi/rofidmenu.rasi b/freeBSD/rofi/rofidmenu.rasi deleted file mode 100644 index 864363f..0000000 --- a/freeBSD/rofi/rofidmenu.rasi +++ /dev/null @@ -1,135 +0,0 @@ -/******************************************************* - * ROFI configs i3 Apps menu for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -configuration { - font: "Noto Sans Regular 10"; - show-icons: true; - icon-theme: "Qogir"; - display-drun: "Apps"; - drun-display-format: "{name}"; - scroll-method: 0; - disable-history: false; - sidebar-mode: false; -} - -@import "~/.config/rofi/arc_dark_transparent_colors.rasi" - -window { - background-color: @background; - border: 0; - padding: 30; -} -listview { - lines: 10; - columns: 3; -} -mainbox { - border: 0; - padding: 0; -} -message { - border: 2px 0px 0px; - border-color: @separatorcolor; - padding: 1px; -} -textbox { - text-color: @foreground; -} -listview { - fixed-height: 0; - border: 8px 0px 0px; - border-color: @separatorcolor; - spacing: 8px; - scrollbar: false; - padding: 2px 0px 0px; -} -element { - border: 0; - padding: 1px; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px; - border: 0; - handle-color: @normal-foreground; - handle-width: 8px; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px; - border-color: @separatorcolor; -} -button { - spacing: 0; - text-color: @normal-foreground; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em; - text-color: @normal-foreground; -} diff --git a/freeBSD/rofi/rofikeyhint.rasi b/freeBSD/rofi/rofikeyhint.rasi deleted file mode 100644 index d2685d3..0000000 --- a/freeBSD/rofi/rofikeyhint.rasi +++ /dev/null @@ -1,137 +0,0 @@ -/******************************************************* - * ROFI configs i3 keyhint-menu for EndeavourOS - * Maintainer: joekamprad - *******************************************************/ -configuration { - font: "Noto Sans Regular 10"; - show-icons: false; - icon-theme: "Qogir"; - display-drun: "KeyHint"; - drun-display-format: "{name}"; - scroll-method: 0; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "~/.config/rofi/arc_dark_transparent_colors.rasi" - -window { - background-color: @background; - border: 0; - padding: 30; -} -listview { - lines: 10; - columns: 1; -} -mainbox { - border: 0; - padding: 0; -} -message { - border: 2px 0px 0px; - border-color: @separatorcolor; - padding: 1px; -} -textbox { - text-color: @foreground; -} -listview { - fixed-height: 0; - border: 8px 0px 0px; - border-color: @separatorcolor; - spacing: 8px; - scrollbar: false; - padding: 2px 0px 0px; -} -element { - border: 0; - padding: 1px; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px; - border: 0; - handle-color: @normal-foreground; - handle-width: 8px; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px; - border-color: @separatorcolor; -} -button { - spacing: 0; - text-color: @normal-foreground; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em; - text-color: @normal-foreground; -} diff --git a/hyprland/btop/btop.conf b/hyprland/btop/btop.conf deleted file mode 100644 index dbe97a5..0000000 --- a/hyprland/btop/btop.conf +++ /dev/null @@ -1,212 +0,0 @@ -#? Config file for btop v. 1.2.13 - -#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. -#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" -color_theme = "tokyo-night" - -#* If the theme set background should be shown, set to False if you want terminal background transparency. -theme_background = false - -#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. -truecolor = True - -#* Set to true to force tty mode regardless if a real tty has been detected or not. -#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. -force_tty = False - -#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. -#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. -#* Use whitespace " " as separator between different presets. -#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" -presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" - -#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. -#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. -vim_keys = False - -#* Rounded corners on boxes, is ignored if TTY mode is ON. -rounded_corners = True - -#* Default symbols to use for graph creation, "braille", "block" or "tty". -#* "braille" offers the highest resolution but might not be included in all fonts. -#* "block" has half the resolution of braille but uses more common characters. -#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. -#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. -graph_symbol = "braille" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_cpu = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_mem = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_net = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_proc = "default" - -#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace. -shown_boxes = "cpu mem net proc" - -#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. -update_ms = 2000 - -#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", -#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. -proc_sorting = "user" - -#* Reverse sorting order, True or False. -proc_reversed = False - -#* Show processes as a tree. -proc_tree = False - -#* Use the cpu graph colors in the process list. -proc_colors = True - -#* Use a darkening gradient in the process list. -proc_gradient = True - -#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. -proc_per_core = False - -#* Show process memory as bytes instead of percent. -proc_mem_bytes = True - -#* Show cpu graph for each process. -proc_cpu_graphs = True - -#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) -proc_info_smaps = False - -#* Show proc box on left side of screen instead of right. -proc_left = False - -#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). -proc_filter_kernel = False - -#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. -#* Select from a list of detected attributes from the options menu. -cpu_graph_upper = "total" - -#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. -#* Select from a list of detected attributes from the options menu. -cpu_graph_lower = "total" - -#* Toggles if the lower CPU graph should be inverted. -cpu_invert_lower = True - -#* Set to True to completely disable the lower CPU graph. -cpu_single_graph = False - -#* Show cpu box at bottom of screen instead of top. -cpu_bottom = False - -#* Shows the system uptime in the CPU box. -show_uptime = True - -#* Show cpu temperature. -check_temp = True - -#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. -cpu_sensor = "Auto" - -#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. -show_coretemp = True - -#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. -#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. -#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. -#* Example: "4:0 5:1 6:3" -cpu_core_map = "" - -#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". -temp_scale = "celsius" - -#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. -base_10_sizes = False - -#* Show CPU frequency. -show_cpu_freq = True - -#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. -#* Special formatting: /host = hostname | /user = username | /uptime = system uptime -clock_format = "%X" - -#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. -background_update = True - -#* Custom cpu model name, empty string to disable. -custom_cpu_name = "" - -#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". -#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". -disks_filter = "" - -#* Show graphs instead of meters for memory values. -mem_graphs = True - -#* Show mem box below net box instead of above. -mem_below_net = False - -#* Count ZFS ARC in cached and available memory. -zfs_arc_cached = True - -#* If swap memory should be shown in memory box. -show_swap = True - -#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. -swap_disk = True - -#* If mem box should be split to also show disks info. -show_disks = True - -#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. -only_physical = True - -#* Read disks list from /etc/fstab. This also disables only_physical. -use_fstab = True - -#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) -zfs_hide_datasets = False - -#* Set to true to show available disk space for privileged users. -disk_free_priv = False - -#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. -show_io_stat = True - -#* Toggles io mode for disks, showing big graphs for disk read/write speeds. -io_mode = False - -#* Set to True to show combined read/write io graphs in io mode. -io_graph_combined = False - -#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". -#* Example: "/mnt/media:100 /:20 /boot:1". -io_graph_speeds = "" - -#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. -net_download = 100 - -net_upload = 100 - -#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. -net_auto = True - -#* Sync the auto scaling for download and upload to whichever currently has the highest scale. -net_sync = True - -#* Starts with the Network Interface specified here. -net_iface = "" - -#* Show battery stats in top right if battery is present. -show_battery = True - -#* Which battery to use if multiple are present. "Auto" for auto detection. -selected_battery = "Auto" - -#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". -#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. -log_level = "WARNING" diff --git a/hyprland/btop/tokyo-night.theme b/hyprland/btop/tokyo-night.theme deleted file mode 100644 index b6fd0ba..0000000 --- a/hyprland/btop/tokyo-night.theme +++ /dev/null @@ -1,81 +0,0 @@ -# Theme: tokyo-night -# By: Pascal Jaeger - -# Main bg -theme[main_bg]="#000000" - -# Main text color -theme[main_fg]="#cfc9c2" - -# Title color for boxes -theme[title]="#cfc9c2" - -# Higlight color for keyboard shortcuts -theme[hi_fg]="#7dcfff" - -# Background color of selected item in processes box -theme[selected_bg]="#414868" - -# Foreground color of selected item in processes box -theme[selected_fg]="#cfc9c2" - -# Color of inactive/disabled text -theme[inactive_fg]="#565f89" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#7dcfff" - -# Cpu box outline color -theme[cpu_box]="#565f89" - -# Memory/disks box outline color -theme[mem_box]="#565f89" - -# Net up/down box outline color -theme[net_box]="#565f89" - -# Processes box outline color -theme[proc_box]="#565f89" - -# Box divider line and small boxes line color -theme[div_line]="#565f89" - -# Temperature graph colors -theme[temp_start]="#9ece6a" -theme[temp_mid]="#e0af68" -theme[temp_end]="#f7768e" - -# CPU graph colors -theme[cpu_start]="#9ece6a" -theme[cpu_mid]="#e0af68" -theme[cpu_end]="#f7768e" - -# Mem/Disk free meter -theme[free_start]="#9ece6a" -theme[free_mid]="#e0af68" -theme[free_end]="#f7768e" - -# Mem/Disk cached meter -theme[cached_start]="#9ece6a" -theme[cached_mid]="#e0af68" -theme[cached_end]="#f7768e" - -# Mem/Disk available meter -theme[available_start]="#9ece6a" -theme[available_mid]="#e0af68" -theme[available_end]="#f7768e" - -# Mem/Disk used meter -theme[used_start]="#9ece6a" -theme[used_mid]="#e0af68" -theme[used_end]="#f7768e" - -# Download graph colors -theme[download_start]="#9ece6a" -theme[download_mid]="#e0af68" -theme[download_end]="#f7768e" - -# Upload graph colors -theme[upload_start]="#9ece6a" -theme[upload_mid]="#e0af68" -theme[upload_end]="#f7768e" diff --git a/hyprland/hypr/configs/ENVariables.conf b/hyprland/hypr/configs/ENVariables.conf deleted file mode 100644 index ad81709..0000000 --- a/hyprland/hypr/configs/ENVariables.conf +++ /dev/null @@ -1,23 +0,0 @@ -#environment-variables -env = QT_QPA_PLATFORMTHEME,qt5ct #necessary to run qt5ct properly -env = GDK_BACKEND,wayland,x11 -env = QT_QPA_PLATFORM,wayland;xcb -env = CLUTTER_BACKEND,wayland -env = XDG_CURRENT_DESKTOP,Hyprland -env = XDG_SESSION_DESKTOP,Hyprland -env = QT_AUTO_SCREEN_SCALE_FACTOR,1 -env = XDG_SESSION_TYPE,wayland -env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 - -# NVIDIA -# This is from Hyprland Wiki but my Hyprland keeps crashing when I enabled this variables -#env = WLR_NO_HARDWARE_CURSORS,1 -#env = LIBVA_DRIVER_NAME,nvidia -#env = MOZ_ENABLE_WAYLAND,1 -#env = XDG_SESSION_TYPE,wayland -#env = __GLX_VENDOR_LIBRARY_NAME,nvidia -#env = GBM_BACKEND,nvidia-drm ## it causes issues like Hyprland crashing so care -#env = __NV_PRIME_RENDER_OFFLOAD,1 -#env = __VK_LAYER_NV_optimus,NVIDIA_only -#env = WLR_DRM_NO_ATOMIC,1 -#env = NVD_BACKEND,direct \ No newline at end of file diff --git a/hyprland/hypr/configs/Execs.conf b/hyprland/hypr/configs/Execs.conf deleted file mode 100644 index b1595be..0000000 --- a/hyprland/hypr/configs/Execs.conf +++ /dev/null @@ -1,28 +0,0 @@ -#Commands to be executed at launch -$scriptsDir = $HOME/.config/hypr/scripts - -# wallpaper stuff -#exec-once = swww query || swww init && swww img $HOME/wallpaper.jpg #using swww utility -#exec-once = swww init -exec-once = swaybg -m fill -i $HOME/wallpaper.jpg #using swaybg -#exec-once = $scriptsDir/Wallpaper.sh #using swaybg random wallpaper - -# Startup -exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -#exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY -exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP - -exec-once = $scriptsDir/portal-arch-hyprland -exec-once = /usr/lib/polkit-kde-authentication-agent-1 - -# apps, blueman, network manager applet and ROG-control-Center -exec-once = $scriptsDir/Startup.sh -exec-once = blueman-applet & -exec-once = nm-applet --indicator & -#exec-once = rog-control-center & - -#clipboard manager -exec-once = wl-paste --watch cliphist store - -#Syncthing -exec-once = $scriptsDir/syncthing.sh diff --git a/hyprland/hypr/configs/Keybinds.conf b/hyprland/hypr/configs/Keybinds.conf deleted file mode 100644 index a2e3385..0000000 --- a/hyprland/hypr/configs/Keybinds.conf +++ /dev/null @@ -1,199 +0,0 @@ -# See https://wiki.hyprland.org/Configuring/Keywords/ for more -# Setting variables -$mainMod = SUPER -$files = thunar -$browser = firefox -$term = kitty -$hyprDir = $HOME/.config/hypr -$scriptsDir = $HOME/.config/hypr/scripts - -# Scripts -$Mako = $scriptsDir/Mako.sh -$screenshot = $scriptsDir/ScreenShot.sh -$volume = $scriptsDir/Volume.sh -$waybar = $scriptsDir/Waybar.sh -$Wofi = $scriptsDir/Wofi.sh -$Clipboard = $scriptsDir/ClipManager.sh - -# see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod SHIFT, C, exec, hyprctl reload -bind = $mainMod, D, exec, $Wofi -bind = $mainMod SHIFT, Q, killactive, -bind = $mainMod SHIFT, Space, togglefloating, -bind = $mainMod, F, fullscreen -bind = $mainMod, Q, killactive, -bind = $mainMod, Return, exec, $term -bind = $mainMod, T, exec, $files - -#bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.3 -#bind = $mainMod SHIFT, Y, exec, $term --class clock -T clock -e tty-clock -c -C 7 -r -s -f "%A, %B, %d" - -bind = $mainMod CTRL, D, layoutmsg, removemaster -bind = $mainMod, Escape, exec, hyprctl kill -bind = $mainMod, I, layoutmsg, addmaster -bind = $mainMod, J, layoutmsg, cyclenext -bind = $mainMod, K, layoutmsg, cycleprev -bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3 -bind = $mainMod, P, pseudo, # dwindle -bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster -bind = $mainMod ALT, V, exec, $Clipboard - -# Special Keys / Hot Keys -bind = , xf86audioraisevolume, exec, $volume --inc #volume up -bind = , xf86audiolowervolume, exec, $volume --dec #volume down -bind = , xf86AudioMicMute, exec, $volume --toggle-mic #mute mic -bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button -bind = , xf86audiomute, exec, $volume --toggle #FN+F1 - -bind = , xf86audioplay, exec, playerctl play-pause -bind = , xf86audionext, exec, playerctl next -bind = , xf86audioprev, exec, playerctl previous -bind = , xf86audiostop, exec, playerctl stop - -# From manual but it does not work -#bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 2560x1440@165, 0x0, 1" -#bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" - -# Resize (vim style) -binde = $mainMod SHIFT, H, resizeactive,-50 0 -binde = $mainMod SHIFT, L, resizeactive,50 0 -binde = $mainMod SHIFT, K, resizeactive,0 -50 -binde = $mainMod SHIFT, J, resizeactive,0 50 - -binde = $mainMod SHIFT, left, resizeactive,-50 0 -binde = $mainMod SHIFT, right, resizeactive,50 0 -binde = $mainMod SHIFT, up, resizeactive,0 -50 -binde = $mainMod SHIFT, down, resizeactive,0 50 - -# Move (vim style) -bind = $mainMod CTRL, H, movewindow, l -bind = $mainMod CTRL, L, movewindow, r -bind = $mainMod CTRL, K, movewindow, u -bind = $mainMod CTRL, J, movewindow, d - -bind = $mainMod CTRL, left, movewindow, l -bind = $mainMod CTRL, right, movewindow, r -bind = $mainMod CTRL, up, movewindow, u -bind = $mainMod CTRL, down, movewindow, d - - -# Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l -bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d - -# Special workspace -bind = $mainMod SHIFT, U, movetoworkspace, special -bind = $mainMod, U, togglespecialworkspace, - -# Switch workspaces with mainMod + [0-9] -bind = $mainMod, 1, workspace, 1 -bind = $mainMod, 2, workspace, 2 -bind = $mainMod, 3, workspace, 3 -bind = $mainMod, 4, workspace, 4 -bind = $mainMod, 5, workspace, 5 -bind = $mainMod, 6, workspace, 6 -bind = $mainMod, 7, workspace, 7 -bind = $mainMod, 8, workspace, 8 -bind = $mainMod, 9, workspace, 9 -bind = $mainMod, 0, workspace, 10 - -bind = $mainMod, KP_End, workspace, 1 -bind = $mainMod, KP_Down, workspace, 2 -bind = $mainMod, KP_Next, workspace, 3 -bind = $mainMod, KP_Left, workspace, 4 -bind = $mainMod, KP_Begin, workspace, 5 -bind = $mainMod, KP_Right, workspace, 6 -bind = $mainMod, KP_Home, workspace, 7 -bind = $mainMod, KP_Up, workspace, 8 -bind = $mainMod, KP_Prior, workspace, 9 -bind = $mainMod, KP_Insert, workspace, 10 - -# Move active window and follow to workspace -bind = $mainMod CTRL, 1, movetoworkspace, 1 -bind = $mainMod CTRL, 2, movetoworkspace, 2 -bind = $mainMod CTRL, 3, movetoworkspace, 3 -bind = $mainMod CTRL, 4, movetoworkspace, 4 -bind = $mainMod CTRL, 5, movetoworkspace, 5 -bind = $mainMod CTRL, 6, movetoworkspace, 6 -bind = $mainMod CTRL, 7, movetoworkspace, 7 -bind = $mainMod CTRL, 8, movetoworkspace, 8 -bind = $mainMod CTRL, 9, movetoworkspace, 9 -bind = $mainMod CTRL, 0, movetoworkspace, 10 - -bind = $mainMod CTRL, KP_End, movetoworkspace, 1 -bind = $mainMod CTRL, KP_Down, movetoworkspace, 2 -bind = $mainMod CTRL, KP_Next, movetoworkspace, 3 -bind = $mainMod CTRL, KP_Left, movetoworkspace, 4 -bind = $mainMod CTRL, KP_Begin, movetoworkspace, 5 -bind = $mainMod CTRL, KP_Right, movetoworkspace, 6 -bind = $mainMod CTRL, KP_Home, movetoworkspace, 7 -bind = $mainMod CTRL, KP_Up, movetoworkspace, 8 -bind = $mainMod CTRL, KP_Prior, movetoworkspace, 9 -bind = $mainMod CTRL, KP_Insert, movetoworkspace, 10 - -bind = $mainMod CTRL, bracketleft, movetoworkspace, -1 -bind = $mainMod CTRL, bracketright, movetoworkspace, +1 - -# Move active window to a workspace with mainMod + SHIFT + [0-9] -bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 -bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 -bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 -bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 -bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 -bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 -bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 -bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 -bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 -bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 - -bind = $mainMod SHIFT, KP_End, movetoworkspacesilent, 1 -bind = $mainMod SHIFT, KP_Down, movetoworkspacesilent, 2 -bind = $mainMod SHIFT, KP_Next, movetoworkspacesilent, 3 -bind = $mainMod SHIFT, KP_Left, movetoworkspacesilent, 4 -bind = $mainMod SHIFT, KP_Begin, movetoworkspacesilent, 5 -bind = $mainMod SHIFT, KP_Right, movetoworkspacesilent, 6 -bind = $mainMod SHIFT, KP_Home, movetoworkspacesilent, 7 -bind = $mainMod SHIFT, KP_Up, movetoworkspacesilent, 8 -bind = $mainMod SHIFT, KP_Prior, movetoworkspacesilent, 9 -bind = $mainMod SHIFT, KP_Insert, movetoworkspacesilent, 10 - -bind = $mainMod SHIFT, bracketleft, movetoworkspacesilent, -1 -bind = $mainMod SHIFT, bracketright, movetoworkspacesilent, +1 - -# Scroll through existing workspaces with mainMod + scroll -bind = $mainMod, mouse_down, workspace, e+1 -bind = $mainMod, mouse_up, workspace, e-1 -bind = $mainMod, period, workspace, e+1 -bind = $mainMod, comma, workspace, e-1 - -# Move/resize windows with mainMod + LMB/RMB and dragging -bindm = $mainMod, mouse:272, movewindow -bindm = $mainMod, mouse:273, resizewindow - -bind = $mainMod, G, togglegroup -bind = $mainMod, tab, workspace, m+1 -bind = $mainMod SHIFT, tab, workspace, m-1 -bind = ALT, tab, cyclenext, # change focus to another window -bind = ALT SHIFT, tab, bringactivetotop, # bring it to the top - - -# Screenshot keybindings NOTE: -#bind = , Print, exec, $screenshot --now -bind = $mainMod, Print, exec, $screenshot --now -bind = $mainMod CTRL SHIFT, Print, exec, $screenshot --in5 -bind = $mainMod ALT, Print, exec, $screenshot --in10 -#bind = CTRL, Print, exec, $screenshot --win -#bind = SHIFT, Print, exec, $screenshot --area -bind = $mainMod SHIFT, Print, exec, $screenshot --area - -# screenshot with swappy -bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f - - -# Screenshot keybindings for Asus G15 (no PrinSrc button) -bind = $mainMod, F6, exec, $screenshot --now -bind = $mainMod SHIFT, F6, exec, $screenshot --area -bind = $mainMod CTRL SHIFT, F6, exec, $screenshot --in5 -bind = $mainMod ALT, F6, exec, $screenshot --in10 - diff --git a/hyprland/hypr/configs/Monitors.conf b/hyprland/hypr/configs/Monitors.conf deleted file mode 100644 index 85f5724..0000000 --- a/hyprland/hypr/configs/Monitors.conf +++ /dev/null @@ -1,27 +0,0 @@ -# Monitor Configuration -# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. - -# Monitors -monitor=DP-1,2560x1440@144,0x0,1 -monitor=DP-2,2560x1440@144,auto,1 - -# my G15 Laptop -# monitor = eDP-1, preferred, auto, 1 -#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen -#monitor = DP-2, preferred, auto, 1 #my Samsung Odyssey-G7 -#monitor = DP-1, preferred, auto, 1 -#monitor = HDMI-A-1, preferred,auto,1 - -# QEMU -monitor = Virtual-1, 1920x1080@60,auto,1 - -# Example : -#monitor=eDP-1,2560x1440@165,0x0,1 -#workspace=HDMI-A-1,1 -#monitor=HDMI-A-1,2560x1440@144,0x0,1,mirror,eDP-1 -#workspace=HDMI-A-2,2 - -#monitor=eDP-1,transform,0 -#monitor=eDP-1,addreserved,10,10,10,49 -#workspace=eDP-1,1 - diff --git a/hyprland/hypr/configs/WindowRules.conf b/hyprland/hypr/configs/WindowRules.conf deleted file mode 100644 index 7767b64..0000000 --- a/hyprland/hypr/configs/WindowRules.conf +++ /dev/null @@ -1,39 +0,0 @@ -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more - -windowrule = float, org.kde.polkit-kde-authentication-agent-1 -windowrule = float, nm-connection-editor|blueman-manager -windowrule = float, swayimg|vlc|Viewnior|pavucontrol -windowrule = float, nwg-look|qt5ct|mpv -windowrule = float, onedriver|onedriver-launcher -windowrule = float, zoom -windowrule = float, wofi -windowrule=tile,lite-xl -windowrule = fullscreen, wlogout -#windowrule = noblur,gamescope -#windowrule = fullscreen,gamescope -#windowrule = workspace 6 silent,^(gamescope)$ - -# windowrule v2 -#windowrulev2 = workspace 2, class:^(firefox)$ -#windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$ #this is on arch -#windowrulev2 = workspace 3, class:^(thunar)$ -#windowrulev2 = workspace 1, class:^(thunderbird)$ -#windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$ -#windowrulev2 = workspace 5 silent, class:^(Steam)$,title:^(Steam)$ -#windowrulev2 = workspace 5 silent, class:^(lutris)$ -#windowrulev2 = workspace 6, class:^(virt-manager)$ -#windowrulev2 = workspace 7 silent, class:^(discord)$ -#windowrulev2 = workspace 9 silent, class:^(audacious)$ - -#opacity (transparent) #enable as desired -#windowrulev2 = opacity 1 0.9, class:^(firefox)$ -#windowrulev2 = opacity 0.9 0.7, class:^(thunar)$ -#windowrulev2 = opacity 0.7 0.7, class:^(foot)$ -#windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$ -#windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$ -#windowrulev2 = opacity 0.9 0.7, class:^(VSCodium)$ - -#windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1 -#windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1 -#windowrulev2 = opacity 0.8 0.8, pinned:1 - diff --git a/hyprland/hypr/hyprland.conf b/hyprland/hypr/hyprland.conf deleted file mode 100644 index 3356d67..0000000 --- a/hyprland/hypr/hyprland.conf +++ /dev/null @@ -1,134 +0,0 @@ -# Refer to the wiki for more information. -# See https://wiki.hyprland.org/Configuring/Variables/ for more - -#Sourcing external config files -source=~/.config/hypr/configs/ENVariables.conf -source=~/.config/hypr/configs/Execs.conf -source=~/.config/hypr/configs/Keybinds.conf -source=~/.config/hypr/configs/Monitors.conf -source=~/.config/hypr/configs/WindowRules.conf - -general { - sensitivity=1.00 - apply_sens_to_raw=1 - gaps_in = 4 - gaps_out = 8 - border_size = 4 - resize_on_border = true - - #one color - #col.active_border = rgba(7aa2f7aa) - - #more colors - gradient - col.active_border = rgb(5AE058) rgb(3FB5A3) 45deg - #col.active_border = rgb(7287fd) rgb(74c7ec) rgb(89b4fa) 45deg - col.inactive_border = rgb(000000) - - layout = master # master or dwindle -} - -input { - kb_layout=ca - kb_variant= - kb_model= - kb_options=grp:alt_shift_toggle - kb_rules= - repeat_rate=50 - repeat_delay=300 - numlock_by_default=0 - left_handed=0 - follow_mouse=1 - float_switch_override_focus=0 - - touchpad { - disable_while_typing=1 - natural_scroll=1 - clickfinger_behavior=0 - middle_button_emulation=1 - tap-to-click=1 - drag_lock=1 - } -} - -gestures { - workspace_swipe=1 - workspace_swipe_fingers=3 - workspace_swipe_distance=400 - workspace_swipe_invert=1 - workspace_swipe_min_speed_to_force=30 - workspace_swipe_cancel_ratio=0.5 - workspace_swipe_create_new=1 - workspace_swipe_forever=1 -} - -decoration { - rounding = 6 - multisample_edges = true - #blur = yes - #blur_size = 8 - #blur_passes = 2 - #blur_new_optimizations = on - - active_opacity = 1.0 - inactive_opacity = 0.7 - fullscreen_opacity = 1.0 - - dim_inactive = true - dim_strength = 0.1 - - - drop_shadow=true - shadow_range=10 - shadow_render_power = 2 - col.shadow = rgb(7ef788) - col.shadow_inactive = 0x50000000 -} - -#blurls = waybar - -bezier = wind, 0.05, 0.9, 0.1, 1.05 -bezier = winIn, 0.1, 1.1, 0.1, 1.1 -bezier = winOut, 0.3, -0.3, 0, 1 -bezier = liner, 1, 1, 1, 1 - -animations { - enabled = yes - animation = windowsIn, 1, 6, winIn, slide - animation = windowsOut, 1, 5, winOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop - animation = fade, 1, 10, default - animation = workspaces, 1, 5, wind - animation = windows, 1, 6, wind, slide -} - -dwindle { - pseudotile = yes - preserve_split = yes - special_scale_factor = 0.8 -} - -master { - new_is_master=1 - new_on_top=0 - mfact = 0.5 - -} - -binds { - workspace_back_and_forth=1 - allow_workspace_cycles=1 - pass_mouse_when_bound=0 -} - -misc { - disable_hyprland_logo = true - disable_splash_rendering = true - mouse_move_enables_dpms = true - vrr = 2 - enable_swallow = true - no_direct_scanout = true #for fullscreen games - focus_on_activate = false - swallow_regex = ^(kitty)$ -} diff --git a/hyprland/hypr/hyprlandnew.conf b/hyprland/hypr/hyprlandnew.conf deleted file mode 100644 index 44e6795..0000000 --- a/hyprland/hypr/hyprlandnew.conf +++ /dev/null @@ -1,179 +0,0 @@ -exec-once = wl-clipboard-history -t -exec-once = ~/.config/hypr/scripts/.autostart -exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -exec-once = /usr/lib/polkit-kde-authentication-agent-1 -exec-once = swaybg -m fill -i $HOME/Pictures/wallpapers/nostalgic-memories5.jpg -exec-once = waybar - -# env = LIBVA_DRIVER_NAME, nvidia -env = XDG_SESSION_TYPE, wayland -env = __GL_GSYNC_ALLOWED, 0 -# env = __GLX_VENDOR_LIBRARY_NAME, nvidia -# env = GBM_BACKEND, nvidia-drm -env = WLR_NO_HARDWARE_CURSORS, 1 -env = XCURSOR_THEME, Breeze -env = XCURSOR_SIZE, 16 - -$browser = firefox -$explorer = thunar -$term = kitty -$discord = discord - -monitors { - # you can use the command 'hyprctl monitors' to list your currently using monitors. - # use wlr-randr to list all available monitors - # more examples at https://wiki.hyprland.org/Configuring/Monitors/ - - # left monitor - # monitor = HDMI-A-1, 1920x1080@60, 0x0, 1 - - # right monitor - monitor = eDP-1, 1920x1200@60, 1920x0, 1.1 -} - -input { - kb_layout = us, br # keyboard layout en-us and pt-br - kb_options = grp:alt_shift_toggle # toggle between keyboard layouts using ALT + SHIFT - follow_mouse = 1 - sensitivity = -0.2 # -1.0 - 1.0, 0 means no modification. -} - -general { - # gaps - gaps_in=3 - gaps_out=6 - - # border - border_size=2 - col.active_border=0xff2aabd4 0xff2bc1ae 0deg - col.inactive_border=0xfff4564 - no_border_on_floating = true - - # layout - layout = dwindle -} - -dwindle { - no_gaps_when_only = false - pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below - preserve_split = true # you probably want this -} - -misc { - disable_hyprland_logo = true - disable_splash_rendering = true - mouse_move_enables_dpms = true - enable_swallow = true - swallow_regex = ^(kitty)$ -} - -decoration { - # border - rounding = 2 - multisample_edges = true - - # opacity - active_opacity = 0.85 - inactive_opacity = 0.80 - - # blur - blur { - enabled = true - size = 8 - passes = 2 - new_optimizations = true - } - - # shadow - drop_shadow = true - shadow_ignore_window = true - shadow_offset = 4 4 - shadow_range = 10 - shadow_render_power = 2 - col.shadow = 0x66000000 - - blurls = gtk-layer-shell - blurls = lockscreen -} - -animations { - enabled = true - - bezier = overshot,0.05,0.9,0.1,1.1 - bezier = smoothOut, 0.36, 0, 0.66, -0.56 - bezier = smoothIn, 0.25, 1, 0.5, 1 - bezier = linear, 0.5, 0.5, 0.5, 0.5 - - animation = windows, 1, 2, overshot, popin - animation = windowsIn, 1, 4, smoothIn, popin - animation = windowsOut, 1, 4, smoothIn, popin - animation = windowsMove, 1, 4, default, popin - - animation = border, 1, 10, default - animation = fade, 1, 10, smoothIn - animation = fadeDim, 1, 10, smoothIn - - animation = workspaces, 1, 4, smoothIn, slide - - animation = borderangle, 1, 20, linear, loop -} - -windowrules { - # opacity - windowrule = opacity 1.0 override 1.0 override, ^(com.obsproject.Studio)$ - windowrule = opacity 1.0 override 1.0 override, ^(com.stremio.stremio)$ - windowrule = opacity 1.0 override 1.0 override, ^(libreoffice-writer)$ - windowrule = opacity 1.0 override 1.0 override, ^(discord)$ - windowrule = opacity 1.0 override 1.0 override, ^(feh)$ - windowrule = opacity 1.0 override 1.0 override, ^(firefox)$ - windowrule = opacity 1.0 override 1.0 override, ^(Google-chrome)$ - windowrule = opacity 1.0 override 1.0 override, ^(Gimp)$ - windowrule = opacity 1.0 override 1.0 override, ^(mpv)$ - windowrule = opacity 1.0 override 1.0 override, ^(Rofi)$ - - # float - windowrule = float, confirm - windowrule = float, confirmreset - windowrule = float, dialog - windowrule = float, download - windowrule = float, error - windowrule = float, feh - windowrule = float, file_progress - windowrule = float, file-roller - windowrule = float, Lxappearance - windowrule = float, notification - windowrule = float, splash - windowrule = float, xfce4-appearance-settings - windowrule = float, title:branchdialog - windowrule = float, title:^(btop)$ - windowrule = float, title:^(Media viewer)$ - windowrule = float, title:^(Network Connections)$ - windowrule = float, title:Open File - windowrule = float, title:^(Volume Control)$ - - # fullscreen - windowrule = fullscreen, wlogout - - # idleinhibit - windowrule = idleinhibit focus, mpv - windowrule = idleinhibit fullscreen, $browser - - # size - windowrule = size 400 600, title:^(Network Connections)$ - windowrule = size 980 530, title:^(btop)$ - windowrule = size 900 400, title:^(Volume Control)$ - windowrule = size 1280 720, title:^(feh)$ - - # move - windowrule = move 3% 35, title:^(btop)$ - windowrule = move 70% 35, title:^(Network Connections)$ - windowrule = move 45% 35, title:^(Volume Control)$ - - # animations - windowrule = animation slide, title:^(btop)$ - windowrule = animation slide, title:^(Network Connections)$ - windowrule = animation slide, title:^(Volume Control)$ - windowrule = animation slide, title:^(Logout)$ -} - diff --git a/hyprland/hypr/scripts/ClipManager.sh b/hyprland/hypr/scripts/ClipManager.sh deleted file mode 100755 index 27fda38..0000000 --- a/hyprland/hypr/scripts/ClipManager.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# WOFI STYLES -CONFIG="$HOME/.config/wofi/WofiBig/config" -STYLE="$HOME/.config/wofi/style.css" - -if [[ ! $(pidof wofi) ]]; then - cliphist list | wofi --show dmenu --prompt 'Search...' \ - --conf ${CONFIG} --style ${STYLE} \ - --width=600 --height=400 | cliphist decode | wl-copy -else - pkill wofi -fi diff --git a/hyprland/hypr/scripts/LockScreen.sh b/hyprland/hypr/scripts/LockScreen.sh deleted file mode 100755 index 538b6ef..0000000 --- a/hyprland/hypr/scripts/LockScreen.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -CONFIG="$HOME/.config/swaylock/config" - -sleep 0.5s; swaylock --config ${CONFIG} & disown diff --git a/hyprland/hypr/scripts/Mako.sh b/hyprland/hypr/scripts/Mako.sh deleted file mode 100755 index 27f0634..0000000 --- a/hyprland/hypr/scripts/Mako.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -CONFIG="$HOME/.config/mako/config" - -if [[ ! $(pidof mako) ]]; then - mako --config ${CONFIG} -fi diff --git a/hyprland/hypr/scripts/PortalHyprlandArch.sh b/hyprland/hypr/scripts/PortalHyprlandArch.sh deleted file mode 100755 index 8f692bf..0000000 --- a/hyprland/hypr/scripts/PortalHyprlandArch.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -sleep 1 -killall xdg-desktop-portal-hyprland -killall xdg-desktop-portal-wlr -killall xdg-desktop-portal -/usr/lib/xdg-desktop-portal-hyprland & -sleep 2 -/usr/lib/xdg-desktop-portal & diff --git a/hyprland/hypr/scripts/ScreenShot.sh b/hyprland/hypr/scripts/ScreenShot.sh deleted file mode 100755 index fc2fc70..0000000 --- a/hyprland/hypr/scripts/ScreenShot.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/bash - -iDIR="$HOME/.config/mako/icons" - -time=$(date +%Y-%m-%d-%H-%M-%S) -dir="$(xdg-user-dir)/Pictures/Screenshots" -file="Screenshot_${time}_${RANDOM}.png" - -# notify and view screenshot -notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png" -notify_view() { - ${notify_cmd_shot} "Copied to clipboard." -## viewnior ${dir}/"$file" - if [[ -e "$dir/$file" ]]; then - ${notify_cmd_shot} "Screenshot Saved." - else - ${notify_cmd_shot} "Screenshot Deleted." - fi -} - -# countdown -countdown() { - for sec in $(seq $1 -1 1); do - notify-send -h string:x-canonical-private-synchronous:shot-notify -t 1000 -i "$iDIR"/timer.png "Taking shot in : $sec" - sleep 1 - done -} - -# take shots -shotnow() { - cd ${dir} && grim - | tee "$file" | wl-copy - sleep 2 - notify_view -} - -shot5() { - countdown '5' - sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy - sleep 1 - notify_view - -} - -shot10() { - countdown '10' - sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy - notify_view -} - -shotwin() { - w_pos=$(hyprctl activewindow | grep 'at:' | cut -d':' -f2 | tr -d ' ' | tail -n1) - w_size=$(hyprctl activewindow | grep 'size:' | cut -d':' -f2 | tr -d ' ' | tail -n1 | sed s/,/x/g) - cd ${dir} && grim -g "$w_pos $w_size" - | tee "$file" | wl-copy - notify_view -} - -shotarea() { - cd ${dir} && grim -g "$(slurp -b 1B1F28CC -c E06B74ff -s C778DD0D -w 2)" - | tee "$file" | wl-copy - notify_view -} - -if [[ ! -d "$dir" ]]; then - mkdir -p "$dir" -fi - -if [[ "$1" == "--now" ]]; then - shotnow -elif [[ "$1" == "--in5" ]]; then - shot5 -elif [[ "$1" == "--in10" ]]; then - shot10 -elif [[ "$1" == "--win" ]]; then - shotwin -elif [[ "$1" == "--area" ]]; then - shotarea -else - echo -e "Available Options : --now --in5 --in10 --win --area" -fi - -exit 0 diff --git a/hyprland/hypr/scripts/Startup.sh b/hyprland/hypr/scripts/Startup.sh deleted file mode 100755 index 18d88e3..0000000 --- a/hyprland/hypr/scripts/Startup.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -SCRIPTSDIR=$HOME/.config/hypr/scripts - -# Kill already running process -_ps=(waybar mako) -for _prs in "${_ps[@]}"; do - if [[ $(pidof ${_prs}) ]]; then - killall -9 ${_prs} - fi -done - -# Lauch notification daemon (mako) -${SCRIPTSDIR}/Mako.sh & - -# Lauch statusbar (waybar) -${SCRIPTSDIR}/Waybar.sh & - -# Lauch syncthing -${SCRIPTSDIR}/syncthing.sh & diff --git a/hyprland/hypr/scripts/Volume.sh b/hyprland/hypr/scripts/Volume.sh deleted file mode 100755 index b11d8ab..0000000 --- a/hyprland/hypr/scripts/Volume.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/bash - -iDIR="$HOME/.config/hypr/mako/icons" - -# Get Volume -get_volume() { - volume=$(pamixer --get-volume) - echo "$volume" -} - -# Get icons -get_icon() { - current=$(get_volume) - if [[ "$current" -eq "0" ]]; then - echo "$iDIR/volume-mute.png" - elif [[ ("$current" -ge "0") && ("$current" -le "30") ]]; then - echo "$iDIR/volume-low.png" - elif [[ ("$current" -ge "30") && ("$current" -le "60") ]]; then - echo "$iDIR/volume-mid.png" - elif [[ ("$current" -ge "60") && ("$current" -le "100") ]]; then - echo "$iDIR/volume-high.png" - fi -} - -# Notify -notify_user() { - notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_icon)" "Volume : $(get_volume) %" -} - -# Increase Volume -inc_volume() { - pamixer -i 5 && notify_user -} - -# Decrease Volume -dec_volume() { - pamixer -d 5 && notify_user -} - -# Toggle Mute -toggle_mute() { - if [ "$(pamixer --get-mute)" == "false" ]; then - pamixer -m && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/volume-mute.png" "Volume Switched OFF" - elif [ "$(pamixer --get-mute)" == "true" ]; then - pamixer -u && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_icon)" "Volume Switched ON" - fi -} - -# Toggle Mic -toggle_mic() { - if [ "$(pamixer --default-source --get-mute)" == "false" ]; then - pamixer --default-source -m && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/microphone-mute.png" "Microphone Switched OFF" - elif [ "$(pamixer --default-source --get-mute)" == "true" ]; then - pamixer -u --default-source u && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/microphone.png" "Microphone Switched ON" - fi -} -# Get icons -get_mic_icon() { - current=$(pamixer --default-source --get-volume) - if [[ "$current" -eq "0" ]]; then - echo "$iDIR/microphone.png" - elif [[ ("$current" -ge "0") && ("$current" -le "30") ]]; then - echo "$iDIR/microphone.png" - elif [[ ("$current" -ge "30") && ("$current" -le "60") ]]; then - echo "$iDIR/microphone.png" - elif [[ ("$current" -ge "60") && ("$current" -le "100") ]]; then - echo "$iDIR/microphone.png" - fi -} -# Notify -notify_mic_user() { - notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %" -} - -# Increase MIC Volume -inc_mic_volume() { - pamixer --default-source -i 5 && notify_mic_user -} - -# Decrease MIC Volume -dec_mic_volume() { - pamixer --default-source -d 5 && notify_mic_user -} - -# Execute accordingly -if [[ "$1" == "--get" ]]; then - get_volume -elif [[ "$1" == "--inc" ]]; then - inc_volume -elif [[ "$1" == "--dec" ]]; then - dec_volume -elif [[ "$1" == "--toggle" ]]; then - toggle_mute -elif [[ "$1" == "--toggle-mic" ]]; then - toggle_mic -elif [[ "$1" == "--get-icon" ]]; then - get_icon -elif [[ "$1" == "--get-mic-icon" ]]; then - get_mic_icon -elif [[ "$1" == "--mic-inc" ]]; then - inc_mic_volume -elif [[ "$1" == "--mic-dec" ]]; then - dec_mic_volume -else - get_volume -fi diff --git a/hyprland/hypr/scripts/Waybar.sh b/hyprland/hypr/scripts/Waybar.sh deleted file mode 100755 index 394f309..0000000 --- a/hyprland/hypr/scripts/Waybar.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CONFIG="$HOME/.config/waybar/config" -STYLE="$HOME/.config/waybar/style.css" - -if [[ ! $(pidof waybar) ]]; then - waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} -fi diff --git a/hyprland/hypr/scripts/Wofi.sh b/hyprland/hypr/scripts/Wofi.sh deleted file mode 100755 index 56c0315..0000000 --- a/hyprland/hypr/scripts/Wofi.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -CONFIG="$HOME/.config/wofi/config" -STYLE="$HOME/.config/wofi/style.css" - -if [[ ! $(pidof wofi) ]]; then - wofi --show drun --prompt 'Search...' --conf ${CONFIG} --style ${STYLE} -elses - pkill wofi -fi diff --git a/hyprland/hypr/scripts/syncthing.sh b/hyprland/hypr/scripts/syncthing.sh deleted file mode 100755 index 6c88a1b..0000000 --- a/hyprland/hypr/scripts/syncthing.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -sleep 10 -sudo systemctl start syncthing@$HOST.service -syncthing diff --git a/hyprland/kitty/kitty.conf b/hyprland/kitty/kitty.conf deleted file mode 100644 index 34fc275..0000000 --- a/hyprland/kitty/kitty.conf +++ /dev/null @@ -1,64 +0,0 @@ -# colors -# Tokyo Night color scheme for kitty terminal emulator -# https://github.com/davidmathers/tokyo-night-kitty-theme -foreground #89c18f -background #000000 -color0 #2b3b44 -color8 #2b3b44 -color1 #f7768e -color9 #f7768e -color2 #5AE058 -color10 #5AE058 -color3 #e0af68 -color11 #e0af68 -color4 #7aa2f7 -color12 #7aa2f7 -color5 #bb9af7 -color13 #bb9af7 -color6 #3FB5A3 -color14 #3FB5A3 -color7 #c0caf5 -color15 #c0caf5 - -background_opacity 1 - -# cursor -cursor #89c18f -cursor_text_color #89c18f - -# selection highlight -selection_foreground none -selection_background #28344a - -# url on mouse over -url_color #9ece6a - -# window borders -active_border_color #89c18f -inactive_border_color #101014 - -# tab bar -tab_bar_style hidden -active_tab_foreground #89c18f -active_tab_background #2b3b44 -active_tab_font_style bold -inactive_tab_foreground #89c18f -inactive_tab_background #2b3b44 -inactive_tab_font_style bold -tab_bar_background #101014 -confirm_os_window_close 0 - -# The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution. -window_border_width 0 - -# The window margin (in pts) (blank area outside the border) -window_margin_width 0 - -# The window padding (in pts) (blank area between the text and the window border) -window_padding_width 0 - -# font -font_size 14.0 -font_family CaskaydiaCoveNerdFontComplete-Regular - -enable_audio_bell no diff --git a/hyprland/mako/config b/hyprland/mako/config deleted file mode 100644 index 1bd1191..0000000 --- a/hyprland/mako/config +++ /dev/null @@ -1,54 +0,0 @@ -# GLOBAL -max-history=100 -sort=-time - -# BINDING OPTIONS -on-button-left=dismiss -on-button-middle=none -on-button-right=dismiss-all -on-touch=dismiss -#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga - -# STYLE OPTIONS -font="Fantasque Sans Mono", 13 -width=300 -height=100 -margin=10 -padding=15 -border-size=1 -border-radius=12 -icons=1 -max-icon-size=48 -icon-location=left -markup=1 -actions=1 -history=1 -text-alignment=center -default-timeout=5000 -ignore-timeout=0 -max-visible=5 -layer=overlay -anchor=top-center - -background-color=#000000 -text-color=#3FB5A3 -border-color=#5AE058 -progress-color=over #89b4fa - -[urgency=low] -border-color=#5AE058 -default-timeout=2000 - -[urgency=normal] -border-color=#5AE058 -default-timeout=5000 - -[urgency=high] -border-color=#f38ba8 -text-color=#f38ba8 -default-timeout=0 - -[category=mpd] -border-color=#f9e2af -default-timeout=2000 -group-by=category diff --git a/hyprland/mako/icons/backup.png b/hyprland/mako/icons/backup.png deleted file mode 100644 index a60a495..0000000 Binary files a/hyprland/mako/icons/backup.png and /dev/null differ diff --git a/hyprland/mako/icons/battery-quarter-solid.svg b/hyprland/mako/icons/battery-quarter-solid.svg deleted file mode 100644 index 450ef3d..0000000 --- a/hyprland/mako/icons/battery-quarter-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/hyprland/mako/icons/battery-status.png b/hyprland/mako/icons/battery-status.png deleted file mode 100644 index 07bf815..0000000 Binary files a/hyprland/mako/icons/battery-status.png and /dev/null differ diff --git a/hyprland/mako/icons/brightness-100.png b/hyprland/mako/icons/brightness-100.png deleted file mode 100644 index 1e28ac3..0000000 Binary files a/hyprland/mako/icons/brightness-100.png and /dev/null differ diff --git a/hyprland/mako/icons/brightness-20.png b/hyprland/mako/icons/brightness-20.png deleted file mode 100644 index aee9c52..0000000 Binary files a/hyprland/mako/icons/brightness-20.png and /dev/null differ diff --git a/hyprland/mako/icons/brightness-40.png b/hyprland/mako/icons/brightness-40.png deleted file mode 100644 index bbedd1c..0000000 Binary files a/hyprland/mako/icons/brightness-40.png and /dev/null differ diff --git a/hyprland/mako/icons/brightness-60.png b/hyprland/mako/icons/brightness-60.png deleted file mode 100644 index 4cd838b..0000000 Binary files a/hyprland/mako/icons/brightness-60.png and /dev/null differ diff --git a/hyprland/mako/icons/brightness-80.png b/hyprland/mako/icons/brightness-80.png deleted file mode 100644 index 6684bdb..0000000 Binary files a/hyprland/mako/icons/brightness-80.png and /dev/null differ diff --git a/hyprland/mako/icons/dropper.png b/hyprland/mako/icons/dropper.png deleted file mode 100644 index 2e222a3..0000000 Binary files a/hyprland/mako/icons/dropper.png and /dev/null differ diff --git a/hyprland/mako/icons/microphone-mute.png b/hyprland/mako/icons/microphone-mute.png deleted file mode 100644 index 1780e33..0000000 Binary files a/hyprland/mako/icons/microphone-mute.png and /dev/null differ diff --git a/hyprland/mako/icons/microphone.png b/hyprland/mako/icons/microphone.png deleted file mode 100644 index d1b6d76..0000000 Binary files a/hyprland/mako/icons/microphone.png and /dev/null differ diff --git a/hyprland/mako/icons/music.png b/hyprland/mako/icons/music.png deleted file mode 100644 index 92bf4c6..0000000 Binary files a/hyprland/mako/icons/music.png and /dev/null differ diff --git a/hyprland/mako/icons/palette.png b/hyprland/mako/icons/palette.png deleted file mode 100644 index 3ba73d0..0000000 Binary files a/hyprland/mako/icons/palette.png and /dev/null differ diff --git a/hyprland/mako/icons/picture.png b/hyprland/mako/icons/picture.png deleted file mode 100644 index 4669bc3..0000000 Binary files a/hyprland/mako/icons/picture.png and /dev/null differ diff --git a/hyprland/mako/icons/timer.png b/hyprland/mako/icons/timer.png deleted file mode 100644 index 420d1f1..0000000 Binary files a/hyprland/mako/icons/timer.png and /dev/null differ diff --git a/hyprland/mako/icons/uptime.png b/hyprland/mako/icons/uptime.png deleted file mode 100644 index 9dd08de..0000000 Binary files a/hyprland/mako/icons/uptime.png and /dev/null differ diff --git a/hyprland/mako/icons/volume-high.png b/hyprland/mako/icons/volume-high.png deleted file mode 100644 index 200f17b..0000000 Binary files a/hyprland/mako/icons/volume-high.png and /dev/null differ diff --git a/hyprland/mako/icons/volume-low.png b/hyprland/mako/icons/volume-low.png deleted file mode 100644 index 17cfff7..0000000 Binary files a/hyprland/mako/icons/volume-low.png and /dev/null differ diff --git a/hyprland/mako/icons/volume-mid.png b/hyprland/mako/icons/volume-mid.png deleted file mode 100644 index 1a3ad3a..0000000 Binary files a/hyprland/mako/icons/volume-mid.png and /dev/null differ diff --git a/hyprland/mako/icons/volume-mute.png b/hyprland/mako/icons/volume-mute.png deleted file mode 100644 index 0b9b0c3..0000000 Binary files a/hyprland/mako/icons/volume-mute.png and /dev/null differ diff --git a/hyprland/mako/icons/vpn.png b/hyprland/mako/icons/vpn.png deleted file mode 100644 index e31acaa..0000000 Binary files a/hyprland/mako/icons/vpn.png and /dev/null differ diff --git a/hyprland/mako/styles/config-dark b/hyprland/mako/styles/config-dark deleted file mode 100644 index dcb0479..0000000 --- a/hyprland/mako/styles/config-dark +++ /dev/null @@ -1,54 +0,0 @@ -# GLOBAL -max-history=100 -sort=-time - -# BINDING OPTIONS -on-button-left=dismiss -on-button-middle=none -on-button-right=dismiss-all -on-touch=dismiss -#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga - -# STYLE OPTIONS -font="Fantasque Sans Mono", 13 -width=300 -height=100 -margin=10 -padding=15 -border-size=1 -border-radius=12 -icons=1 -max-icon-size=48 -icon-location=left -markup=1 -actions=1 -history=1 -text-alignment=center -default-timeout=5000 -ignore-timeout=0 -max-visible=5 -layer=overlay -anchor=top-center - -background-color=#1e1e2e -text-color=#cdd6f4 -border-color=#cba6f7 -progress-color=over #89b4fa - -[urgency=low] -border-color=#cba6f7 -default-timeout=2000 - -[urgency=normal] -border-color=#cba6f7 -default-timeout=5000 - -[urgency=high] -border-color=#f38ba8 -text-color=#f38ba8 -default-timeout=0 - -[category=mpd] -border-color=#f9e2af -default-timeout=2000 -group-by=category \ No newline at end of file diff --git a/hyprland/mako/styles/config-light b/hyprland/mako/styles/config-light deleted file mode 100644 index 617eae2..0000000 --- a/hyprland/mako/styles/config-light +++ /dev/null @@ -1,54 +0,0 @@ -# GLOBAL -max-history=100 -sort=-time - -# BINDING OPTIONS -on-button-left=dismiss -on-button-middle=none -on-button-right=dismiss-all -on-touch=dismiss -#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga - -# STYLE OPTIONS -font="Fantasque Sans Mono", 13 -width=300 -height=100 -margin=10 -padding=15 -border-size=1 -border-radius=12 -icons=1 -max-icon-size=48 -icon-location=left -markup=1 -actions=1 -history=1 -text-alignment=center -default-timeout=5000 -ignore-timeout=0 -max-visible=5 -layer=overlay -anchor=top-center - -background-color=#e7e7ec -text-color=#1e1e2e -border-color=#313244 -progress-color=over #89b4fa - -[urgency=low] -border-color=#313244 -default-timeout=2000 - -[urgency=normal] -border-color=#313244 -default-timeout=5000 - -[urgency=high] -border-color=#f38ba8 -text-color=#f38ba8 -default-timeout=0 - -[category=mpd] -border-color=#f9e2af -default-timeout=2000 -group-by=category \ No newline at end of file diff --git a/hyprland/neofetch/config.conf b/hyprland/neofetch/config.conf deleted file mode 100644 index 5dc5bbe..0000000 --- a/hyprland/neofetch/config.conf +++ /dev/null @@ -1,861 +0,0 @@ -# See this wiki page for more info: -# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info -print_info() { - info title - info underline - - info "OS" distro - info "Host" model - info "Kernel" kernel - info "Uptime" uptime - info "Packages" packages - info "Shell" shell - info "DE" de - info "WM" wm - info "WM Theme" wm_theme - info "Terminal" term - info "Terminal Font" term_font - info "CPU" cpu - info "GPU" gpu - info "Memory" memory - - # info "GPU Driver" gpu_driver # Linux/macOS only - # info "CPU Usage" cpu_usage - # info "Disk" disk - # info "Battery" battery - # info "Font" font - # info "Song" song - # [[ "$player" ]] && prin "Music Player" "$player" - # info "Local IP" local_ip - # info "Public IP" public_ip - # info "Users" users - # info "Locale" locale # This only works on glibc systems. - - info cols -} - -# Title - - -# Hide/Show Fully qualified domain name. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --title_fqdn -title_fqdn="off" - - -# Kernel - - -# Shorten the output of the kernel function. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --kernel_shorthand -# Supports: Everything except *BSDs (except PacBSD and PC-BSD) -# -# Example: -# on: '4.8.9-1-ARCH' -# off: 'Linux 4.8.9-1-ARCH' -kernel_shorthand="on" - - -# Distro - - -# Shorten the output of the distro function -# -# Default: 'off' -# Values: 'on', 'tiny', 'off' -# Flag: --distro_shorthand -# Supports: Everything except Windows and Haiku -distro_shorthand="off" - -# Show/Hide OS Architecture. -# Show 'x86_64', 'x86' and etc in 'Distro:' output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --os_arch -# -# Example: -# on: 'Arch Linux x86_64' -# off: 'Arch Linux' -os_arch="on" - - -# Uptime - - -# Shorten the output of the uptime function -# -# Default: 'on' -# Values: 'on', 'tiny', 'off' -# Flag: --uptime_shorthand -# -# Example: -# on: '2 days, 10 hours, 3 mins' -# tiny: '2d 10h 3m' -# off: '2 days, 10 hours, 3 minutes' -uptime_shorthand="on" - - -# Memory - - -# Show memory pecentage in output. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --memory_percent -# -# Example: -# on: '1801MiB / 7881MiB (22%)' -# off: '1801MiB / 7881MiB' -memory_percent="off" - -# Change memory output unit. -# -# Default: 'mib' -# Values: 'kib', 'mib', 'gib' -# Flag: --memory_unit -# -# Example: -# kib '1020928KiB / 7117824KiB' -# mib '1042MiB / 6951MiB' -# gib: ' 0.98GiB / 6.79GiB' -memory_unit="mib" - - -# Packages - - -# Show/Hide Package Manager names. -# -# Default: 'tiny' -# Values: 'on', 'tiny' 'off' -# Flag: --package_managers -# -# Example: -# on: '998 (pacman), 8 (flatpak), 4 (snap)' -# tiny: '908 (pacman, flatpak, snap)' -# off: '908' -package_managers="on" - - -# Shell - - -# Show the path to $SHELL -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --shell_path -# -# Example: -# on: '/bin/bash' -# off: 'bash' -shell_path="off" - -# Show $SHELL version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --shell_version -# -# Example: -# on: 'bash 4.4.5' -# off: 'bash' -shell_version="on" - - -# CPU - - -# CPU speed type -# -# Default: 'bios_limit' -# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. -# Flag: --speed_type -# Supports: Linux with 'cpufreq' -# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. -speed_type="bios_limit" - -# CPU speed shorthand -# -# Default: 'off' -# Values: 'on', 'off'. -# Flag: --speed_shorthand -# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz -# -# Example: -# on: 'i7-6500U (4) @ 3.1GHz' -# off: 'i7-6500U (4) @ 3.100GHz' -speed_shorthand="off" - -# Enable/Disable CPU brand in output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_brand -# -# Example: -# on: 'Intel i7-6500U' -# off: 'i7-6500U (4)' -cpu_brand="on" - -# CPU Speed -# Hide/Show CPU speed. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_speed -# -# Example: -# on: 'Intel i7-6500U (4) @ 3.1GHz' -# off: 'Intel i7-6500U (4)' -cpu_speed="on" - -# CPU Cores -# Display CPU cores in output -# -# Default: 'logical' -# Values: 'logical', 'physical', 'off' -# Flag: --cpu_cores -# Support: 'physical' doesn't work on BSD. -# -# Example: -# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) -# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) -# off: 'Intel i7-6500U @ 3.1GHz' -cpu_cores="logical" - -# CPU Temperature -# Hide/Show CPU temperature. -# Note the temperature is added to the regular CPU function. -# -# Default: 'off' -# Values: 'C', 'F', 'off' -# Flag: --cpu_temp -# Supports: Linux, BSD -# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable -# coretemp kernel module. This only supports newer Intel processors. -# -# Example: -# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' -# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' -# off: 'Intel i7-6500U (4) @ 3.1GHz' -cpu_temp="off" - - -# GPU - - -# Enable/Disable GPU Brand -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gpu_brand -# -# Example: -# on: 'AMD HD 7950' -# off: 'HD 7950' -gpu_brand="on" - -# Which GPU to display -# -# Default: 'all' -# Values: 'all', 'dedicated', 'integrated' -# Flag: --gpu_type -# Supports: Linux -# -# Example: -# all: -# GPU1: AMD HD 7950 -# GPU2: Intel Integrated Graphics -# -# dedicated: -# GPU1: AMD HD 7950 -# -# integrated: -# GPU1: Intel Integrated Graphics -gpu_type="all" - - -# Resolution - - -# Display refresh rate next to each monitor -# Default: 'off' -# Values: 'on', 'off' -# Flag: --refresh_rate -# Supports: Doesn't work on Windows. -# -# Example: -# on: '1920x1080 @ 60Hz' -# off: '1920x1080' -refresh_rate="off" - - -# Gtk Theme / Icons / Font - - -# Shorten output of GTK Theme / Icons / Font -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --gtk_shorthand -# -# Example: -# on: 'Numix, Adwaita' -# off: 'Numix [GTK2], Adwaita [GTK3]' -gtk_shorthand="off" - - -# Enable/Disable gtk2 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk2 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Adwaita [GTK3]' -gtk2="on" - -# Enable/Disable gtk3 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk3 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Numix [GTK2]' -gtk3="on" - - -# IP Address - - -# Website to ping for the public IP -# -# Default: 'http://ident.me' -# Values: 'url' -# Flag: --ip_host -public_ip_host="http://ident.me" - -# Public IP timeout. -# -# Default: '2' -# Values: 'int' -# Flag: --ip_timeout -public_ip_timeout=2 - - -# Desktop Environment - - -# Show Desktop Environment version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --de_version -de_version="on" - - -# Disk - - -# Which disks to display. -# The values can be any /dev/sdXX, mount point or directory. -# NOTE: By default we only show the disk info for '/'. -# -# Default: '/' -# Values: '/', '/dev/sdXX', '/path/to/drive'. -# Flag: --disk_show -# -# Example: -# disk_show=('/' '/dev/sdb1'): -# 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 823G / 893G (93%)' -# -# disk_show=('/'): -# 'Disk (/): 74G / 118G (66%)' -# -disk_show=('/') - -# Disk subtitle. -# What to append to the Disk subtitle. -# -# Default: 'mount' -# Values: 'mount', 'name', 'dir', 'none' -# Flag: --disk_subtitle -# -# Example: -# name: 'Disk (/dev/sda1): 74G / 118G (66%)' -# 'Disk (/dev/sdb2): 74G / 118G (66%)' -# -# mount: 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 74G / 118G (66%)' -# -# dir: 'Disk (/): 74G / 118G (66%)' -# 'Disk (Local Disk): 74G / 118G (66%)' -# 'Disk (Videos): 74G / 118G (66%)' -# -# none: 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -disk_subtitle="mount" - -# Disk percent. -# Show/Hide disk percent. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --disk_percent -# -# Example: -# on: 'Disk (/): 74G / 118G (66%)' -# off: 'Disk (/): 74G / 118G' -disk_percent="on" - - -# Song - - -# Manually specify a music player. -# -# Default: 'auto' -# Values: 'auto', 'player-name' -# Flag: --music_player -# -# Available values for 'player-name': -# -# amarok -# audacious -# banshee -# bluemindo -# clementine -# cmus -# deadbeef -# deepin-music -# dragon -# elisa -# exaile -# gnome-music -# gmusicbrowser -# gogglesmm -# guayadeque -# io.elementary.music -# iTunes -# juk -# lollypop -# mocp -# mopidy -# mpd -# muine -# netease-cloud-music -# olivia -# playerctl -# pogo -# pragha -# qmmp -# quodlibet -# rhythmbox -# sayonara -# smplayer -# spotify -# strawberry -# tauonmb -# tomahawk -# vlc -# xmms2d -# xnoise -# yarock -music_player="auto" - -# Format to display song information. -# -# Default: '%artist% - %album% - %title%' -# Values: '%artist%', '%album%', '%title%' -# Flag: --song_format -# -# Example: -# default: 'Song: Jet - Get Born - Sgt Major' -song_format="%artist% - %album% - %title%" - -# Print the Artist, Album and Title on separate lines -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --song_shorthand -# -# Example: -# on: 'Artist: The Fratellis' -# 'Album: Costello Music' -# 'Song: Chelsea Dagger' -# -# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' -song_shorthand="off" - -# 'mpc' arguments (specify a host, password etc). -# -# Default: '' -# Example: mpc_args=(-h HOST -P PASSWORD) -mpc_args=() - - -# Text Colors - - -# Text Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --colors -# -# Each number represents a different part of the text in -# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' -# -# Example: -# colors=(distro) - Text is colored based on Distro colors. -# colors=(4 6 1 8 8 6) - Text is colored in the order above. -colors=(distro) - - -# Text Options - - -# Toggle bold text -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bold -bold="on" - -# Enable/Disable Underline -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --underline -underline_enabled="on" - -# Underline character -# -# Default: '-' -# Values: 'string' -# Flag: --underline_char -underline_char="-" - - -# Info Separator -# Replace the default separator with the specified string. -# -# Default: ':' -# Flag: --separator -# -# Example: -# separator="->": 'Shell-> bash' -# separator=" =": 'WM = dwm' -separator=":" - - -# Color Blocks - - -# Color block range -# The range of colors to print. -# -# Default: '0', '15' -# Values: 'num' -# Flag: --block_range -# -# Example: -# -# Display colors 0-7 in the blocks. (8 colors) -# neofetch --block_range 0 7 -# -# Display colors 0-15 in the blocks. (16 colors) -# neofetch --block_range 0 15 -block_range=(0 15) - -# Toggle color blocks -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --color_blocks -color_blocks="on" - -# Color block width in spaces -# -# Default: '3' -# Values: 'num' -# Flag: --block_width -block_width=3 - -# Color block height in lines -# -# Default: '1' -# Values: 'num' -# Flag: --block_height -block_height=1 - -# Color Alignment -# -# Default: 'auto' -# Values: 'auto', 'num' -# Flag: --col_offset -# -# Number specifies how far from the left side of the terminal (in spaces) to -# begin printing the columns, in case you want to e.g. center them under your -# text. -# Example: -# col_offset="auto" - Default behavior of neofetch -# col_offset=7 - Leave 7 spaces then print the colors -col_offset="auto" - -# Progress Bars - - -# Bar characters -# -# Default: '-', '=' -# Values: 'string', 'string' -# Flag: --bar_char -# -# Example: -# neofetch --bar_char 'elapsed' 'total' -# neofetch --bar_char '-' '=' -bar_char_elapsed="-" -bar_char_total="=" - -# Toggle Bar border -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bar_border -bar_border="on" - -# Progress bar length in spaces -# Number of chars long to make the progress bars. -# -# Default: '15' -# Values: 'num' -# Flag: --bar_length -bar_length=15 - -# Progress bar colors -# When set to distro, uses your distro's logo colors. -# -# Default: 'distro', 'distro' -# Values: 'distro', 'num' -# Flag: --bar_colors -# -# Example: -# neofetch --bar_colors 3 4 -# neofetch --bar_colors distro 5 -bar_color_elapsed="distro" -bar_color_total="distro" - - -# Info display -# Display a bar with the info. -# -# Default: 'off' -# Values: 'bar', 'infobar', 'barinfo', 'off' -# Flags: --cpu_display -# --memory_display -# --battery_display -# --disk_display -# -# Example: -# bar: '[---=======]' -# infobar: 'info [---=======]' -# barinfo: '[---=======] info' -# off: 'info' -cpu_display="off" -memory_display="off" -battery_display="off" -disk_display="off" - - -# Backend Settings - - -# Image backend. -# -# Default: 'ascii' -# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', -# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' -# Flag: --backend -image_backend="ascii" - -# Image Source -# -# Which image or ascii file to display. -# -# Default: 'auto' -# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' -# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' -# Flag: --source -# -# NOTE: 'auto' will pick the best image source for whatever image backend is used. -# In ascii mode, distro ascii art will be used and in an image mode, your -# wallpaper will be used. -image_source="auto" - - -# Ascii Options - - -# Ascii distro -# Which distro's ascii art to display. -# -# Default: 'auto' -# Values: 'auto', 'distro_name' -# Flag: --ascii_distro -# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", -# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, -# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, -# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, -# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, -# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, -# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, -# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, -# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, -# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, -# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, -# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, -# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, -# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, -# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, -# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, -# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, -# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, -# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, -# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, -# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, -# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, -# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, -# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, -# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, -# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, -# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, -# and IRIX have ascii logos -# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. -# Use '{distro name}_old' to use the old logos. -# NOTE: Ubuntu has flavor variants. -# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, -# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. -# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, -# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, -# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, -# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, -# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, -# postmarketOS, and Void have a smaller logo variant. -# Use '{distro name}_small' to use the small variants. -ascii_distro="Arch" - -# Ascii Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --ascii_colors -# -# Example: -# ascii_colors=(distro) - Ascii is colored based on Distro colors. -# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. -ascii_colors=(distro) - -# Bold ascii logo -# Whether or not to bold the ascii logo. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --ascii_bold -ascii_bold="on" - - -# Image Options - - -# Image loop -# Setting this to on will make neofetch redraw the image constantly until -# Ctrl+C is pressed. This fixes display issues in some terminal emulators. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --loop -image_loop="off" - -# Thumbnail directory -# -# Default: '~/.cache/thumbnails/neofetch' -# Values: 'dir' -thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" - -# Crop mode -# -# Default: 'normal' -# Values: 'normal', 'fit', 'fill' -# Flag: --crop_mode -# -# See this wiki page to learn about the fit and fill options. -# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F -crop_mode="normal" - -# Crop offset -# Note: Only affects 'normal' crop mode. -# -# Default: 'center' -# Values: 'northwest', 'north', 'northeast', 'west', 'center' -# 'east', 'southwest', 'south', 'southeast' -# Flag: --crop_offset -crop_offset="center" - -# Image size -# The image is half the terminal width by default. -# -# Default: 'auto' -# Values: 'auto', '00px', '00%', 'none' -# Flags: --image_size -# --size -image_size="auto" - -# Gap between image and text -# -# Default: '3' -# Values: 'num', '-num' -# Flag: --gap -gap=3 - -# Image offsets -# Only works with the w3m backend. -# -# Default: '0' -# Values: 'px' -# Flags: --xoffset -# --yoffset -yoffset=0 -xoffset=0 - -# Image background color -# Only works with the w3m backend. -# -# Default: '' -# Values: 'color', 'blue' -# Flag: --bg_color -background_color= - - -# Misc Options - -# Stdout mode -# Turn off all colors and disables image backend (ASCII/Image). -# Useful for piping into another command. -# Default: 'off' -# Values: 'on', 'off' -stdout="off" diff --git a/hyprland/swaylock/config b/hyprland/swaylock/config deleted file mode 100644 index 1807a17..0000000 --- a/hyprland/swaylock/config +++ /dev/null @@ -1,51 +0,0 @@ -# general -fade-in=0.3 -effect-blur=5x5 -show-failed-attempts -ignore-empty-password -clock -datestr=%A %B %d -daemonize - -# indicator -indicator -indicator-radius=300 -indicator-thickness=15 - -# grace -grace=0 -grace-no-mouse -grace-no-touch - -# colors -color=000000 -separator-color=00000000 -key-hl-color=5AE058 -bs-hl-color=3FB5A3 - -# text -font="Inter" -font-size=96 -text-caps-lock-color="" -text-clear-color=3FB5A3 -text-color=5AE058 -text-ver-color=3FB5A3 -text-wrong-color=f7768e - -# inside -inside-clear-color=000000 -inside-color=000000 -inside-ver-color=000000 -inside-wrong-color=000000 - -# line -line-clear-color=3FB5A3 -line-color=000000 -line-ver-color=5AE058 -line-wrong-color=f7768e - -# ring -ring-clear-color=3FB5A3 -ring-color=000000 -ring-ver-color=5AE058 -ring-wrong-color=f7768e diff --git a/hyprland/waybar/config b/hyprland/waybar/config deleted file mode 100644 index 502dc01..0000000 --- a/hyprland/waybar/config +++ /dev/null @@ -1,163 +0,0 @@ -{ -"layer": "top", -"exclusive": true, -"passthrough": false, -"position": "bottom", -"spacing": 3, -"fixed-center": true, -"ipc": true, -"margin-top": 6, -"margin-left": 8, -"margin-right": 8, - -"modules-left": [ - "hyprland/workspaces", - "custom/separator", - "cpu", - "memory", - "disk" - ], - "modules-center": [ - "clock", - "custom/lock" - ], - "modules-right": [ - "tray", - "network", - "pulseaudio", - "pulseaudio#microphone", - "custom/power" - ], - "hyprland/window": { - "format": "{}" - }, - "hyprland/workspaces": { - "format": "{name}", - }, - "cpu": { - "interval": 10, - "format": " {usage}%", - "max-length": 10, - "on-click": "" - }, - "memory": { - "interval": 30, - "format": " {}%", - "on-click": "killall btop || kitty --title btop sh -c 'btop'", - "max-length": 50 - }, - "disk": { - "format": " {percentage_used}%", - "tooltip": true, - "interval": 30 - }, - "custom/separator": { - "format": "∣" - }, - "tray": { - "icon-size": 14, - "tooltip": false, - "spacing": 10 - }, - "battery": { - "interval": 5, - "states": { - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": "󰂄 {capacity}%", - "format-plugged": "󰂄 {capacity}%", - "format-icons": [ - "󰁺", - "󰁻", - "󰁼", - "󰁽", - "󰁾", - "󰁿", - "󰂀", - "󰂁", - "󰂂", - "󰁹" - ] - }, - "backlight": { - "device": "intel_backlight", - "format": "{icon} {percent}%", - "format-icons": [ - "󰃚", - "󰃛", - "󰃜", - "󰃝", - "󰃝", - "󰃞", - "󰃟", - "󰃠" - ], - "scroll-step": 5 - }, - "pulseaudio": { - "format": "{icon} {volume}%", - "tooltip": false, - "format-muted": "󰖁 Mute", - "on-click-right": "pamixer -t", - "on-click": "killall pavucontrol || pavucontrol", - "on-scroll-up": "pamixer -i 5", - "on-scroll-down": "pamixer -d 5", - "scroll-step": 5, - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": [ - "", - "", - "󰕾", - "" - ] - } - }, - "pulseaudio#microphone": { - "format": "{format_source}", - "format-source": " {volume} %", - "format-source-muted": "", - "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", - "on-click-right": "pavucontrol", - "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", - "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", - "scroll-step": 5, - }, - "network": { - "format": "{ifname}", - "format-wifi": " {signalStrength}%", - "format-ethernet": "󰈀 ", - "format-disconnected": "󰈂 Disconnected", - "tooltip-format": "{ifname} via {gwaddr} ", - "tooltip-format-wifi": "{essid} ({signalStrength}%) ", - "tooltip-format-ethernet": "{ifname} | {ipaddr}/{cidr} ", - "tooltip-format-disconnected": "Disconnected", - "on-click": "killall nm-connection-editor || nm-connection-editor ", - "max-length": 50 - }, - "hyprland/language": { - "format": " {}", - "format-en": "en-us", - "format-pt": "pt-br" - }, - "clock": { - "format": "{:󱑒 %I:%M %p %b %d}" - }, - "custom/lock": { - "format": "", - "on-click": "~/.config/hypr/scripts/LockScreen.sh", - "tooltip": false, - }, - "custom/power": { - "format": "  ", - "tooltip": false, - "on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown" - } -} diff --git a/hyprland/waybar/style.css b/hyprland/waybar/style.css deleted file mode 100644 index 3f1a467..0000000 --- a/hyprland/waybar/style.css +++ /dev/null @@ -1,151 +0,0 @@ -*{ -font-family: "JetBrainsMono Nerd Font"; -font-weight: bold; -min-height: 0; -/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ -font-size: 100%; -font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; -padding: 0px; -margin-top: 1px; -margin-bottom: 1px; - -} - -window#waybar { - background: rgba(0, 0, 0, 0); - /*border-bottom: 1px solid @unfocused_borders;*/ - /*border-radius: 10px;*/ - /*color: #cba6f7;*/ - /*border: 1px solid #cba6f7;*/ -} - -window#waybar.hidden { - opacity: 0.5; -} - -tooltip { - background: rgba(0, 0, 0, 0.6); - border-radius: 10px; - /*border: 1px solid #cba6f7;*/ -} - -tooltip label { - color: #5AE058; - margin-right: 2px; - margin-left: 2px; -} - -/*-----module groups----*/ -.modules-right { - background-color: rgba(0, 0, 0, 0.6); - border: 0px solid #b4befe; - border-radius: 10px; -} - -.modules-center { - background-color: rgba(0, 0, 0, 0.6); - border: 0px solid #b4befe; - border-radius: 10px; -} - -.modules-left { - background-color: rgba(0, 0, 0, 0.6); - border: 0px solid #b4befe; - border-radius: 10px; - -} - -#workspaces button { - padding: 2px; - color: #6E6A86; - margin-right: 5px; -} - -#workspaces button.active { - color: #3FB5A3; - border-radius: 15px 15px 15px 15px; -} - -#workspaces button.focused { - color: #d8dee9; -} - -#workspaces button.urgent { - color: #11111b; - border-radius: 10px; -} - -#workspaces button:hover { - color: #9CCFD8; - border-radius: 15px; -} - -#clock, -#battery, -#cpu, -#memory, -#disk, -#temperature, -#network, -#pulseaudio, -#wireplumber, -#mode, -#tray, -#cava, -#backlight, -#window, -#idle_inhibitor, -#mpd, -#bluetooth, -#taskbar, -#taskbar button, -#workspaces, -#custom-light_dark, -#custom-updater, -#custom-menu, -#custom-cycle_wall, -#custom-power, -#custom-spotify, -#custom-weather, -#custom-power, -#custom-lock, -#custom-weather.severe, -#custom-weather.sunnyDay, -#custom-weather.clearNight, -#custom-weather.cloudyFoggyDay, -#custom-weather.cloudyFoggyNight, -#custom-weather.rainyDay, -#custom-weather.rainyNight, -#custom-weather.showyIcyDay, -#custom-weather.snowyIcyNight, -#custom-weather.default, -#idle_inhibitor { - color: #5AE058; - padding: 0px 10px; - border-radius: 10px; -} - - - -#temperature.critical { - background-color: #ff0000; -} - -@keyframes blink { - to { - color: #000000; - } -} - -#taskbar button.active { - background-color: #7f849c; -} - -#battery.critical:not(.charging) { - color: #f53c3c; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} \ No newline at end of file diff --git a/hyprland/wlogout/layout b/hyprland/wlogout/layout deleted file mode 100644 index a2d12e5..0000000 --- a/hyprland/wlogout/layout +++ /dev/null @@ -1,30 +0,0 @@ -{ - "label" : "lock", - "action" : "swaylock", - "text" : "Lock", - "keybind" : "l" -} -{ - "label" : "reboot", - "action" : "systemctl reboot", - "text" : "Reboot", - "keybind" : "r" -} -{ - "label" : "shutdown", - "action" : "systemctl poweroff", - "text" : "Shutdown", - "keybind" : "s" -} -{ - "label" : "logout", - "action" : "hyprctl dispatch exit 0", - "text" : "Logout", - "keybind" : "e" -} -{ - "label" : "suspend", - "action" : "systemctl suspend", - "text" : "Suspend", - "keybind" : "u" -} diff --git a/hyprland/wlogout/lock-hover.png b/hyprland/wlogout/lock-hover.png deleted file mode 100644 index 8fb86fe..0000000 Binary files a/hyprland/wlogout/lock-hover.png and /dev/null differ diff --git a/hyprland/wlogout/lock.png b/hyprland/wlogout/lock.png deleted file mode 100644 index 430451c..0000000 Binary files a/hyprland/wlogout/lock.png and /dev/null differ diff --git a/hyprland/wlogout/logout-hover.png b/hyprland/wlogout/logout-hover.png deleted file mode 100644 index 9e570a9..0000000 Binary files a/hyprland/wlogout/logout-hover.png and /dev/null differ diff --git a/hyprland/wlogout/logout.png b/hyprland/wlogout/logout.png deleted file mode 100644 index 128c995..0000000 Binary files a/hyprland/wlogout/logout.png and /dev/null differ diff --git a/hyprland/wlogout/power-hover.png b/hyprland/wlogout/power-hover.png deleted file mode 100644 index 122d331..0000000 Binary files a/hyprland/wlogout/power-hover.png and /dev/null differ diff --git a/hyprland/wlogout/power.png b/hyprland/wlogout/power.png deleted file mode 100644 index ce56166..0000000 Binary files a/hyprland/wlogout/power.png and /dev/null differ diff --git a/hyprland/wlogout/restart-hover.png b/hyprland/wlogout/restart-hover.png deleted file mode 100644 index 3e18536..0000000 Binary files a/hyprland/wlogout/restart-hover.png and /dev/null differ diff --git a/hyprland/wlogout/restart.png b/hyprland/wlogout/restart.png deleted file mode 100644 index 7855d40..0000000 Binary files a/hyprland/wlogout/restart.png and /dev/null differ diff --git a/hyprland/wlogout/sleep-hover.png b/hyprland/wlogout/sleep-hover.png deleted file mode 100644 index 0fd3bad..0000000 Binary files a/hyprland/wlogout/sleep-hover.png and /dev/null differ diff --git a/hyprland/wlogout/sleep.png b/hyprland/wlogout/sleep.png deleted file mode 100644 index 6a3d607..0000000 Binary files a/hyprland/wlogout/sleep.png and /dev/null differ diff --git a/hyprland/wlogout/style.css b/hyprland/wlogout/style.css deleted file mode 100644 index 290dd67..0000000 --- a/hyprland/wlogout/style.css +++ /dev/null @@ -1,63 +0,0 @@ -window { - font-family: CaskaydiaCove Nerd Font, monospace; - font-size: 12pt; - color: black; - background-color: rgba(0, 0, 0, 1); -} - -button { - background-repeat: no-repeat; - background-position: center; - background-size: 20%; - border: none; - color: #3FB5A3; - text-shadow: none; - background-color: rgba(0, 0, 0, 0); - margin: 5px; - transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; -} - -button:hover { - background-color: rgba(0, 0, 0, 0); -} - -button:focus { - background-color: rgba(0, 0, 0, 0); - color: #5AE058; - text-shadow: none; -} - -#lock { - background-image: image(url("./lock-hover.png")); -} -#lock:focus { - background-image: image(url("./lock.png")); -} - -#logout { - background-image: image(url("./logout-hover.png")); -} -#logout:focus { - background-image: image(url("./logout.png")); -} - -#suspend { - background-image: image(url("./sleep-hover.png")); -} -#suspend:focus { - background-image: image(url("./sleep.png")); -} - -#shutdown { - background-image: image(url("./power-hover.png")); -} -#shutdown:focus { - background-image: image(url("./power.png")); -} - -#reboot { - background-image: image(url("./restart-hover.png")); -} -#reboot:focus { - background-image: image(url("./restart.png")); -} diff --git a/hyprland/wofi/config b/hyprland/wofi/config deleted file mode 100644 index 7632481..0000000 --- a/hyprland/wofi/config +++ /dev/null @@ -1,17 +0,0 @@ -width=550 -height=550 -location=center -show=drun -matching=fuzzy -prompt= -filter_rate=100 -allow_markup=true -no_actions=true -halign=fill -orientation=vertical -content_halign=fill -insensitive=true -allow_images=true -image_size=28 -gtk_dark=false -term=kitty diff --git a/hyprland/wofi/style.css b/hyprland/wofi/style.css deleted file mode 100644 index 6a97fb3..0000000 --- a/hyprland/wofi/style.css +++ /dev/null @@ -1,96 +0,0 @@ -* { - transition: 0.2s; -} - -window { - font-family: CaskaydiaCove Nerd Font; - font-size: 13px; - margin: 0px; - border: 2px solid black; - background-color: black; - border-radius: 16px; -} - -#input { - margin: 20px; - padding: 5px 15px; - border: none; - color: #ffffff; - background-color: rgba(255,255,255,0.05); - outline: none; - border-radius: 16px; -} - -#input::placeholder { - color: #ffffff; -} - -#input image { - color: #ffffff; -} - -#input:focus { - border: none; - outline: none; -} - -#inner-box { - margin: 20px; - margin-top: 0px; - border: none; - color: #5AE058; - border-radius: 12px; -} - -#inner-box * { - transition: none; -} - -#outer-box { - margin: 0px; - border: none; - padding: 0px; - border-radius: 16px; -} - -#scroll { - margin-top: 5px; - border: none; - border-radius: 16px; - margin-bottom: 5px; -} - -#text:selected { - color: #fff; - font-weight: bold; -} - -#img { - margin-right: 20px; - background: transparent; -} - -#text { - margin: 0px; - border: none; - padding: 0px; - background: transparent; -} - -#entry { - margin: 0px; - border: none; - border-radius: 16px; - padding: 5px 10px; - background-color: transparent; - min-height:32px; - font-weight: bold; -} - -#entry:selected { - outline: none; - margin: 0px; - border: none; - border-radius: 16px; - background-color: #3FB5A3; -} diff --git a/openBSD/i3/config b/openBSD/i3/config deleted file mode 100755 index 4c97e18..0000000 --- a/openBSD/i3/config +++ /dev/null @@ -1,211 +0,0 @@ -set $mod Mod4 - -set $up k -set $right l -set $down j -set $left h - -set $w1 1 -set $w2 2 -set $w3 3 -set $w4 4 -set $w5 5 -set $w6 6 -set $w7 7 -set $w8 8 -set $w9 9 -set $w10 10 - -# Colors -set $active #e500af -set $inactive #181818 - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -font pango:Hack Nerd Font bold 10 - -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -#font pango:Hack 10 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# start a terminal -bindsym $mod+Return exec kitty - -# kill focused window -bindsym $mod+Shift+q kill - -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -bindsym $mod+d exec --no-startup-id i3-dmenu-desktop - -# change focus -bindsym $mod+$left focus left -bindsym $mod+$down focus down -bindsym $mod+$up focus up -bindsym $mod+$right focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+$left move left -bindsym $mod+Shift+$down move down -bindsym $mod+Shift+$up move up -bindsym $mod+Shift+$right move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+c split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -#bindsym $mod+d layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+x floating toggle - -# change focus between tiling / floating windows -bindsym $mod+x focus mode_toggle - -# focus the parent container -# bindsym $mod+a focus parent - -# focus the child container -# bindsym $mod+Shift+a focus child - -# switch to workspace -bindsym $mod+1 workspace $w1 -bindsym $mod+2 workspace $w2 -bindsym $mod+3 workspace $w3 -bindsym $mod+4 workspace $w4 -bindsym $mod+5 workspace $w5 -bindsym $mod+6 workspace $w6 -bindsym $mod+7 workspace $w7 -bindsym $mod+8 workspace $w8 -bindsym $mod+9 workspace $w9 -bindsym $mod+0 workspace $w10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $w1 -bindsym $mod+Shift+2 move container to workspace $w2 -bindsym $mod+Shift+3 move container to workspace $w3 -bindsym $mod+Shift+4 move container to workspace $w4 -bindsym $mod+Shift+5 move container to workspace $w5 -bindsym $mod+Shift+6 move container to workspace $w6 -bindsym $mod+Shift+7 move container to workspace $w7 -bindsym $mod+Shift+8 move container to workspace $w8 -bindsym $mod+Shift+9 move container to workspace $w9 -bindsym $mod+Shift+0 move container to workspace $w10 - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym $left resize shrink width 10 px or 10 ppt - bindsym $down resize grow height 10 px or 10 ppt - bindsym $up resize shrink height 10 px or 10 ppt - bindsym $right resize grow width 10 px or 10 ppt - - - bindsym Shift+$left resize shrink width 50 px or 10 ppt - bindsym Shift+$down resize grow height 50 px or 10 ppt - bindsym Shift+$up resize shrink height 50 px or 10 ppt - bindsym Shift+$right resize grow width 50 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} - -bindsym $mod+r mode "resize" - - -## Style -# border color -# class border backgr. text -client.focused $active $active $inactive $active -client.unfocused $inactive $inactive $active $inactive -client.focused_inactive $inactive $inactive #4f97d7 $inactive -client.urgent $inactive $inactive #4f97d7 $inactive - -new_window pixel 1 -default_border pixel 1 - -# Disable title bar - -# Polybar -exec_always --no-startup-id ~/.config/polybar/launch.sh - -# Audio -bindsym XF86AudioRaiseVolume exec "amixer -D pulse set Master 5%+" -bindsym XF86AudioLowerVolume exec "amixer -D pulse set Master 5%-" -bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle" - -# Screenshots -bindsym --release Print exec --no-startup-id gnome-screenshot -f "$HOME/Pictures/$(date +%F_%H-%M-%S).png" -bindsym $mod+Print --release exec --no-startup-id i3-scrot -w -bindsym Ctrl+Print --release exec --no-startup-id i3-scrot -wc -bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s -bindsym Ctrl+Shift+Print --release exec --no-startup-id i3-scrot -sc - -# Screen brightness -bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 -bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 - -# no mouse follow -focus_follows_mouse no - -# Background -exec --no-startup-id feh --bg-scale ~/Downloads/wallhaven-mdg7w9.png - -# Picom -exec --no-startup-id picom --experimental-backends -f - -# Gaps -#smart_gaps on -#smart_borders on -gaps inner 10 -gaps outer 10 diff --git a/openBSD/kitty/kitty.conf b/openBSD/kitty/kitty.conf deleted file mode 100755 index a3f280a..0000000 --- a/openBSD/kitty/kitty.conf +++ /dev/null @@ -1,111 +0,0 @@ -# Environment Variables -env TERM=xterm-256color -env COLORTERM=truecolor -env CURRENT_DEVICE=laptop - -# Window -remember_window_size no -initial_window_width 1750 -initial_window_height 950 - -# Render -repaint_delay 1 -input_delay 1 -sync_to_monitor no -mouse_hide_wait 1.0 - -# Bell -enable_audio_bell no -window_alert_on_bell no - - -# Mappings -clear_all_shortcuts yes -kitty_mod ctrl+shift -map kitty_mod+c copy_to_clipboard -map kitty_mod+v paste_from_clipboard -map kitty_mod+space clear_terminal reset active -map kitty_mod+up scroll_line_up -map kitty_mod+k scroll_line_up -map kitty_mod+down scroll_line_down -map kitty_mod+j scroll_line_down -map kitty_mod+page_up scroll_page_up -map kitty_mod+page_down scroll_page_down -map kitty_mod+home scroll_home -map kitty_mod+end scroll_end - -map kitty_mod+equal change_font_size all +2.0 -map kitty_mod+plus change_font_size all +2.0 -map kitty_mod+minus change_font_size all -2.0 -map kitty_mod+kp_subtract change_font_size all -2.0 -map kitty_mod+backspace change_font_size all 0 - -# -= STYLE =------------------------------------------------------------------- -# cursor -cursor_shape block - -# Fonts -font_family PragmataPro Mono Regular -bold_font PragmataPro Mono Bold -italic_font PragmataPro Mono Italic -bold_italic_font PragmataPro Mono Bold Italic -font_size 13 -adjust_line_height 1 - - -# Colorscheme -dim_opacity 1.0 -background_opacity 0.7 - -cursor #f500af -cursor_text_color background - -url_color #83a598 - -visual_bell_color #8ec07c -bell_border_color #8ec07c - -active_border_color #d3869b -inactive_border_color #665c54 - -background #262b34 -foreground #31ccee -selection_foreground #175f6e -selection_background #d75d9f - -active_tab_foreground #fbf1c7 -active_tab_background #665c54 -inactive_tab_foreground #a89984 -inactive_tab_background #3c3836 - -# black -color0 #000000 -color8 #121212 - -# red -color1 #e10600 -color9 #ed1d24 - -#: green -color2 #0ac71a -color10 #00b140 - -# yellow -color3 #ffe900 -color11 #f6eb61 - -# blue -color4 #0827f5 -color12 #00aeef - -# purple -color5 #c724b1 -color13 #ac4fc6 - -# aqua -color6 #00ffff -color14 #07da9a - -# white -color7 #FFFFFF -color15 #898989 diff --git a/openBSD/polybar/config b/openBSD/polybar/config deleted file mode 100755 index a12993e..0000000 --- a/openBSD/polybar/config +++ /dev/null @@ -1,78 +0,0 @@ -[colors] -background = #060608 -background-alt = #121312 -foreground = #FCEDF7 -primary = #FCEDF7 -secondary = #ff0055 -alert = #7A0000 -disabled = #F9E5F2 - -[bar/mybar] -width = 1000% -height = 30 -radius = 8 - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 1pt - -border-size = 8 -border-color = #00000000 - -padding-left = 0 -padding-right = 1 - -module-margin = 1 - -separator = -separator-foreground = ${colors.primary} - -font-0 = JetBrainsMono Nerd Font;3 - -modules-left = bspwm i3 -modules-right = date - -cursor-click = pointer -cursor-scroll = ns-resize - -enable-ipc = true - -; tray-position = right - -; wm-restack = generic -; wm-restack = bspwm -; wm-restack = i3 - -; override-redirect = true - -[module/i3] -type = internal/i3 -show-urgent = true -format = -index-sort = true -wrapping-scroll = false - -label-mode-padding = 2 -label-mode-foreground = #f500af - -label-visible = %index% -label-separator = " |" - -[module/bspwm] - - -[module/date] -type = internal/date -interval = 1 - -date = %H:%M - -label = %date% -label-foreground = ${colors.primary} - -[settings] -screenchange-reload = true -pseudo-transparency = true - -; vim:ft=dosini diff --git a/openBSD/polybar/launch.sh b/openBSD/polybar/launch.sh deleted file mode 100755 index e69de29..0000000 diff --git a/openBSD/xenodm/Xresources b/openBSD/xenodm/Xresources deleted file mode 100755 index ebae962..0000000 --- a/openBSD/xenodm/Xresources +++ /dev/null @@ -1,138 +0,0 @@ -! $OpenBSD: Xresources.in,v 1.3 2020/06/28 15:38:34 matthieu Exp $ -! -! -! -! -! - - - - -xlogin*login.translations: #override \ - F1: set-session-argument(failsafe) finish-field()\n\ - Left: move-backward-character()\n\ - Right: move-forward-character()\n\ - Home: move-to-begining()\n\ - End: move-to-end()\n\ - CtrlKP_Enter: set-session-argument(failsafe) finish-field()\n\ - KP_Enter: set-session-argument() finish-field()\n\ - CtrlReturn: set-session-argument(failsafe) finish-field()\n\ - Return: set-session-argument() finish-field() - -xlogin*greeting: CLIENTHOST -xlogin*namePrompt: \040\040\040\040\040\040\040Login: -xlogin*fail: who the fuck are you? - -#if WIDTH > 800 -xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1 -xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1 -xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1 -xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1 -xlogin*greetFace: DejaVu Sans Condensed-22:bold:italic:dpi=75 -xlogin*face: DejaVu Sans Condensed-16:dpi=75 -xlogin*promptFace: DejaVu Sans Condensed-16:bold:dpi=75 -xlogin*failFace: DejaVu Sans Condensed-16:bold:dpi=75 -#else -xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1 -xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 -xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1 -xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1 -xlogin*greetFace: DejaVu Sans Condensed-18:bold:italic:dpi=75 -xlogin*face: DejaVu Sans Condensed-12:dpi=75 -xlogin*promptFace: DejaVu Sans Condensed-12:bold:dpi=75 -xlogin*failFace: DejaVu Sans Condensed-12:bold:dpi=75 -#endif - -#if !(defined(bpp1) || defined(bpp4) || defined(bpp8) || defined(bpp15)) -# if PLANES < 4 -# ifndef bpp1 -# define bpp1 -# endif -# else -# if PLANES > 4 -# if PLANES > 8 -# ifndef bpp15 -# define bpp15 -# endif -# else -# ifndef bpp8 -# define bpp8 -# endif bpp8 -# endif -# else -# ifndef bpp4 -# define bpp4 -# endif -# endif -# endif -#endif /* If manual override */ - -#ifndef bpp1 -xlogin*borderWidth: 0 -xlogin*frameWidth: 0 -xlogin*innerFramesWidth: 0 - -xlogin.Login.sepWidth: 0 - -! top/left border -xlogin*hiColor: #445566 - -! bottom/right border -xlogin*shdColor: #445566 - -xroot.background: #282a36 - -! 'Welcome to..' text color -xlogin*greetColor: #ded866 -#if defined(bpp4) || defined(bpp8) || defined(bpp15) -! flood fill -xlogin*background: #282a36 -xlogin*inpColor: #282a36 -#endif -xlogin*failColor: #ff5555 - -! 'Login:' and 'Password:' -*Foreground: #f8f8f2 - -! border/shadow -*Background: #282a36 -#else -xlogin*borderWidth: 3 -xlogin*frameWidth: 5 -xlogin*innerFramesWidth: 1 -xlogin*shdColor: white -xlogin*hiColor: white -xlogin*greetColor: white -xlogin*background: black -xlogin*failColor: white -xlogin*promptColor: white -*Foreground: white -*Background: black -#endif -#ifdef bpp1 -xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_1bpp.xpm -#endif -#ifdef bpp4 -xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_4bpp.xpm -#endif -#ifdef bpp8 -xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_8bpp.xpm -#endif -#ifdef bpp15 -xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_15bpp.xpm -#endif - -xlogin*useShape: true -xlogin*logoPadding: 10 - -! uncomment to disable logins -! xlogin.Login.allowRootLogin: false - -XConsole*background: black -XConsole*foreground: white -XConsole*borderWidth: 2 -XConsole*borderColor: grey -XConsole.text.geometry: 480x130 -XConsole.verbose: true -XConsole*iconic: true -XConsole*font: fixed diff --git a/openBSD/xenodm/Xsetup_0 b/openBSD/xenodm/Xsetup_0 deleted file mode 100755 index 8da1681..0000000 --- a/openBSD/xenodm/Xsetup_0 +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# $OpenBSD: Xsetup_0.in,v 1.1 2021/08/30 15:38:27 matthieu Exp $ - -prefix="/usr/X11R6" -exec_prefix="${prefix}" - -#$xsetroot -solid dimgrey - -#${exec_prefix}/bin/xsetroot -fg \#6f6f6f -bg \#bfbfbf -bitmap ${prefix}/include/X11/bitmaps/root_weave - -#${exec_prefix}/bin/#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail - -xrandr --output default --dpi 96 -xsetroot -solid $(xrdb -query | awk '/xroot.background/ { print $2 }') diff --git a/syncthing.sh b/syncthing.sh deleted file mode 100644 index 6c88a1b..0000000 --- a/syncthing.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -sleep 10 -sudo systemctl start syncthing@$HOST.service -syncthing