diff --git a/Hack-NerdFont.tar.gz b/Hack-NerdFont.tar.gz new file mode 100644 index 0000000..b9d62a9 Binary files /dev/null and b/Hack-NerdFont.tar.gz differ diff --git a/config/.fehbg b/config/.fehbg new file mode 100755 index 0000000..cccb23b --- /dev/null +++ b/config/.fehbg @@ -0,0 +1,2 @@ +#!/bin/sh +feh --no-fehbg --bg-fill '$HOME/.config/wallpapers/main.jpg' diff --git a/config/.gtkrc-2.0 b/config/.gtkrc-2.0 new file mode 100644 index 0000000..1088710 --- /dev/null +++ b/config/.gtkrc-2.0 @@ -0,0 +1,18 @@ +# DO NOT EDIT! This file will be overwritten by LXAppearance. +# Any customization should be done in ~/.gtkrc-2.0.mine instead. + +include "/home/zed/.gtkrc-2.0.mine" +gtk-theme-name="Dracula" +gtk-icon-theme-name="Dracula-icons" +gtk-font-name="Sans 10" +gtk-cursor-theme-name="Sunity-cursors" +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintfull" diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml new file mode 100644 index 0000000..732f39f --- /dev/null +++ b/config/alacritty/alacritty.yml @@ -0,0 +1,33 @@ +window: + #padding: + #x: 10 + #y: 10 + class: + instance: Alacritty + general: Alacritty + opacity: 0.92 + +scrolling: + history: 10000 + multiplier: 3 + +font: + normal: + family: Hack Nerd Font + style: Regular + bold: + family: Hack Nerd Font + style: Bold + italic: + family: Hack Nerd Font + style: Italic + bold_italic: + family: Hack Nerd Font + style: Bold Italic + size: 12 +draw_bold_text_with_bright_colors: true + +selection: + save_to_clipboard: true +import: + - ~/.config/alacritty/dracula.yml \ No newline at end of file diff --git a/config/alacritty/blue.yml b/config/alacritty/blue.yml new file mode 100644 index 0000000..ff67175 --- /dev/null +++ b/config/alacritty/blue.yml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '#2B303B' + foreground: '#ffffff' + + # Normal colors + normal: + black: '#2B303B' + red: '#BF616A' + green: '#A3BE8C' + yellow: '#EBCB8B' + blue: '#8FA1B3' + magenta: '#B48EAD' + cyan: '#96B5B4' + white: '#C0C5CE' + + # Bright colors + bright: + black: '#8FA1B3' + red: '#BF616A' + green: '#A3BE8C' + yellow: '#EBCB8B' + blue: '#65737E' + magenta: '#B48EAD' + cyan: '#96B5B4' + white: '#EFF1F5' \ No newline at end of file diff --git a/config/alacritty/dracula.yml b/config/alacritty/dracula.yml new file mode 100644 index 0000000..bb77a22 --- /dev/null +++ b/config/alacritty/dracula.yml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '#282a36' + foreground: '#f8f8f2' + + # Normal colors + normal: + black: '#000000' + red: '#ff5555' + green: '#50fa7b' + yellow: '#f1fa8c' + blue: '#bd93f9' + magenta: '#ff79c6' + cyan: '#8be9fd' + white: '#bbbbbb' + + # Bright colors + bright: + black: '#6272a4' + red: '#ff5555' + green: '#50fa7b' + yellow: '#f1fa8c' + blue: '#caa9fa' + magenta: '#ff79c6' + cyan: '#8be9fd' + white: '#ffffff' \ No newline at end of file diff --git a/config/alacritty/nord.yml b/config/alacritty/nord.yml new file mode 100644 index 0000000..64368d1 --- /dev/null +++ b/config/alacritty/nord.yml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '#2E3440' + foreground: '#D8DEE9' + + # Normal colors + normal: + black: '#3B4252' + red: '#BF616A' + green: '#A3BE8C' + yellow: '#EBCB8B' + blue: '#81A1C1' + magenta: '#B48EAD' + cyan: '#88C0D0' + white: '#E5E9F0' + + # Bright colors + bright: + black: '#4C566A' + red: '#BF616A' + green: '#A3BE8C' + yellow: '#EBCB8B' + blue: '#81A1C1' + magenta: '#B48EAD' + cyan: '#8FBCBB' + white: '#ECEFF4' \ No newline at end of file diff --git a/config/bookmarks.txt b/config/bookmarks.txt new file mode 100644 index 0000000..9684c9f --- /dev/null +++ b/config/bookmarks.txt @@ -0,0 +1,3 @@ +https://github.com/zedsalim +https://zedcyber.tk/ +https://mad-logic.netlify.app/ diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc new file mode 100644 index 0000000..3816a67 --- /dev/null +++ b/config/dunst/dunstrc @@ -0,0 +1,192 @@ +[global] + font = Ubuntu Mono 11 + allow_markup = yes + format = "%s\n%b" + sort = yes + indicate_hidden = yes + alignment = left + bounce_freq = 0 + show_age_threshold = 60 + word_wrap = yes + ignore_newline = no + geometry = "300x5-30+20" + shrink = no + transparency = 0 + idle_threshold = 120 + monitor = 0 + sticky_history = yes + history_length = 20 + show_indicators = yes + line_height = 0 + separator_height = 2 + padding = 8 + horizontal_padding = 16 + separator_color = frame + startup_notification = false + dmenu = /usr/bin/dmenu -p dunst: + browser = /usr/bin/firefox -new-tab + icon_position = off + icon_folders = /usr/share/icons/Papirus-Dark/16x16/status/:/usr/share/icons/Papirus-Dark/16x16/devices/ + +[frame] + width = 3 + color = "#bd93f9" + +[shortcuts] + close = ctrl+space + close_all = ctrl+shift+space + history = ctrl+grave + context = ctrl+shift+period + +[urgency_low] + background = "#282a36" + foreground = "#bd93f9" + frame_color = "#bd93f9" + timeout = 4 + +[urgency_normal] + background = "#282a36" + foreground = "#bd93f9" + frame_color = "#bd93f9" + timeout = 4 + +[urgency_critical] + background = "#ff5555" + foreground = "#f8f8f2" + frame_color = "#f8f8f2" + timeout = 0 + + + + # Icon for notifications with low urgency, uncomment to enable + #new_icon = /path/to/icon + + + # Icon for notifications with normal urgency, uncomment to enable + #new_icon = /path/to/icon + + + # Icon for notifications with critical urgency, uncomment to enable + #new_icon = /path/to/icon + +# Every section that isn't one of the above is interpreted as a rules to +# override settings for certain messages. +# +# Messages can be matched by +# appname (discouraged, see desktop_entry) +# body +# category +# desktop_entry +# icon +# match_transient +# msg_urgency +# stack_tag +# summary +# +# and you can override the +# background +# foreground +# format +# frame_color +# fullscreen +# new_icon +# set_stack_tag +# set_transient +# set_category +# timeout +# urgency +# skip_display +# history_ignore +# action_name +# word_wrap +# ellipsize +# alignment +# +# Shell-like globbing will get expanded. +# +# Instead of the appname filter, it's recommended to use the desktop_entry filter. +# GLib based applications export their desktop-entry name. In comparison to the appname, +# the desktop-entry won't get localized. +# +# SCRIPTING +# You can specify a script that gets run when the rule matches by +# setting the "script" option. +# The script will be called as follows: +# script appname summary body icon urgency +# where urgency can be "LOW", "NORMAL" or "CRITICAL". +# +# NOTE: It might be helpful to run dunst -print in a terminal in order +# to find fitting options for rules. + +# Disable the transient hint so that idle_threshold cannot be bypassed from the +# client +#[transient_disable] +# match_transient = yes +# set_transient = no +# +# Make the handling of transient notifications more strict by making them not +# be placed in history. +#[transient_history_ignore] +# match_transient = yes +# history_ignore = yes + +# fullscreen values +# show: show the notifications, regardless if there is a fullscreen window opened +# delay: displays the new notification, if there is no fullscreen window active +# If the notification is already drawn, it won't get undrawn. +# pushback: same as delay, but when switching into fullscreen, the notification will get +# withdrawn from screen again and will get delayed like a new notification +#[fullscreen_delay_everything] +# fullscreen = delay +#[fullscreen_show_critical] +# msg_urgency = critical +# fullscreen = show + +#[espeak] +# summary = "*" +# script = dunst_espeak.sh + +#[script-test] +# summary = "*script*" +# script = dunst_test.sh + +#[ignore] +# # This notification will not be displayed +# summary = "foobar" +# skip_display = true + +#[history-ignore] +# # This notification will not be saved in history +# summary = "foobar" +# history_ignore = yes + +#[skip-display] +# # This notification will not be displayed, but will be included in the history +# summary = "foobar" +# skip_display = yes + +#[signed_on] +# appname = Pidgin +# summary = "*signed on*" +# urgency = low +# +#[signed_off] +# appname = Pidgin +# summary = *signed off* +# urgency = low +# +#[says] +# appname = Pidgin +# summary = *says* +# urgency = critical +# +#[twitter] +# appname = Pidgin +# summary = *twitter.com* +# urgency = normal +# +#[stack-volumes] +# appname = "some_volume_notifiers" +# set_stack_tag = "volume" +# +# vim: ft=cfg diff --git a/config/guide.pdf b/config/guide.pdf new file mode 100755 index 0000000..945bd91 Binary files /dev/null and b/config/guide.pdf differ diff --git a/config/i3/autostart.sh b/config/i3/autostart.sh new file mode 100755 index 0000000..cce38c0 --- /dev/null +++ b/config/i3/autostart.sh @@ -0,0 +1,24 @@ + +/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & + +picom -b & +dunst & + +killall nm-applet +nm-applet & +#killall blueman-applet +#blueman-applet & + +killall volumeicon +volumeicon & + +numlockx on & + +killall xfce4-power-manager +xfce4-power-manager & + +killall sxhkd +sxhkd -c ~/.config/sxhkd/sxhkdrc & + +ibus-daemon -drx & + diff --git a/config/i3/colors.conf b/config/i3/colors.conf new file mode 100755 index 0000000..b07e070 --- /dev/null +++ b/config/i3/colors.conf @@ -0,0 +1,10 @@ +###################################### +# Colors +# class border bground text indicator child_border +client.focused #d6acff #d6acff #F8F8F2 #d6acff #d6acff +client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A +client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36 +client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555 +client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36 + +client.background #F8F8F2 \ No newline at end of file diff --git a/config/i3/config b/config/i3/config new file mode 100755 index 0000000..d0975ee --- /dev/null +++ b/config/i3/config @@ -0,0 +1,59 @@ +###################################### +# External + +include $HOME/.config/i3/workspaces.conf +include $HOME/.config/i3/colors.conf +exec --no-startup-id ibus-daemon -drx +exec_always feh --bg-fill ~/.config/wallpapers/wall.png +#exec_always --no-startup-id ~/.fehbg +exec_always --no-startup-id ~/.config/i3/autostart.sh +exec --no-startup-id ~/.config/scripts/help_notification.sh +exec_always --no-startup-id $HOME/.config/polybar/launch.sh +#exec --no-startup-id ~/.config/scripts/resolution.sh +#exec --no-startup-id ~/.config/scripts/resolution-double.sh +###################################### +# Vars + +set $mod Mod4 +set $g_inner 9 +set $g_outer 6 +###################################### +# Theme + +font pango:monospace 8 +new_window 1pixel +gaps inner $g_inner +gaps outer $g_outer +default_border pixel 2 +default_floating_border pixel 2 +floating_modifier $mod +bindsym $mod+q kill + +###################################### +# Gaps + +bindsym $mod+Shift+n gaps inner current set $g_inner; gaps outer current set $g_outer +bindsym $mod+x gaps outer current plus 5 +bindsym $mod+Shift+x gaps outer current minus 5 +bindsym $mod+z gaps inner current plus 5 +bindsym $mod+Shift+z gaps inner current minus 5 +###################################### +# System keybindings + +# Reboot +bindsym $mod+Shift+b exec "sudo reboot" +# Power off +bindsym $mod+Shift+s exec "sudo shutdown now" + + +# Browser +bindsym $mod+w exec brave-browser + +# Open Alacritty in floating mode +bindsym $mod+Shift+Return exec alacritty --class AlacrittyFloating + +# Set AlacrittyFloating window to floating mode +for_window [class="AlacrittyFloating"] floating enable, move position center + +# Open sxiv in fullscreen mode +for_window [class="Sxiv"] fullscreen diff --git a/config/i3/workspaces.conf b/config/i3/workspaces.conf new file mode 100755 index 0000000..4a72c2c --- /dev/null +++ b/config/i3/workspaces.conf @@ -0,0 +1,83 @@ +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" +set $ws11 "11" +###################################### +# Mouvements + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 +bindsym $mod+F12 workspace 11 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1 +bindsym $mod+Shift+2 move container to workspace 2 +bindsym $mod+Shift+3 move container to workspace 3 +bindsym $mod+Shift+4 move container to workspace 4 +bindsym $mod+Shift+5 move container to workspace 5 +bindsym $mod+Shift+6 move container to workspace 6 +bindsym $mod+Shift+7 move container to workspace 7 +bindsym $mod+Shift+8 move container to workspace 8 +bindsym $mod+Shift+9 move container to workspace 9 +bindsym $mod+Shift+0 move container to workspace 10 +bindsym $mod+Shift+F12 move container to workspace 11 + +# switch to workspace with numlock keys +bindcode $mod+Mod2+87 workspace 1 +bindcode $mod+Mod2+88 workspace 2 +bindcode $mod+Mod2+89 workspace 3 +bindcode $mod+Mod2+83 workspace 4 +bindcode $mod+Mod2+84 workspace 5 +bindcode $mod+Mod2+85 workspace 6 +bindcode $mod+Mod2+79 workspace 7 +bindcode $mod+Mod2+80 workspace 8 +bindcode $mod+Mod2+81 workspace 9 +bindcode $mod+Mod2+90 workspace 10 + +# move focused container to workspace with numlock keys +bindcode $mod+Shift+Mod2+87 move container to workspace 1 +bindcode $mod+Shift+Mod2+88 move container to workspace 2 +bindcode $mod+Shift+Mod2+89 move container to workspace 3 +bindcode $mod+Shift+Mod2+83 move container to workspace 4 +bindcode $mod+Shift+Mod2+84 move container to workspace 5 +bindcode $mod+Shift+Mod2+85 move container to workspace 6 +bindcode $mod+Shift+Mod2+79 move container to workspace 7 +bindcode $mod+Shift+Mod2+80 move container to workspace 8 +bindcode $mod+Shift+Mod2+81 move container to workspace 9 +bindcode $mod+Shift+Mod2+90 move container to workspace 10 + +###################################### +# Assignments +# bind program to workspace and focus to them on startup: +assign [class="Brave-browser"] 1 +assign [class="Thunar"] 2 +assign [class="Codium"] 3 +assign [class="TelegramDesktop"] 4 +assign [class="discord"] 5 +assign [class="GitHub Desktop"] 10 + +# automatic set focus new window if it opens on another workspace then the current: +for_window [class=Brave-browser] focus +for_window [class=Thunar] focus +for_window [class=Codium] focus +for_window [class=TelegramDesktop] focus +for_window [class=discord] focus +for_window [class="GitHub Desktop" ] focus + +workspace 11 output HDMI-0 diff --git a/config/neofetch/config.conf b/config/neofetch/config.conf new file mode 100755 index 0000000..c57c289 --- /dev/null +++ b/config/neofetch/config.conf @@ -0,0 +1,829 @@ +print_info() { + prin " " + info "$(color 1) OS " distro + + info "$(color 2) VER" kernel + info "$(color 3) UP " uptime + info "$(color 4) PKG" packages + info "$(color 5) WM " wm + info "$(color 6) CPU" cpu + info "$(color 7) GPU" gpu + info "$(color 8) MEM" memory + prin "$(color 1) $(color 2) $(color 3) $(color 4) $(color 5) $(color 6) $(color 7) $(color 8)" +} + +# 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="mpd" + +# 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="debian_small" + +# 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 + diff --git a/config/polybar/config b/config/polybar/config new file mode 100644 index 0000000..f35b25f --- /dev/null +++ b/config/polybar/config @@ -0,0 +1,183 @@ +[colors] +background = ##282a36 +background-alt = #44475a +foreground = #f8f8f2 +primary = #bd93f9 +secondary = #d6acff +alert = #ff6e6e +disabled = #00000 + +[bar/mybar] +width = 100% +height = 21pt +radius = 0.0 +background = ${colors.background} +foreground = ${colors.foreground} +line-size = 3pt +border-size = 1pt +border-color = #d6acff +padding-left = 0 +padding-right = 1 +module-margin = 1 +;separator = | +fixed-center = true +separator-foreground = ${colors.disabled} +font-0 = fixed:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 +modules-left = menu date xwindow +modules-center = i3 +modules-right = pulseaudio xkeyboard memory cpu wlan battery +cursor-click = pointer +cursor-scroll = ns-resize +enable-ipc = true +tray-position = right +wm-restack = i3 + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 +label-unfocused = %index% +label-unfocused-padding = 2 +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +[module/xworkspaces] +type = internal/xworkspaces +label-active = %name% +label-active-background = ${colors.background-alt} +label-active-underline= ${colors.primary} +label-active-padding = 1 +label-occupied = %name% +label-occupied-padding = 1 +label-urgent = %name% +label-urgent-background = ${colors.alert} +label-urgent-padding = 1 +label-empty = %name% +label-empty-foreground = ${colors.disabled} +label-empty-padding = 1 + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/filesystem] +type = internal/fs +interval = 25 +mount-0 = /home +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 = +format-volume-prefix = "VOL " +format-volume-prefix-foreground = ${colors.foreground} +label-volume = %percentage%% +ramp-volume-0 = 🔈 +ramp-volume-1 = 🔉 +ramp-volume-2 = 🔊 +label-muted = 🔇 muted +label-muted-foreground = ${colors.disabled} +format-muted = + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock +label-layout = %layout% +label-layout-foreground = ${colors.foreground} +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 = " " +format-prefix-foreground = ${colors.foreground} +label = %percentage_used:2%% + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground} +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% + +[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.foreground} + +[module/battery] +type = internal/battery +; This is useful in case the battery never reports 100% charge +; Default: 100 +full-at = 99 +; format-low once this charge percentage is reached +; Default: 10 +; New in version 3.6.0 +low-at = 5 +; Use the following command to list batteries and adapters: +; $ ls -1 /sys/class/power_supply/ +battery = BAT0 +adapter = ADP1 +; If an inotify event haven't been reported in this many +; seconds, manually poll for new values. +; +; Needed as a fallback for systems that don't report events +; on sysfs/procfs. +; +; Disable polling by setting the interval to 0. +; +; Default: 5 +poll-interval = 5 + +[module/menu] +type = custom/menu +menu-0-1 = Files +menu-0-1-exec = thunar & +menu-0-2 = Terminal +menu-0-2-exec = kitty & +menu-0-3 = Browser +menu-0-3-exec = brave-browser & +format = +format-foreground = ${color.primary} +label-open =  +label-close =  diff --git a/config/polybar/launch.sh b/config/polybar/launch.sh new file mode 100755 index 0000000..e8299d8 --- /dev/null +++ b/config/polybar/launch.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# Terminate already running bar instances +# If all your bars have ipc enabled, you can use +# polybar-msg cmd quit +# Otherwise you can use the nuclear option: +killall -q polybar + +# Launch bar1 and bar2 +echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log +polybar mybar 2>&1 | tee -a /tmp/polybar1.log & disown + +echo "Bars launched..." diff --git a/config/ranger/rc.conf b/config/ranger/rc.conf new file mode 100755 index 0000000..043a85a --- /dev/null +++ b/config/ranger/rc.conf @@ -0,0 +1,3 @@ +set preview_images true +set preview_images_method ueberzug +set colorscheme default diff --git a/config/rofi/config(for_debian11).rasi b/config/rofi/config(for_debian11).rasi new file mode 100755 index 0000000..482f847 --- /dev/null +++ b/config/rofi/config(for_debian11).rasi @@ -0,0 +1,127 @@ +/** + * Nordic rofi theme + * Adapted by undiabler + * + * Nord Color palette imported from https://www.nordtheme.com/ + * + */ + + +* { + nord0: #2e3440; + nord1: #3b4252; + nord2: #434c5e; + nord3: #4c566a; + + nord4: #d8dee9; + nord5: #e5e9f0; + nord6: #eceff4; + + nord7: #8fbcbb; + nord8: #88c0d0; + nord9: #81a1c1; + nord10: #5e81ac; + nord11: #bf616a; + + nord12: #d08770; + nord13: #ebcb8b; + nord14: #a3be8c; + nord15: #b48ead; + + foreground: @nord9; + backlight: #ccffeedd; + background-color: transparent; + + highlight: underline bold #eceff4; + + transparent: rgba(46,52,64,0); +} + +window { + location: center; + anchor: center; + transparency: "screenshot"; + padding: 10px; + border: 0px; + border-radius: 6px; + + background-color: @transparent; + spacing: 0; + children: [mainbox]; + orientation: horizontal; +} + +mainbox { + spacing: 0; + children: [ inputbar, message, listview ]; +} + +message { + color: @nord0; + padding: 5; + border-color: @foreground; + border: 0px 2px 2px 2px; + background-color: @nord7; +} + +inputbar { + color: @nord6; + padding: 11px; + background-color: #3b4252; + + border: 1px; + border-radius: 6px 6px 0px 0px; + border-color: @nord10; +} + +entry, prompt, case-indicator { + text-font: inherit; + text-color:inherit; +} + +prompt { + margin: 0px 1em 0em 0em ; +} + +listview { + padding: 8px; + border-radius: 0px 0px 6px 6px; + border-color: @nord10; + border: 0px 1px 1px 1px; + background-color: rgba(46,52,64,0.9); + dynamic: false; +} + +element { + padding: 3px; + vertical-align: 0.5; + border-radius: 4px; + background-color: transparent; + color: @foreground; + text-color: rgb(216, 222, 233); +} + +element selected.normal { + background-color: @nord7; + text-color: #2e3440; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} + +button { + padding: 6px; + color: @foreground; + horizontal-align: 0.5; + + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + border-color: @foreground; +} + +button selected normal { + border: 2px 0px 2px 2px; + border-color: @foreground; +} \ No newline at end of file diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi new file mode 100755 index 0000000..aac3c90 --- /dev/null +++ b/config/rofi/config.rasi @@ -0,0 +1,131 @@ +* { + font: "Jetbrains Mono 12"; + foreground: #f8f8f2; + background-color: #282a36; + active-background: #d6acff; + urgent-background: #ff5555; + urgent-foreground: #282a36; + selected-background: @active-background; + selected-urgent-background: @urgent-background; + selected-active-background: @active-background; + separatorcolor: @active-background; + bordercolor: @active-background; +} + +configuration { + show-icons: true; + display-drun: ""; + disable-history: false; +} + +#window { + background-color: @background-color; + border: 3; + border-radius: 6; + border-color: @bordercolor; + padding: 15; +} +#mainbox { + border: 0; + padding: 0; +} +#message { + border: 0px; + border-color: @separatorcolor; + padding: 1px; +} +#textbox { + text-color: @foreground; +} +#listview { + fixed-height: 0; + border: 0px; + border-color: @bordercolor; + spacing: 2px ; + scrollbar: false; + padding: 2px 0px 0px ; +} +#element { + border: 0; + padding: 3px ; +} +#element.normal.normal { + background-color: @background-color; + text-color: @foreground; +} +#element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +#element.normal.active { + background-color: @active-background; + text-color: @foreground; +} +#element.selected.normal { + background-color: @selected-background; + text-color: @foreground; +} +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @foreground; +} +#element.selected.active { + background-color: @selected-active-background; + text-color: @foreground; +} +#element.alternate.normal { + background-color: @background-color; + text-color: @foreground; +} +#element.alternate.urgent { + background-color: @urgent-background; + text-color: @foreground; +} +#element.alternate.active { + background-color: @active-background; + text-color: @foreground; +} +#scrollbar { + width: 2px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +#sidebar { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +#button.selected { + background-color: @selected-background; + text-color: @foreground; +} +#inputbar { + spacing: 0; + text-color: @foreground; + padding: 1px ; +} +#case-indicator { + spacing: 0; + text-color: @foreground; +} +#entry { + spacing: 0; + text-color: @foreground; +} +#prompt { + spacing: 0; + text-color: @foreground; +} +#inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +#textbox-prompt-colon { + expand: false; + str: ">"; + margin: 0px 0.3em 0em 0em ; + text-color: @foreground; +} +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} \ No newline at end of file diff --git a/config/scripts/bookmarks.sh b/config/scripts/bookmarks.sh new file mode 100755 index 0000000..9e9a12a --- /dev/null +++ b/config/scripts/bookmarks.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +choice=$(cat ~/.config/bookmarks.txt | rofi -dmenu -p "Choose Website: ") +[ -z "$choice" ] && exit 0 || echo "$choice" | xargs "$BROWSER" || echo "$choice" | xargs brave-browser + + +sleep 1 && exit diff --git a/config/scripts/brightness-control.sh b/config/scripts/brightness-control.sh new file mode 100755 index 0000000..eddbdd0 --- /dev/null +++ b/config/scripts/brightness-control.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# This script handles brightness control using the brightnessctl utility. + +# Configuration: +# - Use the 'brightnessctl -l' command to identify the backlight control directory specific to your system. +# - Update the 'intel_backlight' part in the decrease_brightness() and increase_brightness() functions with your specific backlight control directory. + +function decrease_brightness() { + brightnessctl -d intel_backlight set 10%- +} + +function increase_brightness() { + brightnessctl -d intel_backlight set 10%+ +} + +case "$1" in + XF86MonBrightnessDown) + decrease_brightness + ;; + XF86MonBrightnessUp) + increase_brightness + ;; +esac diff --git a/config/scripts/c/compile.sh b/config/scripts/c/compile.sh new file mode 100755 index 0000000..e939685 --- /dev/null +++ b/config/scripts/c/compile.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +cd /home/zed/Documents/c_projects + +# List all directories in the current directory +dirs=(*/) +echo "Choose your project:" + +# Loop through the directories and print a numbered list +for i in "${!dirs[@]}"; do + printf "%s\t%s\n" "$i" "${dirs[$i]}" +done + +# Prompt the user to enter a number +read num + +# Check that the input is a valid number +re='^[0-9]+$' +if ! [[ $num =~ $re ]] ; then + echo "Error: Not a valid number" >&2; exit 1 +fi + +# Get the name of the selected directory +name=${dirs[$num]} +name=${name::-1} + +cd "$name" + +# Remove a.out if it exists +if [ -f a.out ]; then + rm a.out +fi +clear +# Compile and run main.c +gcc -Wall -Wextra main.c +./a.out diff --git a/config/scripts/c/new_project.sh b/config/scripts/c/new_project.sh new file mode 100755 index 0000000..5ae44e3 --- /dev/null +++ b/config/scripts/c/new_project.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +cd /home/zed/Documents/c_projects + +ls + +echo "Enter the file's name: " + +read name + +mkdir $name + +cd $name + +touch main.c + +echo "#include + +int main() +{ + + return 0; +}" > main.c + +vim main.c diff --git a/config/scripts/c/old_project.sh b/config/scripts/c/old_project.sh new file mode 100755 index 0000000..57d6593 --- /dev/null +++ b/config/scripts/c/old_project.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +cd /home/zed/Documents/c_projects + +# List all directories in the current directory +dirs=(*/) +echo "Please choose a project by entering the corresponding number:" + +# Loop through the directories and print a numbered list +for i in "${!dirs[@]}"; do + printf "%s\t%s\n" "$i" "${dirs[$i]}" +done + +# Prompt the user to enter a number +read num + +# Check that the input is a valid number +re='^[0-9]+$' +if ! [[ $num =~ $re ]] ; then + echo "Error: Not a valid number" >&2; exit 1 +fi + +# Get the name of the selected directory +name=${dirs[$num]} +name=${name::-1} + +cd "$name" + +# Open main.c in nano +vim main.c diff --git a/config/scripts/conf.sh b/config/scripts/conf.sh new file mode 100755 index 0000000..85d7466 --- /dev/null +++ b/config/scripts/conf.sh @@ -0,0 +1,57 @@ +#!/bin/bash + +# Define the choices +choices=("i3-config" "i3-workspaces" "i3-colors" "sxhkd" "polybar" "alacritty" "kitty" "ranger" "GitHub" "scripts" "themes") + +# Prompt the user to select a choice using rofi +selected_choice=$(printf '%s\n' "${choices[@]}" | rofi -dmenu -p "Select a config file:") + +# Define the corresponding config file paths +case $selected_choice in + "i3-config") + config_file="$HOME/.config/i3/config" + ;; + "i3-workspaces") + config_file="$HOME/.config/i3/workspaces.conf" + ;; + "i3-colors") + config_file="$HOME/.config/i3/colors.conf" + ;; + "sxhkd") + config_file="$HOME/.config/sxhkd/sxhkdrc" + ;; + "polybar") + config_file="$HOME/.config/polybar/config" + ;; + "alacritty") + config_file="$HOME/.config/alacritty/alacritty.yml" + ;; + "kitty") + config_file="$HOME/.config/kitty/kitty.conf" + ;; + "ranger") + config_file="$HOME/.config/ranger/rc.conf" + ;; + "GitHub") + config_file="ranger $HOME/Documents/GitHub/" + ;; + "scripts") + config_file="ranger $HOME/.config/scripts" + ;; + "themes") + config_file="ranger $HOME/.config/scripts/themes" + ;; + *) + echo "Invalid choice" + exit 1 + ;; +esac + +# Check if the config file exists +if [[ $config_file == ranger* ]]; then + # Open the selected directory with Ranger + $config_file +else + # Open the selected config file with Vim + vim "$config_file" +fi diff --git a/config/scripts/help_notification.sh b/config/scripts/help_notification.sh new file mode 100755 index 0000000..3ba9d1c --- /dev/null +++ b/config/scripts/help_notification.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Display the startup notification +notify-send --expire-time=10000000 --urgency=critical "IMPORTANT !" " +Press Super + Shift + h to view the Guide + +NOTE: The 'Super' Key is the 'Windows' Key + + +(Click me and I disappear)" + + diff --git a/config/scripts/keyboard_layout.sh b/config/scripts/keyboard_layout.sh new file mode 100755 index 0000000..b1f4ad2 --- /dev/null +++ b/config/scripts/keyboard_layout.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# This script is optional, it switches the input method engine for the IBus (Intelligent Input Bus) framework between two options AR and FR. +current=$(ibus engine) +if [ "$current" = "xkb:dz:ar:ara" ]; then + ibus engine xkb:fr:latin9:fra +elif [ "$current" = "xkb:fr:latin9:fra" ]; then + ibus engine xkb:dz:ar:ara +fi diff --git a/config/scripts/last-single-wallpapers.sh b/config/scripts/last-single-wallpapers.sh new file mode 100755 index 0000000..0211a45 --- /dev/null +++ b/config/scripts/last-single-wallpapers.sh @@ -0,0 +1,2 @@ +#!/bin/bash +feh --bg-fill /home/zed/.config/wallpapers/71k61pmm5kd81.jpg diff --git a/config/scripts/last-two-wallpapers.sh b/config/scripts/last-two-wallpapers.sh new file mode 100755 index 0000000..0518965 --- /dev/null +++ b/config/scripts/last-two-wallpapers.sh @@ -0,0 +1,2 @@ +#!/bin/bash +feh --bg-fill /home/zed/.config/wallpapers/ign_cityRain.png --bg-fill /home/zed/.config/wallpapers/ign-0011.png diff --git a/config/scripts/old/wallpaper-double-display.sh b/config/scripts/old/wallpaper-double-display.sh new file mode 100755 index 0000000..9485398 --- /dev/null +++ b/config/scripts/old/wallpaper-double-display.sh @@ -0,0 +1,72 @@ +#!/bin/bash + +# Set the directory containing the wallpapers +wallpaper_dir="/home/zed/.config/wallpapers/" + +# Launch ranger to navigate to the wallpaper directory +kitty ranger "$wallpaper_dir" + +# Get a list of image names in the wallpaper directory +image_list=("$wallpaper_dir"/*) + +# Check if any images exist +if [ "${#image_list[@]}" -eq 0 ]; then + echo "No images found in the directory." + exit 1 +fi + +echo "Select an image for DVI (Enter the index):" + +# Prompt user to enter the index of the selected image for DVI +read -p "Enter the index of the selected image for DVI: " dvi_index + +echo "Select an image for HDMI (Enter the index):" + +# Prompt user to enter the index of the selected image for HDMI +read -p "Enter the index of the selected image for HDMI: " hdmi_index + +# Validate the selected indices +if [[ "$dvi_index" =~ ^[0-9]+$ ]] && [ "$dvi_index" -ge 1 ] && [ "$dvi_index" -le "${#image_list[@]}" ] && + [[ "$hdmi_index" =~ ^[0-9]+$ ]] && [ "$hdmi_index" -ge 1 ] && [ "$hdmi_index" -le "${#image_list[@]}" ]; then + # Get the corresponding image names + selected_image_dvi="${image_list[$((dvi_index-1))]}" + selected_image_hdmi="${image_list[$((hdmi_index-1))]}" + + # Trim leading/trailing whitespaces from the selected images + selected_image_dvi=$(echo "$selected_image_dvi" | awk '{$1=$1};1') + selected_image_hdmi=$(echo "$selected_image_hdmi" | awk '{$1=$1};1') + + # Extract the filenames + dvi_filename=$(basename "$selected_image_dvi") + hdmi_filename=$(basename "$selected_image_hdmi") + + # Display the selected images + echo "Selected image for DVI: $selected_image_dvi" + echo "Selected image for HDMI: $selected_image_hdmi" + + # Export the filenames as environment variables + export DVI_FILENAME="$dvi_filename" + export HDMI_FILENAME="$hdmi_filename" + + echo "#!/bin/bash" > ~/.config/scripts/double-display.sh + echo "" >> ~/.config/scripts/double-display.sh + echo "xrandr --output DVI-D-0 --mode 1920x1080 --pos 900x0 --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right" >> ~/.config/scripts/double-display.sh + echo "" >> ~/.config/scripts/double-display.sh + echo "feh --bg-fill ~/.config/wallpapers/$DVI_FILENAME --bg-fill ~/.config/wallpapers/$HDMI_FILENAME" >> ~/.config/scripts/double-display.sh + echo "" >> ~/.config/scripts/double-display.sh + echo "xrandr --output DVI-D-0 --mode 1920x1080 --pos 900x0 --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right" >> ~/.config/scripts/double-display.sh + echo "clear" >> ~/.config/scripts/double-display.sh + +################## + echo "#!/bin/bash" > ~/.config/scripts/single-display.sh + echo "xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --output HDMI-0 --off" >> ~/.config/scripts/single-display.sh + echo "feh --bg-fill ~/.config/wallpapers/$DVI_FILENAME" >> ~/.config/scripts/single-display.sh + echo "" >> ~/.config/scripts/single-display.sh +################# + source ~/.config/scripts/double-display.sh + echo "Wallpapers set successfully." +else + echo "Invalid index(es). No wallpapers selected." + +fi + diff --git a/config/scripts/old/wallpaper-single-display.sh b/config/scripts/old/wallpaper-single-display.sh new file mode 100755 index 0000000..d7ac296 --- /dev/null +++ b/config/scripts/old/wallpaper-single-display.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +# Set the directory containing the wallpapers +wallpaper_dir="/home/zed/.config/wallpapers/" + +# Launch ranger to navigate to the wallpaper directory +kitty ranger "$wallpaper_dir" + +# Get a list of image names in the wallpaper directory +image_list=("$wallpaper_dir"/*) + +# Check if any images exist +if [ "${#image_list[@]}" -eq 0 ]; then + echo "No images found in the directory." + exit 1 +fi + +echo "Select an image for DVI (Enter the index):" +echo + +# Prompt user to enter the index of the selected image for DVI +read -p "Enter the index of the selected image for DVI: " dvi_index + +# Validate the selected index +if [[ "$dvi_index" =~ ^[0-9]+$ ]] && [ "$dvi_index" -ge 1 ] && [ "$dvi_index" -le "${#image_list[@]}" ]; then + # Get the corresponding image name + selected_image_dvi="${image_list[$((dvi_index-1))]}" + + # Trim leading/trailing whitespaces from the selected image + selected_image_dvi=$(echo "$selected_image_dvi" | awk '{$1=$1};1') + + # Extract the filename + dvi_filename=$(basename "$selected_image_dvi") + + # Display the selected image + echo "Selected image for DVI: $selected_image_dvi" + + echo "#!/bin/bash" > ~/.config/scripts/single-display.sh + echo "xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --output HDMI-0 --off" >> ~/.config/scripts/single-display.sh + echo "feh --bg-fill ~/.config/wallpapers/$dvi_filename" >> ~/.config/scripts/single-display.sh + echo "" >> ~/.config/scripts/single-display.sh + + source ~/.config/scripts/single-display.sh +else + echo "Invalid index. No wallpaper selected." +fi + diff --git a/config/scripts/python/compile.sh b/config/scripts/python/compile.sh new file mode 100755 index 0000000..765a4d4 --- /dev/null +++ b/config/scripts/python/compile.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +cd /home/zed/Documents/python_projects + +# List all directories in the current directory +dirs=(*/) +echo "Choose your project:" + +# Loop through the directories and print a numbered list +for i in "${!dirs[@]}"; do + printf "%s\t%s\n" "$i" "${dirs[$i]}" +done + +# Prompt the user to enter a number +read num + +# Check that the input is a valid number +re='^[0-9]+$' +if ! [[ $num =~ $re ]] ; then + echo "Error: Not a valid number" >&2; exit 1 +fi + +# Get the name of the selected directory +name=${dirs[$num]} +name=${name::-1} + +cd "$name" + +clear +# Compile and run main.c +python3 main.py diff --git a/config/scripts/python/new_project.sh b/config/scripts/python/new_project.sh new file mode 100755 index 0000000..1911adb --- /dev/null +++ b/config/scripts/python/new_project.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +cd /home/zed/Documents/python_projects + +ls + +echo "Enter the file's name: " + +read name + +mkdir $name + +cd $name + +touch main.py + +code main.py diff --git a/config/scripts/python/old_project.sh b/config/scripts/python/old_project.sh new file mode 100755 index 0000000..2c52711 --- /dev/null +++ b/config/scripts/python/old_project.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +cd /home/zed/Documents/python_projects + +# List all directories in the current directory +dirs=(*/) +echo "Please choose a project by entering the corresponding number:" + +# Loop through the directories and print a numbered list +for i in "${!dirs[@]}"; do + printf "%s\t%s\n" "$i" "${dirs[$i]}" +done + +# Prompt the user to enter a number +read num + +# Check that the input is a valid number +re='^[0-9]+$' +if ! [[ $num =~ $re ]] ; then + echo "Error: Not a valid number" >&2; exit 1 +fi + +# Get the name of the selected directory +name=${dirs[$num]} +name=${name::-1} + +cd "$name" + +# Open main.c in nano +code main.py diff --git a/config/scripts/resolution-double.sh b/config/scripts/resolution-double.sh new file mode 100755 index 0000000..af7657c --- /dev/null +++ b/config/scripts/resolution-double.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DVI-D-0 --primary --mode 1920x1080 --pos 900x0 --rotate normal --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right --output DP-0 --off --output DP-1 --off diff --git a/config/scripts/resolution.sh b/config/scripts/resolution.sh new file mode 100755 index 0000000..32eaef0 --- /dev/null +++ b/config/scripts/resolution.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DVI-D-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-0 --off --output DP-0 --off --output DP-1 --off diff --git a/config/scripts/set-double-display.sh b/config/scripts/set-double-display.sh new file mode 100755 index 0000000..7fc77e4 --- /dev/null +++ b/config/scripts/set-double-display.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +xrandr --output DVI-D-0 --mode 1920x1080 --pos 900x0 --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right + +source ~/.config/scripts/last-two-wallpapers.sh +clear diff --git a/config/scripts/set-single-display.sh b/config/scripts/set-single-display.sh new file mode 100755 index 0000000..741ef1d --- /dev/null +++ b/config/scripts/set-single-display.sh @@ -0,0 +1,4 @@ +#!/bin/bash +xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --output HDMI-0 --off + +source ~/.config/scripts/last-single-wallpapers.sh diff --git a/config/scripts/themes.sh b/config/scripts/themes.sh new file mode 100755 index 0000000..e8bf954 --- /dev/null +++ b/config/scripts/themes.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +cd ~/.config/scripts/themes + +# List all the themes +themes=(*.sh) +theme_names=() + +# Loop through the themes and collect their names +for theme in "${themes[@]}"; do + theme_names+=("${theme%.sh}") +done + +# Prompt the user to select a theme using dmenu +selected_theme=$(printf '%s\n' "${theme_names[@]}" | rofi -dmenu -p "Select a theme:") + +# Find the selected theme +selected_index=-1 +for index in "${!theme_names[@]}"; do + if [[ "${theme_names[$index]}" == "$selected_theme" ]]; then + selected_index=$index + break + fi +done + +# Check if a valid theme was selected +if [ "$selected_index" -eq -1 ]; then + echo "Invalid theme" + exit 1 +fi + +# Get the name of the selected theme +selected_theme_file="${themes[$selected_index]}" +source "$selected_theme_file" + diff --git a/config/scripts/themes/BlueNova.sh b/config/scripts/themes/BlueNova.sh new file mode 100755 index 0000000..3bcfdad --- /dev/null +++ b/config/scripts/themes/BlueNova.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +cp ~/.config/scripts/themes/BlueNova/dunstrc ~/.config/dunst/ + +cp ~/.config/scripts/themes/BlueNova/config.rasi ~/.config/rofi/ + +cp ~/.config/scripts/themes/BlueNova/colors.conf ~/.config/i3/ + +cp ~/.config/scripts/themes/BlueNova/alacritty.yml ~/.config/alacritty/ + +cp ~/.config/scripts/themes/BlueNova/config ~/.config/polybar/ + +cp ~/.config/scripts/themes/BlueNova/settings.ini ~/.config/gtk-3.0/ +cp ~/.config/scripts/themes/BlueNova/.gtkrc-2.0 ~/ + diff --git a/config/scripts/themes/BlueNova/.gtkrc-2.0 b/config/scripts/themes/BlueNova/.gtkrc-2.0 new file mode 100644 index 0000000..7ca95bd --- /dev/null +++ b/config/scripts/themes/BlueNova/.gtkrc-2.0 @@ -0,0 +1,18 @@ +# DO NOT EDIT! This file will be overwritten by LXAppearance. +# Any customization should be done in ~/.gtkrc-2.0.mine instead. + +include "/home/zed/.gtkrc-2.0.mine" +gtk-theme-name="BlueSky-Clean-Dark" +gtk-icon-theme-name="Papirus" +gtk-font-name="Sans 10" +gtk-cursor-theme-name="Sunity-cursors" +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintfull" diff --git a/config/scripts/themes/BlueNova/alacritty.yml b/config/scripts/themes/BlueNova/alacritty.yml new file mode 100644 index 0000000..0d0b9e7 --- /dev/null +++ b/config/scripts/themes/BlueNova/alacritty.yml @@ -0,0 +1,33 @@ +window: + #padding: + #x: 10 + #y: 10 + class: + instance: Alacritty + general: Alacritty + opacity: 0.92 + +scrolling: + history: 10000 + multiplier: 3 + +font: + normal: + family: Hack Nerd Font + style: Regular + bold: + family: Hack Nerd Font + style: Bold + italic: + family: Hack Nerd Font + style: Italic + bold_italic: + family: Hack Nerd Font + style: Bold Italic + size: 12 +draw_bold_text_with_bright_colors: true + +selection: + save_to_clipboard: true +import: + - ~/.config/alacritty/blue.yml \ No newline at end of file diff --git a/config/scripts/themes/BlueNova/colors.conf b/config/scripts/themes/BlueNova/colors.conf new file mode 100755 index 0000000..7dd8516 --- /dev/null +++ b/config/scripts/themes/BlueNova/colors.conf @@ -0,0 +1,9 @@ +###################################### +# Colors +# class border backgr. text indicator child_border +client.focused #727F8D #727F8D #EFF1F5 #65737E #65737E. +client.focused_inactive #2B303B #65737E #D9DEE8 #000000 #000000 +client.unfocused #2B303B #2B303B #65737E #292d2e #222222 +client.urgent #BF616A #BF616A #D9DEE8 #BF616A #BF616A +client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c +client.background #ffffff \ No newline at end of file diff --git a/config/scripts/themes/BlueNova/config b/config/scripts/themes/BlueNova/config new file mode 100755 index 0000000..da8bebb --- /dev/null +++ b/config/scripts/themes/BlueNova/config @@ -0,0 +1,396 @@ +[colors] +;background = ${xrdb:color0:#222} +background = #2B303B +background-alt = #65737E +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #C0C5CE +secondary = #353C4A +alert = #BF616A + +[bar/mybar] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 22 +;offset-x = 5% +;offset-y = 1% +radius = 8.0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #BF616A + +border-size = 8 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 + +modules-left = date xwindow +modules-center = bspwm i3 +modules-right = powermenu pulseaudio xkeyboard memory cpu battery + + +tray-position = none +tray-padding = 2 +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} + +label-layout = %layout% + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/bspwm] +type = internal/bspwm + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-occupied = %index% +label-occupied-padding = 2 + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +; Separator in between workspaces +; label-separator = | + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +;pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +; Separator in between workspaces +; label-separator = | + + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format =