commit 74b5060e5a712a21eac6e90f2b0216f68078ab7e Author: Laura Hausmann Date: Thu Feb 16 19:04:43 2023 +0100 Initial commit diff --git a/archx-resources/10-monitor.conf b/archx-resources/10-monitor.conf new file mode 100644 index 0000000..844e79a --- /dev/null +++ b/archx-resources/10-monitor.conf @@ -0,0 +1,6 @@ +Section "ServerFlags" + Option "StandbyTime" "0" + Option "SuspendTime" "0" + Option "OffTime" "0" + Option "BlankTime" "0" +EndSection diff --git a/archx-resources/Default_Linux.sublime-keymap b/archx-resources/Default_Linux.sublime-keymap new file mode 100644 index 0000000..17b619e --- /dev/null +++ b/archx-resources/Default_Linux.sublime-keymap @@ -0,0 +1,4 @@ +[ + { "keys": ["ctrl+tab"], "command": "next_view" }, + { "keys": ["ctrl+shift+tab"], "command": "prev_view" } +] diff --git a/archx-resources/Preferences.sublime-settings b/archx-resources/Preferences.sublime-settings new file mode 100644 index 0000000..aa3677c --- /dev/null +++ b/archx-resources/Preferences.sublime-settings @@ -0,0 +1,9 @@ +{ + "auto_complete": false, + "font_size": 10, + "ignored_packages": + [ + "Vintage" + ], + "theme": "Adaptive.sublime-theme" +} diff --git a/archx-resources/alacritty.yml b/archx-resources/alacritty.yml new file mode 100644 index 0000000..e6e04f8 --- /dev/null +++ b/archx-resources/alacritty.yml @@ -0,0 +1,32 @@ +# Colors (Gruvbox dark) +colors: + # Default colors + primary: + # hard contrast: background = '#1d2021' + background: '#282828' + # soft contrast: background = '#32302f' + foreground: '#ebdbb2' + + # Normal colors + normal: + black: '#282828' + red: '#cc241d' + green: '#98971a' + yellow: '#d79921' + blue: '#458588' + magenta: '#b16286' + cyan: '#689d6a' + white: '#a89984' + + # Bright colors + bright: + black: '#928374' + red: '#fb4934' + green: '#b8bb26' + yellow: '#fabd2f' + blue: '#83a598' + magenta: '#d3869b' + cyan: '#8ec07c' + white: '#ebdbb2' +font: + size: 9.0 \ No newline at end of file diff --git a/archx-resources/btrbk.conf b/archx-resources/btrbk.conf new file mode 100644 index 0000000..d46f63a --- /dev/null +++ b/archx-resources/btrbk.conf @@ -0,0 +1,10 @@ +timestamp_format long +snapshot_preserve_min latest +snapshot_preserve 7d +target_preserve_min no +target_preserve 21d 10w 6m + +snapshot_dir .snapshots + +volume / + subvolume . diff --git a/archx-resources/dunstrc b/archx-resources/dunstrc new file mode 100644 index 0000000..4544858 --- /dev/null +++ b/archx-resources/dunstrc @@ -0,0 +1,73 @@ +[global] + monitor = 0 + follow = mouse + geometry = "300x5-30+20" + indicate_hidden = yes + shrink = no + transparency = 0 + notification_height = 0 + separator_height = 2 + padding = 8 + horizontal_padding = 8 + frame_width = 3 + frame_color = "#aaaaaa" + separator_color = frame + sort = yes + idle_threshold = 0 + font = Monospace 8 + line_height = 0 + markup = full + format = "%s\n%b" + alignment = left + vertical_alignment = center + show_age_threshold = 60 + word_wrap = yes + ellipsize = middle + ignore_newline = no + stack_duplicates = true + hide_duplicate_count = false + show_indicators = yes + icon_position = left + min_icon_size = 0 + max_icon_size = 32 + icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ + sticky_history = yes + history_length = 20 + dmenu = /usr/bin/dmenu -p dunst: + browser = /usr/bin/firefox -new-tab + always_run_script = true + title = Dunst + class = Dunst + startup_notification = false + verbosity = mesg + corner_radius = 0 + ignore_dbusclose = false + force_xinerama = false + mouse_left_click = close_current + mouse_middle_click = do_action, close_current + mouse_right_click = close_all + +[experimental] + per_monitor_dpi = false + +[shortcuts] + close = ctrl+space + close_all = ctrl+shift+space + history = ctrl+grave + context = ctrl+shift+period + +[urgency_low] + background = "#222222" + foreground = "#888888" + timeout = 10 + +[urgency_normal] + background = "#285577" + foreground = "#ffffff" + timeout = 0 + +[urgency_critical] + background = "#900000" + foreground = "#ffffff" + frame_color = "#ff0000" + timeout = 0 diff --git a/archx-resources/flameshot.ini b/archx-resources/flameshot.ini new file mode 100644 index 0000000..6ec139f --- /dev/null +++ b/archx-resources/flameshot.ini @@ -0,0 +1,8 @@ +[General] +closeAfterScreenshot=false +disabledTrayIcon=true +drawColor=#ff0000 +drawThickness=3 +saveAfterCopyPath=/home/laura/Pictures +showDesktopNotification=false +showHelp=false diff --git a/archx-resources/flat-orange.rasi b/archx-resources/flat-orange.rasi new file mode 100644 index 0000000..c4d45b6 --- /dev/null +++ b/archx-resources/flat-orange.rasi @@ -0,0 +1,147 @@ +/** + * ROFI Color theme + * User: mbfraga + * Copyright: Martin B. Fraga + */ + +/* global settings and color variables */ +* { + maincolor: #ed8712; + highlight: bold #ed8712; + urgentcolor: #e53714; + + fgwhite: #cfcfcf; + blackdarkest: #1d1d1d; + blackwidget: #262626; + blackentry: #292929; + blackselect: #454545; + darkgray: #848484; + scrollbarcolor: #505050; + font: "DejaVu Sans Mono Regular 14"; + background-color: @blackdarkest; +} + +window { + background-color: @blackdarkest; + anchor: north; + location: north; + y-offset: 20%; +} + +mainbox { + background-color: @blackdarkest; + spacing:0px; + children: [inputbar, message, mode-switcher, listview]; +} + +message { + padding: 6px 10px; + background-color:@blackwidget; +} + +textbox { + text-color:@darkgray; + background-color:@blackwidget; +} + +listview { + fixed-height: false; + dynamic: true; + scrollbar: true; + spacing: 0px; + padding: 1px 0px 0px 0px; + margin: 0px 0px 1px 0px; + background: @blackdarkest; +} + +element { + padding: 2px 15px; +} + +element normal.normal { + padding: 0px 15px; + background-color: @blackentry; + text-color: @fgwhite; +} + +element normal.urgent { + background-color: @blackentry; + text-color: @urgentcolor; +} + +element normal.active { + background-color: @blackentry; + text-color: @maincolor; +} + +element selected.normal { + background-color: @blackselect; + text-color: @fgwhite; +} + +element selected.urgent { + background-color: @urgentcolor; + text-color: @blackdarkest; +} + +element selected.active { + background-color: @maincolor; + text-color: @blackdarkest; +} + +element alternate.normal { + background-color: @blackentry; + text-color: @fgwhite; +} + +element alternate.urgent { + background-color: @blackentry; + text-color: @urgentcolor; +} + +element alternate.active { + background-color: @blackentry; + text-color: @maincolor; +} + +scrollbar { + background-color: @blackwidget; + handle-color: @darkgray; + handle-width: 15px; +} + +mode-switcher { + background-color: @blackwidget; +} + +button { + background-color: @blackwidget; + text-color: @darkgray; +} + +button selected { + text-color: @maincolor; +} + +inputbar { + background-color: @blackdarkest; + spacing: 0px; +} + +prompt { + padding:6px 9px; + background-color: @maincolor; + text-color:@blackwidget; +} + +entry { + padding:6px 10px; + background-color:@blackwidget; + text-color:@fgwhite; +} + +case-indicator { + padding:6px 10px; + text-color:@maincolor; + background-color:@blackwidget; +} diff --git a/archx-resources/fontconfig b/archx-resources/fontconfig new file mode 100644 index 0000000..a9cb020 --- /dev/null +++ b/archx-resources/fontconfig @@ -0,0 +1,74 @@ + + + + + + Apple Color Emoji + + emoji + + + + Segoe UI Emoji + + emoji + + + + Segoe UI Symbol + + emoji + + + + Noto Emoji + + emoji + + + + Noto Color Emoji + + emoji + + + + Symbola + + emoji + + + + Android Emoji + + emoji + + + + EmojiSymbols + + emoji + + + + sans-serif + + Noto Sans + DejaVu Sans + + + + serif + + Noto Serif + DejaVu Serif + + + + monospace + + Noto Mono + DejaVu Sans Mono + + + diff --git a/archx-resources/gtk3-settings.ini b/archx-resources/gtk3-settings.ini new file mode 100644 index 0000000..bff7cf6 --- /dev/null +++ b/archx-resources/gtk3-settings.ini @@ -0,0 +1,16 @@ +[Settings] +gtk-theme-name=Adwaita-dark +gtk-icon-theme-name=Papirus-Dark +gtk-font-name=Cantarell 11 +gtk-cursor-theme-name=Adwaita +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 +gtk-decoration-layout=menu: diff --git a/archx-resources/i3_config b/archx-resources/i3_config new file mode 100644 index 0000000..dec9324 --- /dev/null +++ b/archx-resources/i3_config @@ -0,0 +1,274 @@ +# This file has been auto-generated by i3-config-wizard(1). +# It will not be overwritten, so edit it as you like. +# +# Should you change your keyboard layout some time, delete +# this file and re-run i3-config-wizard(1). +# + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +set $mod Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:monospace 8 + +# 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:DejaVu Sans Mono 8 + +# The combination of xss-lock, nm-applet and pactl is a popular choice, so +# they are included here as an example. Modify as you see fit. + +# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the +# screen before suspend. Use loginctl lock-session to lock your screen. +#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec alacritty; workspace number $ws4 + +# 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+j focus left +#bindsym $mod+k focus down +#bindsym $mod+l focus up +#bindsym $mod+semicolon 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+l move up +#bindsym $mod+Shift+semicolon 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+w 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 + +# focus the child container +#bindsym $mod+d focus child + +# 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:[1] web" +set $ws2 "2:[2] chat" +set $ws3 "3:[3] subl" +#set $ws2 "2:[2] left" +#set $ws3 "3:[3] right" +set $ws4 "4:[4] term" +set $ws5 "5:[5] audio" +set $ws6 "6:[6]" +set $ws7 "7:[7]" +set $ws8 "8:[8]" +set $ws9 "9:[9]" +set $ws10 "10:[10]" + +# lock workspaces to outputs +#workspace $ws1 output DisplayPort-0 +#workspace $ws2 output HDMI-A-0 +#workspace $ws3 output DisplayPort-1 +#workspace $ws4 output DisplayPort-0 +#workspace $ws5 output DisplayPort-0 +#workspace $ws6 output DisplayPort-0 +#workspace $ws7 output DisplayPort-0 +#workspace $ws8 output DisplayPort-0 +#workspace $ws9 output DisplayPort-0 +#workspace $ws10 output DisplayPort-0 + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +# 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 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 semicolon 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 or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +bindsym $mod+r mode "resize" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +# bar { +# status_command i3status +# } + + +### zotan customizations + +#exec --no-startup-id "bash /home/laura/.screenlayout/layout.sh" +exec --no-startup-id "xrdb -merge ~/.Xresources" +exec --no-startup-id "gnome-keyring-daemon -s" +exec --no-startup-id "nitrogen --restore" +exec --no-startup-id "lxpolkit" + +#exec --no-startup-id "nm-applet" +#exec --no-startup-id "pasystray" +exec --no-startup-id "parcellite -n" +#exec --no-startup-id "solaar -w hide" + +exec --no-startup-id "google-chrome-stable" +exec --no-startup-id "subl3" +exec --no-startup-id "telegram-desktop" +#exec --no-startup-id "spotify" +#exec --no-startup-id "pavucontrol" + +exec_always --no-startup-id $HOME/.config/polybar/launch.sh + +#exec --no-startup-id "xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Natural Scrolling Enabled' 1" +#exec mpv --player-operation-mode=pseudo-gui +#exec --no-startup-id "setxkbmap -option compose:caps" + +#exec --no-startup-id "picom -b" + +for_window [class="(?i)google-chrome"] move to workspace $ws1 +for_window [class="(?i)google-chrome"] layout tabbed +#for_window [class="(?i)google-chrome"] border none +for_window [class="(?i)subl3"] move to workspace $ws3 +for_window [class="(?i)subl3" window_type=normal] border none +for_window [class="(?i)telegram"] move to workspace $ws2 +for_window [class="(?i)telegram"] border none +for_window [class="(?i)alacritty"] move to workspace $ws4 +for_window [class="(?i)alacritty"] layout tabbed + +for_window [class="(?i)spotify"] move to workspace $ws5 +for_window [class="(?i)spotify"] layout tabbed +#for_window [class="(?i)mpv"] move to workspace $ws5 +#for_window [class="(?i)mpv"] layout tabbed +for_window [title="(?i)no file - mpv"] floating enable +for_window [title="(?i)no file - mpv"] move scratchpad +for_window [class="(?i)pavucontrol"] move to workspace $ws5 +#for_window [class="(?i)pavucontrol"] layout tabbed +for_window [class="(?i)blueman"] move to workspace $ws5 +#for_window [class="(?i)blueman"] layout tabbed + +bindsym $mod+d exec "rofi -show drun -modi drun,run,window,ssh" +bindsym $mod+l exec betterlockscreen -l + +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle + +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% + +bindsym ctrl+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +1% +bindsym ctrl+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -1% + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec xbacklight -inc 10 # increase screen brightness +bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # decrease screen brightness + +bindsym ctrl+XF86MonBrightnessUp exec xbacklight -inc 1 # increase screen brightness +bindsym ctrl+XF86MonBrightnessDown exec xbacklight -dec 1 # decrease screen brightness + +#bindsym Print exec escrotum -Cs +bindsym Print exec flameshot gui + +hide_edge_borders smart + +bindsym $mod+period workspace next +bindsym $mod+comma workspace prev + +bindsym $mod+space scratchpad show + +#bindsym ctrl+$mod+shift+Prior exec --no-startup-id bash -c "echo -n 'ZMON' | timeout 0.1 nc denon 23" +#bindsym ctrl+$mod+shift+Next exec --no-startup-id bash -c "echo -n 'ZMOFF' | timeout 0.1 nc denon 23" + +#bindsym ctrl+$mod+shift+Up exec --no-startup-id bash -c "echo -n 'MVUP' | timeout 0.1 nc denon 23" +#bindsym ctrl+$mod+shift+Down exec --no-startup-id bash -c "echo -n 'MVDOWN' | timeout 0.1 nc denon 23" + +#bindsym ctrl+$mod+shift+M exec --no-startup-id bash -c "echo -n 'RCKSK0410370' | timeout 0.1 nc denon 23" + +#bindsym ctrl+$mod+shift+Left exec --no-startup-id bash -c "echo -n 'RCKSK0410787' | timeout 0.1 nc denon 23" +#bindsym ctrl+$mod+shift+Right exec --no-startup-id bash -c "echo -n 'RCKSK0410788' | timeout 0.1 nc denon 23" + + +#bindsym ctrl+$mod+shift+1 exec --no-startup-id bash -c "echo -n 'RCKSK0410349' | timeout 0.1 nc denon 23" +#bindsym ctrl+$mod+shift+2 exec --no-startup-id bash -c "echo -n 'RCKSK0410332' | timeout 0.1 nc denon 23" diff --git a/archx-resources/launch_polybar.sh b/archx-resources/launch_polybar.sh new file mode 100755 index 0000000..00ab94a --- /dev/null +++ b/archx-resources/launch_polybar.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done + +# Launch Polybar, using default config location ~/.config/polybar/config +polybar i3wm & + +echo "Polybar launched..." diff --git a/archx-resources/locale-fix.hook b/archx-resources/locale-fix.hook new file mode 100644 index 0000000..edeca96 --- /dev/null +++ b/archx-resources/locale-fix.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Path +Target = usr/share/i18n/locales/iso14651_t1_common + +[Action] +Description = Fixing locale sort... +When = PostTransaction +Exec = /usr/bin/bash -c "sed -i 's/ IGNORE/ /g' /usr/share/i18n/locales/iso14651_t1_common && locale-gen" diff --git a/archx-resources/mdata b/archx-resources/mdata new file mode 100755 index 0000000..502b8f9 --- /dev/null +++ b/archx-resources/mdata @@ -0,0 +1,30 @@ +bar1=" " +bar2=" " +bar3=" " +bar4=" " +bar5=" " + +output=$(mmcli -m ANY) + +signal=$(echo "$output" | grep -oP '(?<=signal quality: ).*(?=\%)') + +if [[ signal -lt 20 ]]; then + echo -n "$bar1" +elif [[ signal -lt 20 ]]; then + echo -n "$bar1" +elif [[ signal -lt 40 ]]; then + echo -n "$bar2" +elif [[ signal -lt 60 ]]; then + echo -n "$bar3" +elif [[ signal -lt 80 ]]; then + echo -n "$bar4" +else + echo -n "$bar5" +fi + +echo "$output" | grep -oP '(?<=state: ).*' | cat | head -n 1 | tr -d '\n' | sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" +echo -n ' / ' +echo "$output" | grep -oP '(?<=operator name: ).*' | tr -d '\n' +echo -n ' / ' +echo "$output" | grep -oP '(?<=access tech: ).*' | tr [a-z] [A-Z] | tr -d '\n' +echo diff --git a/archx-resources/mpv.conf b/archx-resources/mpv.conf new file mode 100644 index 0000000..a7bfc12 --- /dev/null +++ b/archx-resources/mpv.conf @@ -0,0 +1,3 @@ +loop-playlist=yes +prefetch-playlist=yes +autofit-larger=600x600 diff --git a/archx-resources/parcelliterc b/archx-resources/parcelliterc new file mode 100644 index 0000000..64e0ad5 --- /dev/null +++ b/archx-resources/parcelliterc @@ -0,0 +1,41 @@ +[rc] +RCVersion=1 +use_copy=true +use_primary=false +synchronize=false +save_history=false +history_pos=false +history_x=1 +history_y=1 +history_limit=25 +data_size=0 +item_size=5 +automatic_paste=false +auto_key=false +auto_mouse=false +key_input=false +restore_empty=true +rc_edit=false +type_search=false +case_search=false +ignore_whiteonly=false +trim_wspace_begend=false +trim_newline=false +hyperlinks_only=false +confirm_clear=true +current_on_top=true +single_line=true +reverse_history=false +item_length=50 +persistent_history=false +persistent_separate=false +persistent_on_top=false +persistent_delim=\\n +nonprint_disp=false +ellipsize=2 +multi_user=true +icon_name=parcellite +menu_key=P +history_key=H +phistory_key=X +actions_key=A diff --git a/archx-resources/polybar_config b/archx-resources/polybar_config new file mode 100644 index 0000000..325d759 --- /dev/null +++ b/archx-resources/polybar_config @@ -0,0 +1,480 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = #222 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #fff +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/i3wm] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 26 +;offset-x = 1% +;offset-y = 1% +radius = 1.0 +fixed-center = false + +bottom = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 0 +#border-top-size = 4 + +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = Noto Sans:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 + +modules-left = i3 +;modules-center = mpd +modules-right = pulseaudio eth date + +tray-position = right +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} +format-prefix-underline = ${colors.secondary} + +label-layout = %layout% +label-layout-underline = ${colors.secondary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${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 = %name% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %name% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %name% +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 = %name% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +; Separator in between workspaces +; label-separator = | + +strip-wsnumbers = true + + +[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 =