commit 4c4bafce1dda07a80007070f1e28d57b02b191df Author: Slava Date: Sun Jul 22 14:33:18 2018 +0300 новый файл: .Xresources новый файл: .config/compton.conf новый файл: .config/i3/colors новый файл: .config/i3/config новый файл: .config/i3/config.save новый файл: .config/i3/theme новый файл: .config/neofetch/config.conf новый файл: .config/nitrogen/bg-saved.cfg новый файл: .config/nitrogen/nitrogen.cfg новый файл: .config/polybar/config новый файл: .config/polybar/launch.sh новый файл: .config/rofi/config новый файл: .config/rofi/rofi.conf diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..d681ca1 --- /dev/null +++ b/.Xresources @@ -0,0 +1,95 @@ +! ^ The above lines are no comments! +! Leave them as they are if a file ~/.extend.Xresources is being used on your system. +! config can be added there or also here below. +! For comments use "!" + +Xft.dpi: 100 +Xft.antialias: true +Xft.hinting: true +Xft.rgba: rgb +Xft.autohint: false +Xft.hintstyle: hintslight +Xft.lcdfilter: lcddefault + +XTerm*reverseVideo: on +XTerm*faceName: HackRegular:size=11:antialias=true +XTerm*selectToClipboard: true + +! URxvt SETUP HERE ! + +! X colors. +! Generated by 'wal' +*foreground: #a9cfdc +*background: #0f0c0d +*.foreground: #a9cfdc +*.background: #0f0c0d +emacs*foreground: #a9cfdc +emacs*background: #0f0c0d +URxvt*foreground: #a9cfdc +XTerm*foreground: #a9cfdc +UXTerm*foreground: #a9cfdc +URxvt*background: [100]#0f0c0d +XTerm*background: #0f0c0d +UXTerm*background: #0f0c0d +URxvt*cursorColor: #a9cfdc +XTerm*cursorColor: #a9cfdc +UXTerm*cursorColor: #a9cfdc +URxvt*borderColor: [100]#0f0c0d + +! Colors 0-15. +*.color0: #0f0c0d +*color0: #0f0c0d +*.color1: #877977 +*color1: #877977 +*.color2: #2E7789 +*color2: #2E7789 +*.color3: #2696AC +*color3: #2696AC +*.color4: #549BB4 +*color4: #549BB4 +*.color5: #5EAAC7 +*color5: #5EAAC7 +*.color6: #58B6C8 +*color6: #58B6C8 +*.color7: #a9cfdc +*color7: #a9cfdc +*.color8: #76909a +*color8: #76909a +*.color9: #877977 +*color9: #877977 +*.color10: #2E7789 +*color10: #2E7789 +*.color11: #2696AC +*color11: #2696AC +*.color12: #549BB4 +*color12: #549BB4 +*.color13: #5EAAC7 +*color13: #5EAAC7 +*.color14: #58B6C8 +*color14: #58B6C8 +*.color15: #a9cfdc +*color15: #a9cfdc + +! Black color that will not be affected by bold highlighting. +*.color66: #0f0c0d +*color66: #0f0c0d + +! Xclock colors. +XClock*foreground: #a9cfdc +XClock*background: #0f0c0d +XClock*majorColor: rgba:a9/cf/dc/ff +XClock*minorColor: rgba:a9/cf/dc/ff +XClock*hourColor: rgba:a9/cf/dc/ff +XClock*minuteColor: rgba:a9/cf/dc/ff +XClock*secondColor: rgba:a9/cf/dc/ff + +! Set depth to make transparency work. +URxvt*depth: 32 +URxvt.font: xft:monaco:size=10 +URxvt*scrollBar: false +URxvt*mouseWheelScrollPage: false +URxvt*cursorBlink: true +URxvt*saveLines: 5000 +urxvt*transparent: true +urxvt*shading: 35 +urxvt*blurRadius: 10 diff --git a/.config/compton.conf b/.config/compton.conf new file mode 100644 index 0000000..e45c4d0 --- /dev/null +++ b/.config/compton.conf @@ -0,0 +1,106 @@ +# Shadow +shadow = true; +# no-dnd-shadow = true; +no-dock-shadow = true; +clear-shadow = true; +detect-rounded-corners = true; +shadow-radius = 10; +shadow-offset-x = -7; +shadow-offset-y = -7; +shadow-opacity = 1; +shadow-ignore-shaped = false; +shadow-exclude = [ + "name = 'Notification'", +# workaround for conky until it provides window properties: + "override_redirect = 1 && !WM_CLASS@:s", +# "class_g ?= 'Dunst'", +# disable shadows for hidden windows: + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", + "_GTK_FRAME_EXTENTS@:c", +# disables shadows on sticky windows: +# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'", +# disables shadows on i3 frames + "class_g ?= 'i3-frame'" +]; + +# shadow-exclude-reg = "x10+0+0"; +# xinerama-shadow-crop = true; + +menu-opacity = 0.95; +inactive-opacity = 1.0; +active-opacity = 1; +alpha-step = 0.01; +inactive-dim = 0.0; +blur-background = false; +blur-kern = "3x3box"; + +fading = false; +fade-delta = 1; +fade-in-step = 0.03; +fade-out-step = 0.03; +fade-exclude = [ ]; + +backend = "xrender"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +detect-client-opacity = true; +unredir-if-possible = true; +refresh-rate = 0; +vsync = "none"; +dbe = false; +paint-on-overlay = true; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +glx-copy-from-front = false; +glx-swap-method = "undefined"; + +opacity-rule = [ +"99:name *?= 'Call'", +"99:name *?= 'Conky'", +"99:class_g = 'Darktable'", +"50:class_g = 'Dmenu'", +"99:name *?= 'Event'", +"99:class_g = 'Firefox'", +"99:class_g = 'GIMP'", +"99:name *?= 'Image'", +"99:class_g = 'Lazpaint'", +"99:class_g = 'Midori'", +"99:name *?= 'Minitube'", +"99:class_g = 'Mousepad'", +"99:name *?= 'MuseScore'", +"90:name *?= 'Page Info'", +"99:name *?= 'Pale Moon'", +"90:name *?= 'Panel'", +"99:class_g = 'Pinta'", +"90:name *?= 'Restart'", +"99:name *?= 'sudo'", +"99:name *?= 'Screenshot'", +"99:class_g = 'Viewnior'", +"99:class_g = 'VirtualBox'", +"99:name *?= 'VLC'", +"99:name *?= 'Write'", +"99:name *?= 'rofi'", +#"100:class_g = 'URxvt' && !_NET_WM_STATE@:32a", +"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", +"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" +]; + +wintypes : +{ + tooltip : + { + fade = true; + shadow = false; + opacity = 0.85; + focus = true; + }; + fullscreen : + { + fade = true; + shadow = false; + opacity = 1; + focus = true; + }; +}; diff --git a/.config/i3/colors b/.config/i3/colors new file mode 100755 index 0000000..89deb2c --- /dev/null +++ b/.config/i3/colors @@ -0,0 +1,33 @@ +[theme] + background = #090808 + foreground = #FFFFFF + color1 = # + color2 = # + color3 = # + color4 = # + color5 = # + opacity = # + +[font]+ + + + + + + + + + + + + + + + + + . + font-0 = monofur:fontformat=truetype:size=11;1 + font-1 = monofur:fontformat=truetype:size=11;1 + font-2 = FontAwesome:fontformat=truetype:size=9;1 + font-3 = MonofurNerdFont:fontformat=truetype:size=14;1 + font-4 = serif:fontformat=truetype:size=14;1 \ No newline at end of file diff --git a/.config/i3/config b/.config/i3/config new file mode 100644 index 0000000..05ea6e6 --- /dev/null +++ b/.config/i3/config @@ -0,0 +1,203 @@ +# 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 + +# Autostart +exec compton -f --vsync drm +exec nitrogen --restore + +# polybar start +exec_always ~/.config/polybar/launch.sh + + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:monaco 10 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +#font pango:DejaVu Sans Mono 8 + +# Before i3 v4.8, we used to recommend this one as the default: +# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# The font above is very space-efficient, that is, it looks good, sharp and +# clear in small sizes. However, its unicode glyph coverage is limited, the old +# X core fonts rendering does not support right-to-left and this being a bitmap +# font, it doesn’t scale on retina/hidpi displays. + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec urxvt + +# kill focused window +bindsym $mod+Shift+Q kill + +set_from_resource $fg i3wm.color7 +set_from_resource $bg i3wm.color2 +set_from_resource $bg_unfocused i3wm.color1 + +# class border backgr. text indicator child_border +client.focused $bg $bg $fg $bg $bg +client.focused_inactive $bg_unfocused $bg_unfocused $fg $bg_unfocused $bg_unfocused +client.unfocused $bg_unfocused $bg_unfocused $fg $bg_unfocused $bg_unfocused +client.urgent $bg $bg $fg $bg $bg +client.placeholder $bg $bg $fg $bg $bg + +client.background $bg + + +# 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 +bindsym $mod+d exec --no-startup-id rofi -show run + +# change focus +bindsym $mod+J focus left +bindsym $mod+K focus down +bindsym $mod+I focus up +bindsym $mod+L 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 + + + +# 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+N 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 + +#Screenshoter +bindsym Print exec xfce4-screenshooter + +# set pulse audio controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +1% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -1% #decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +# reload the configuration file +bindsym $mod+Shift+T 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+P 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'" + + +assign [class="URxvt"] $ws1 + +for_window [class="Nm-connection-editor" instance="nm-connection-editor"] floating enable +for_window [title="distcc Monitor"] floating enable + +# set i3wm-gaps stuff +new_window pixel 2 +gaps outer 10 # outer gaps +gaps inner 20 # inner gaps + +# 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 Cyrillic_o resize shrink width 10 px or 10 ppt + bindsym Cyrillic_el resize grow height 10 px or 10 ppt + bindsym Cyrillic_de resize shrink height 10 px or 10 ppt + bindsym Cyrillic_zhe 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+Cyrillic_ka mode "default" +} + +bindsym $mod+Cyrillic_ka mode "resize" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) diff --git a/.config/i3/config.save b/.config/i3/config.save new file mode 100644 index 0000000..2d323cd --- /dev/null +++ b/.config/i3/config.save @@ -0,0 +1,189 @@ +# 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 + +# Autostart +exec compton -f --vsync drm +exec nitrogen --restore +exec nm-applet + +# polybar start +exec_always ~/.config/polybar/launch.sh + +# Color theme + +set $background +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:System San Francisco Display 10 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +#font pango:DejaVu Sans Mono 8 + +# Before i3 v4.8, we used to recommend this one as the default: +# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# The font above is very space-efficient, that is, it looks good, sharp and +# clear in small sizes. However, its unicode glyph coverage is limited, the old +# X core fonts rendering does not support right-to-left and this being a bitmap +# font, it doesn’t scale on retina/hidpi displays. + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec i3-sensible-terminal + +# kill focused window +bindsym $mod+Shift+Q kill + +# start dmenu (a program launcher) +#bindsym $mod+Cyrillic_ve exec dmenu_run +# 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 +bindsym $mod+d exec --no-startup-id rofi -show run -config ~/.config/rofi/rofi.conf + +# change focus +bindsym $mod+J focus left +bindsym $mod+K focus down +bindsym $mod+I focus up +bindsym $mod+L 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 + + + +# 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+N 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 + +#Screenshoter +bindsym Print exec xfce4-screenshooter + +# set pulse audio controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +# reload the configuration file +bindsym $mod+Shift+T 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+P 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'" + + +# set i3wm-gaps stuff +new_window pixel 2 +gaps outer 10 # outer gaps +gaps inner 20 # inner gaps + +# 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 Cyrillic_o resize shrink width 10 px or 10 ppt + bindsym Cyrillic_el resize grow height 10 px or 10 ppt + bindsym Cyrillic_de resize shrink height 10 px or 10 ppt + bindsym Cyrillic_zhe 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+Cyrillic_ka mode "default" +} + +bindsym $mod+Cyrillic_ka mode "resize" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) diff --git a/.config/i3/theme b/.config/i3/theme new file mode 100755 index 0000000..6e00ef8 --- /dev/null +++ b/.config/i3/theme @@ -0,0 +1,19 @@ +[colors] + background = #090808 + foreground = #FFFFFF + my_color0 = #231F20 + my_color1 = #685742 + my_color2 = #9D6A47 + my_color3 = #B36D43 + my_color4 = #5FAAC7 + my_color5 = #D99F57 + my_color6 = #C9A554 + my_color7 = #EAD49B + my_color8 = #685742 + my_color9 = #9D6A47 + my_color10 = #B36D43 + my_color11 = #78824B + my_color12 = #D99F57 + my_color13 = #C9A554 + my_color14 = #EAD49B + my_color15 = #666666 diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf new file mode 100644 index 0000000..f21d783 --- /dev/null +++ b/.config/neofetch/config.conf @@ -0,0 +1,728 @@ +# See this wiki page for more info: +# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info +print_info() { + info title + info underline + + info "OS" distro + info "Host" model + info "Kernel" kernel + info "Uptime" uptime + info "Packages" packages + info "Shell" shell + info "Resolution" resolution + info "DE" de + info "WM" wm + info "WM Theme" wm_theme + info "Theme" theme + info "Icons" icons + info "Terminal" term + info "Terminal Font" term_font + info "CPU" cpu + info "GPU" gpu + info "Memory" memory + + # info "GPU Driver" gpu_driver # Linux/macOS only + # info "CPU Usage" cpu_usage + # info "Disk" disk + # info "Battery" battery + # info "Font" font + # info "Song" song + # info "Local IP" local_ip + # info "Public IP" public_ip + # info "Users" users + # info "Locale" locale # This only works on glibc systems. + + info line_break + info cols + info line_break +} + + +# 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', 'off', 'tiny' +# 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', 'off', 'tiny' +# Flag: --uptime_shorthand +# +# Example: +# on: '2 days, 10 hours, 3 mins' +# off: '2 days, 10 hours, 3 minutes' +# tiny: '2d 10h 3m' +uptime_shorthand="tiny" + + +# 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="on" + +# 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="C" + + +# 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" + + + +# 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' +# 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%)' +disk_subtitle="mount" + + +# 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 +# Google Play +# guayadeque +# iTunes +# juk +# lollypop +# mocp +# mopidy +# mpd +# pogo +# pragha +# qmmp +# quodlibet +# rhythmbox +# sayonara +# smplayer +# spotify +# Spotify +# tomahawk +# vlc +# xmms2d +# yarock +music_player="auto" + +# Format to display song information. +# +# Default: '%artist% - %album% - %title%' +# Values: '%artist%', '%album%', '%title%' +# Flag: --song_format +# +# Example: +# default: 'Song: Jet - Get Born - Sgt Major' +song_format="%artist% - %album% - %title%" + +# Print the Artist, Album and Title on separate lines +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --song_shorthand +# +# Example: +# on: 'Artist: The Fratellis' +# 'Album: Costello Music' +# 'Song: Chelsea Dagger' +# +# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' +song_shorthand="off" + +# 'mpc' arguments (specify a host, password etc). +# +# Default: '' +# Example: mpc_args=(-h HOST -P PASSWORD) +mpc_args=() + + +# Text Colors + + +# Text Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --colors +# +# Each number represents a different part of the text in +# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' +# +# Example: +# colors=(distro) - Text is colored based on Distro colors. +# colors=(4 6 1 8 8 6) - Text is colored in the order above. +colors=(distro) + + +# Text Options + + +# Toggle bold text +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bold +bold="on" + +# Enable/Disable Underline +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --underline +underline_enabled="on" + +# Underline character +# +# Default: '-' +# Values: 'string' +# Flag: --underline_char +underline_char="-" + + +# Color Blocks + + +# Color block range +# The range of colors to print. +# +# Default: '0', '7' +# 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 7) + +# 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 + + +# 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', 'jp2a', 'iterm2', 'off', 'termpix', 'pixterm', 'tycat', 'w3m' +# 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/' +# 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: Arch and Ubuntu have 'old' logo variants. +# Change this to 'arch_old' or 'ubuntu_old' to use the old logos. +# NOTE: Ubuntu has flavor variants. +# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors. +# NOTE: Arch, Crux and Gentoo have a smaller logo variant. +# Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos. +ascii_distro="auto" + +# Ascii Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --ascii_colors +# +# Example: +# ascii_colors=(distro) - Ascii is colored based on Distro colors. +# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. +ascii_colors=(distro) + +# Bold ascii logo +# Whether or not to bold the ascii logo. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --ascii_bold +ascii_bold="on" + + +# Image Options + + +# Image loop +# Setting this to on will make neofetch redraw the image constantly until +# Ctrl+C is pressed. This fixes display issues in some terminal emulators. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --loop +image_loop="off" + +# Thumbnail directory +# +# Default: '~/.cache/thumbnails/neofetch' +# Values: 'dir' +thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" + +# Crop mode +# +# Default: 'normal' +# Values: 'normal', 'fit', 'fill' +# Flag: --crop_mode +# +# See this wiki page to learn about the fit and fill options. +# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F +crop_mode="normal" + +# Crop offset +# Note: Only affects 'normal' crop mode. +# +# Default: 'center' +# Values: 'northwest', 'north', 'northeast', 'west', 'center' +# 'east', 'southwest', 'south', 'southeast' +# Flag: --crop_offset +crop_offset="center" + +# Image size +# The image is half the terminal width by default. +# +# Default: 'auto' +# Values: 'auto', '00px', '00%', 'none' +# Flags: --image_size +# --size +image_size="auto" + +# Gap between image and text +# +# Default: '3' +# Values: 'num', '-num' +# Flag: --gap +gap=2 + +# Image offsets +# Only works with the w3m backend. +# +# Default: '0' +# Values: 'px' +# Flags: --xoffset +# --yoffset +yoffset=0 +xoffset=0 + +# Image background color +# Only works with the w3m backend. +# +# Default: '' +# Values: 'color', 'blue' +# Flag: --bg_color +background_color= + + +# Misc Options + +# Stdout mode +# Turn off all colors and disables image backend (ASCII/Image). +# Useful for piping into another command. +# Default: 'off' +# Values: 'on', 'off' +stdout="off" diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg new file mode 100644 index 0000000..7e28672 --- /dev/null +++ b/.config/nitrogen/bg-saved.cfg @@ -0,0 +1,4 @@ +[xin_0] +file=/home/dragon/Pictures/Wallpapers/90092.jpg +mode=5 +bgcolor=#000000 diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg new file mode 100644 index 0000000..f7ec17f --- /dev/null +++ b/.config/nitrogen/nitrogen.cfg @@ -0,0 +1,12 @@ +[geometry] +posx=-1 +posy=-1 +sizex=450 +sizey=500 + +[nitrogen] +view=icon +recurse=true +sort=alpha +icon_caps=true +dirs=/home/dragon/Pictures/Wallpapers; diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..aa73f58 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,349 @@ +;===================================================== +; +; To learn more about how to configure Polybar +; go to https://github.com/jaagr/polybar +; +; The README contains alot of information +; +;===================================================== + +[colors] +background = ${xrdb:color0:#222} +foreground = ${xrdb:color7:#222} +foreground-alt = ${xrdb:color7:#222} +primary = ${xrdb:color1:#222} +secondary = ${xrdb:color2:#222} +alert = ${xrdb:color3:#222} +my_color0 = ${xrdb:color0:#222} +my_color1 = ${xrdb:color1:#222} +my_color2 = ${xrdb:color2:#222} +my_color3 = ${xrdb:color3:#222} +my_color4 = ${xrdb:color4:#222} +my_color5 = ${xrdb:color5:#222} +my_color6 = ${xrdb:color6:#222} +my_color7 = ${xrdb:color7:#222} +my_color8 = ${xrdb:color8:#222} +my_color9 = ${xrdb:color9:#222} +my_color10 = ${xrdb:color10:#222} +my_color11 = ${xrdb:color11:#222} +my_color12 = ${xrdb:color12:#222} +my_color13 = ${xrdb:color13:#222} +my_color14 = ${xrdb:color14:#222} +my_color15 = ${xrdb:color15:#222} + +[bar/main] +bottom = false +width = 100% +height = 24 +offset-x = 0 +offset-y = 0 +radius = 0.0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = ${colors.primary} + +border-size = 0 +border-color = ${colors.my_color2} + +padding-left = 0 +padding-right = 0 + +module-margin-left = 0 +module-margin-right = 0 + +;Fonts +font-0 = "monaco:fontformat=truetype:size=11;1" +font-1 = "Font Awesome 5 Free:antialias=true:style=regular:size=11;1" +font-2 = "Font Awesome 5 Free:antialias=true:style=solid:size=11;1" +font-3 = "Font Awesome 5 Brands:style=regular:size=11;1" +font-4 = "monofur:fontformat=truetype:size=12;1" + +;Modules +modules-left = i3 +modules-center = +modules-right = eth xkeyboard volume powermenu + +separator = " " + +wm-restack = i3 + +;override-redirect = true + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[bar/second] + +enable-ipc = true + +bottom = false +width = 100% +height = 24 +padding-left = 0 +padding-right = 0 +module-margin-left = 0 +module-margin-right = 0 + +separator = " " + +modules-left = cpu memory +modules-center = xwindow +modules-right = date + +background = ${colors.background} +foreground = ${colors.foreground} +tray-offset-y = 24 +tray-position = right +tray-padding = 1 +tray-transparent = false + +tray-maxsize = 18 +tray-detached = false +tray-background = ${colors.my_color0} +line-size = 3 +line-color = ${colors.primary} + +;Fonts +font-0 = "monaco:fontformat=truetype:size=11;1" +font-1 = "Font Awesome 5 Free:antialias=true:style=regular:size=11;1" +font-2 = "Font Awesome 5 Free:antialias=true:style=solid:size=11;1" +font-3 = "Font Awesome 5 Brands:style=regular:size=11;1" +font-4 = "monofur:fontformat=truetype:size=12;1" + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% +label-padding = 0 +label-foreground = ${colors.foreground} + +[module/xkeyboard] +module-margin = 1 +type = internal/xkeyboard +blacklist-0 = num lock +format-padding = 1 +format = +format-background = ${colors.primary} +format-prefix = " " +format-prefix-font = 3 +format-prefix-foreground = ${colors.my_color2} + +; Available tokens: +; %layout% +; %name% +; %number% +; Default: %name% +label-layout = %layout% +;label-layout-background = ${colors.background} +label-layout-foreground = ${colors.foreground} + +; Available tokens: +; %name% +; Default: %name% +label-indicator = %name% +label-indicator-padding = 1 +label-indicator-background = ${colors.background} + +[module/i3] +type = internal/i3 + +format = + +ws-icon-0 = 0;0 +ws-icon-1 = 1; +ws-icon-2 = 2;2 +ws-icon-3 = 3;3 +ws-icon-4 = 4;4 +ws-icon-5 = 5;5 +ws-icon-6 = 6;6 +ws-icon-7 = 7;7 +ws-icon-8 = 8;8 +ws-icon-9 = 9;9 +ws-icon-font = 5 + +label-unfocused-background = ${colors.background} +label-unfocused-foreground = ${colors.foreground} + +label-mode = %icon% +label-mode-padding = 1 +label-mode-background = ${colors.primary} + +label-focused = %icon% +label-focused-foreground = ${colors.my_color2} +label-focused-background = ${colors.primary} +;label-focused-underline = ${colors.my_color3} +label-focused-padding = 1 + +label-unfocused = %icon% +label-unfocused-padding = 1 + +label-visible = %icon% +label-visible-underline = ${colors.foreground} +label-visible-padding = 1 + +label-urgent = %icon% +label-urgent-foreground = ${colors.foreground} +label-urgent-background = ${colors.background} +label-urgent-underline = ${colors.my_color1} +label-urgent-padding = 1 + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.my_color2} +format-underline = ${colors.my_color1} +label = %percentage:2%% +format-padding = 1 +label-font = 5 +[module/memory] +type = internal/memory +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.my_color2} +format-underline = ${colors.my_color1} +label = %percentage_used%% +label-font = 5 +[module/eth] +type = internal/network +interface = enp3s0 + +; Seconds to sleep between updates +; Default: 1 +interval = 10 + +; Test connectivity every Nth update +; A value of 0 disables the feature +; NOTE: Experimental (needs more testing) +; Default: 0 +;ping-interval = 3 + +; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) +; Minimum output width of upload/download rate +; Default: 3 +;udspeed-minwidth = 2 + +; Accumulate values from all interfaces +; when querying for up/downspeed rate +; Default: false +accumulate-stats = true + +; Consider an `UNKNOWN` interface state as up. +; Some devices have an unknown state, even when they're running +; Default: false +unknown-as-up = false + +; Available tags: +; (default) +; +label-connected = "%local_ip%" +format-connected-prefix = " " +format-connected-prefix-foreground = ${colors.my_color2} +format-connected-padding = 1 +format-connected = %{T5}%{A1:nm-connection-editor:}%{A}%{T-} +format-connected-foreground = ${colors.foreground-alt} +format-connected-background = ${colors.primary} + + +; Available tags: +; (default) +format-disconnected-prefix-foreground = ${colors.my_color2} +format-disconnected-prefix = " " +format-disconnected = %{A1:nm-connection-editor:}%{A} +format-disconnected-padding = 1 +format-disconnected-foreground = ${colors.primary} +format-disconnected-background = ${colors.foreground-alt} + +; Available tokens: +; %ifname% [wireless+wired] +; %local_ip% [wireless+wired] +; %essid% [wireless] +; %signal% [wireless] +; %upspeed% [wireless+wired] +; %downspeed% [wireless+wired] +; %linkspeed% [wired] +; Default: %ifname% %local_ip% + + +; Available tokens: +; %ifname% [wireless+wired] +; Default: (none) +label-disconnected = No Connect +label-disconnected-foreground = ${colors.foreground} +label-disconnected-background = ${colors.foreground-alt} + +[module/date] +type = internal/date +interval = 2 +time = %{T5}%H:%M%{T-} + +format-prefix-foreground = ${colors.my_color2} +format-prefix = " " +label-prefix-font = 3 +label = %time% +format-padding = 1 +format-background = ${colors.foreground-alt} +[module/volume] +type = internal/volume + +format-volume = +format-volume-padding = 1 +ramp-volume-0 =  +ramp-volume-1 =  +ramp-volume-2 =  +ramp-volume-foreground = ${colors.my_color2} +ramp-volume-font = 2 +label-volume-font = 5 +format-volume-background = ${colors.foreground-alt} + +format-muted-prefix-font = 2 +format-muted-padding = 1 +format-muted-prefix =  +format-muted-prefix-foreground = ${colors.my_color2} +label-muted = " muted" +format-muted-background = ${colors.foreground-alt} + +[module/powermenu] +type = custom/menu + +expand-right = true +format-spacing = 1 + +label-open =  +format-padding = 1 +label-open-foreground = ${colors.secondary} +label-close = cancel +label-close-foreground = ${colors.secondary} +label-separator = | +label-separator-foreground = ${colors.foreground-alt} + +menu-0-0 = reboot +menu-0-0-exec = menu-open-1 +menu-0-1 = power off +menu-0-1-exec = menu-open-2 + +menu-1-0 = cancel +menu-1-0-exec = menu-open-0 +menu-1-1 = reboot +menu-1-1-exec = sudo reboot + +menu-2-0 = power off +menu-2-0-exec = sudo poweroff +menu-2-1 = cancel +menu-2-1-exec = menu-open-0 + +[settings] +screenchange-reload = true +compositing-background = xor +compositing-foreground = source +compositing-border = over + +[global/wm] +margin-top = 0 +margin-bottom = 0 diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh new file mode 100755 index 0000000..799927f --- /dev/null +++ b/.config/polybar/launch.sh @@ -0,0 +1,15 @@ +killall -q polybar + +polybar_proc=$(pgrep -u $UID -x polybar) + +for i in ${polybar_proc}; do + kill -9 $i +done + +while pgrep -u $UID -x polybar > /dev/null; do sleep 1; done + +polybar main & +sleep 1 +polybar second & + +echo "Bars launched..." diff --git a/.config/rofi/config b/.config/rofi/config new file mode 100644 index 0000000..2128029 --- /dev/null +++ b/.config/rofi/config @@ -0,0 +1 @@ +rofi.theme: ~/.cache/wal/colors-rofi-dark.rasi diff --git a/.config/rofi/rofi.conf b/.config/rofi/rofi.conf new file mode 100644 index 0000000..8694432 --- /dev/null +++ b/.config/rofi/rofi.conf @@ -0,0 +1 @@ +rofi.font: monaco