Delete unused configs
This commit is contained in:
230
config/i3/config
230
config/i3/config
@@ -1,230 +0,0 @@
|
|||||||
# __ ___ ____ ___ _ ____ _ _____ ____
|
|
||||||
# \ \ / / \ | _ \|_ _| / \ | __ )| | | ____/ ___|
|
|
||||||
# \ \ / / _ \ | |_) || | / _ \ | _ \| | | _| \___ \
|
|
||||||
# \ V / ___ \| _ < | | / ___ \| |_) | |___| |___ ___) |
|
|
||||||
# \_/_/ \_\_| \_\___/_/ \_\____/|_____|_____|____/
|
|
||||||
#
|
|
||||||
|
|
||||||
set $mod Mod4
|
|
||||||
set $terminal alacritty
|
|
||||||
|
|
||||||
# Define variables for workspaces
|
|
||||||
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"
|
|
||||||
|
|
||||||
# Variables for movement keys
|
|
||||||
set $left "h"
|
|
||||||
set $right "l"
|
|
||||||
set $up "k"
|
|
||||||
set $down "j"
|
|
||||||
|
|
||||||
set $draw_wallpaper "feh --no-fehbg --bg-fill ~/Pictures/Wallpapers/2b.jpeg"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ____ _____ _ _ _____ ____ _ _
|
|
||||||
# / ___| ____| \ | | ____| _ \ / \ | |
|
|
||||||
# | | _| _| | \| | _| | |_) | / _ \ | |
|
|
||||||
# | |_| | |___| |\ | |___| _ < / ___ \| |___
|
|
||||||
# \____|_____|_| \_|_____|_| \_\/_/ \_\_____|
|
|
||||||
#
|
|
||||||
# ____ _____ _____ _____ ___ _ _ ____ ____
|
|
||||||
# / ___|| ____|_ _|_ _|_ _| \ | |/ ___/ ___|
|
|
||||||
# \___ \| _| | | | | | || \| | | _\___ \
|
|
||||||
# ___) | |___ | | | | | || |\ | |_| |___) |
|
|
||||||
# |____/|_____| |_| |_| |___|_| \_|\____|____/
|
|
||||||
#
|
|
||||||
|
|
||||||
# Add gaps for windows
|
|
||||||
gaps inner 8
|
|
||||||
gaps outer 5
|
|
||||||
gaps top 50
|
|
||||||
|
|
||||||
default_border pixel
|
|
||||||
smart_borders on
|
|
||||||
|
|
||||||
# Remove focusing windows with mouse
|
|
||||||
focus_follows_mouse no
|
|
||||||
|
|
||||||
# Font i3 uses
|
|
||||||
font pango:monospace 8
|
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
||||||
floating_modifier $mod
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ____ _____ _ ____ _____ _ _ ____ _ ____ ____ ____
|
|
||||||
# / ___|_ _|/ \ | _ \_ _| | | | _ \ / \ | _ \| _ \/ ___|
|
|
||||||
# \___ \ | | / _ \ | |_) || | | | | | |_) | / _ \ | |_) | |_) \___ \
|
|
||||||
# ___) || |/ ___ \| _ < | | | |_| | __/ / ___ \| __/| __/ ___) |
|
|
||||||
# |____/ |_/_/ \_\_| \_\|_| \___/|_| /_/ \_\_| |_| |____/
|
|
||||||
#
|
|
||||||
|
|
||||||
# Autostart
|
|
||||||
exec_always --no-startup-id $draw_wallpaper
|
|
||||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
|
||||||
exec_always --no-startup-id "setxkbmap -layout \"us,ru\" -option \"grp:win_space_toggle\""
|
|
||||||
exec_always --no-startup-id picom --config $HOME/.config/picom.conf
|
|
||||||
exec_always --no-startup-id dunst
|
|
||||||
|
|
||||||
# Assign applications to workspaces
|
|
||||||
assign [class="firefox"] $ws1
|
|
||||||
assign [class="Steam"] $ws3
|
|
||||||
assign [class="Code"] $ws2
|
|
||||||
|
|
||||||
# Force these applications to be floating
|
|
||||||
for_window [class="Steam"] floating enable
|
|
||||||
for_window [class="mpv"] floating enable
|
|
||||||
for_window [class="mpv"] move absolute center
|
|
||||||
for_window [class="Yad"] floating enable
|
|
||||||
for_window [class="Yad"] move absolute center
|
|
||||||
for_window [class="MuPDF"] floating enable
|
|
||||||
|
|
||||||
|
|
||||||
# _ _________ ______ ___ _ _ ____ ___ _ _ ____ ____
|
|
||||||
# | |/ / ____\ \ / / __ )_ _| \ | | _ \_ _| \ | |/ ___/ ___|
|
|
||||||
# | ' /| _| \ V /| _ \| || \| | | | | || \| | | _\___ \
|
|
||||||
# | . \| |___ | | | |_) | || |\ | |_| | || |\ | |_| |___) |
|
|
||||||
# |_|\_\_____| |_| |____/___|_| \_|____/___|_| \_|\____|____/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
# Use Super+Tab to cycle through workspaces
|
|
||||||
bindsym $mod+Tab workspace next
|
|
||||||
bindsym $mod+Shift+Tab workspace prev
|
|
||||||
|
|
||||||
# Bind media keys on a keyboard to control volume and playback
|
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
|
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2
|
|
||||||
bindsym XF86AudioMute exec --no-startup-id pamixer -t
|
|
||||||
bindsym XF86AudioPlay exec playerctl play-pause
|
|
||||||
bindsym XF86AudioNext exec playerctl next
|
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
|
||||||
|
|
||||||
# Bind Super+Home keys to take a screenshot
|
|
||||||
bindsym $mod+Home exec --no-startup-id screenshoter
|
|
||||||
|
|
||||||
# Mod4 + Return starts a terminal
|
|
||||||
bindsym $mod+Return exec $terminal
|
|
||||||
|
|
||||||
# kill focused window
|
|
||||||
bindsym $mod+Shift+q kill
|
|
||||||
|
|
||||||
# Binding to start rofi (Mod4 + d)
|
|
||||||
bindsym $mod+d exec --no-startup-id rofi -show run
|
|
||||||
|
|
||||||
# change focus
|
|
||||||
bindsym $mod+$left focus left
|
|
||||||
bindsym $mod+$down focus down
|
|
||||||
bindsym $mod+$up focus up
|
|
||||||
bindsym $mod+$right focus right
|
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
|
||||||
bindsym $mod+Left focus left
|
|
||||||
bindsym $mod+Down focus down
|
|
||||||
bindsym $mod+Up focus up
|
|
||||||
bindsym $mod+Right focus right
|
|
||||||
|
|
||||||
# move focused window
|
|
||||||
bindsym $mod+Shift+$left move left
|
|
||||||
bindsym $mod+Shift+$down move down
|
|
||||||
bindsym $mod+Shift+$up move up
|
|
||||||
bindsym $mod+Shift+$right move right
|
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
|
||||||
bindsym $mod+Shift+Left move left
|
|
||||||
bindsym $mod+Shift+Down move down
|
|
||||||
bindsym $mod+Shift+Up move up
|
|
||||||
bindsym $mod+Shift+Right move right
|
|
||||||
|
|
||||||
# split in horizontal orientation
|
|
||||||
bindsym $mod+g 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 between stacking/tabbed/split
|
|
||||||
bindsym $mod+x layout toggle
|
|
||||||
|
|
||||||
# Toggle window state between tiling and floating
|
|
||||||
bindsym $mod+z floating toggle
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Open applications with keybindings
|
|
||||||
bindsym Mod1+r exec alacritty -e ranger
|
|
||||||
bindsym Mod1+f exec firefox
|
|
||||||
bindsym Mod1+s exec steam
|
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
|
||||||
mode "resize" {
|
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
|
||||||
|
|
||||||
# Pressing left will shrink the window’s width.
|
|
||||||
# Pressing right will grow the window’s width.
|
|
||||||
# Pressing up will shrink the window’s height.
|
|
||||||
# Pressing down will grow the window’s height.
|
|
||||||
bindsym $left resize shrink width 10 px or 10 ppt
|
|
||||||
bindsym $up resize grow height 10 px or 10 ppt
|
|
||||||
bindsym $down resize shrink height 10 px or 10 ppt
|
|
||||||
bindsym $right 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"
|
|
||||||
|
|
||||||
@@ -1,273 +0,0 @@
|
|||||||
#################################
|
|
||||||
# Shadows #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
|
|
||||||
# shadow = true;
|
|
||||||
# shadow-radius = 10;
|
|
||||||
# shadow-offset-x = -7;
|
|
||||||
# shadow-offset-y = -7;
|
|
||||||
|
|
||||||
# # Red color value of shadow (0.0 - 1.0, defaults to 0).
|
|
||||||
# # shadow-red = 0
|
|
||||||
|
|
||||||
# # Green color value of shadow (0.0 - 1.0, defaults to 0).
|
|
||||||
# # shadow-green = 0
|
|
||||||
|
|
||||||
# # Blue color value of shadow (0.0 - 1.0, defaults to 0).
|
|
||||||
# # shadow-blue = 0
|
|
||||||
|
|
||||||
# shadow-exclude = [
|
|
||||||
# "name = 'Notification'",
|
|
||||||
# "class_g = 'Conky'",
|
|
||||||
# "class_g ?= 'Notify-osd'",
|
|
||||||
# "class_g = 'Cairo-clock'",
|
|
||||||
# "_GTK_FRAME_EXTENTS@:c"
|
|
||||||
# ];
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# Fading #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
|
|
||||||
fading = true
|
|
||||||
fade-in-step = 0.03;
|
|
||||||
fade-out-step = 0.05;
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# Transparency / Opacity #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
|
|
||||||
inactive-opacity = 0.75;
|
|
||||||
|
|
||||||
inactive-dim = 0.4;
|
|
||||||
|
|
||||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|
||||||
|
|
||||||
|
|
||||||
opacity-rule = [
|
|
||||||
"95:class_g = 'Alacritty' && focused"
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# Blur #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
# blur-method = "kernel"
|
|
||||||
# blur-background = true
|
|
||||||
# blur-kern = "15,15,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,"
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# General Settings #
|
|
||||||
#################################
|
|
||||||
|
|
||||||
|
|
||||||
# daemon = false
|
|
||||||
|
|
||||||
backend = "xrender";
|
|
||||||
vsync = true
|
|
||||||
|
|
||||||
# Try to detect WM windows (a non-override-redirect window with no
|
|
||||||
# child that has 'WM_STATE') and mark them as active.
|
|
||||||
#
|
|
||||||
# mark-wmwin-focused = false
|
|
||||||
mark-wmwin-focused = true;
|
|
||||||
|
|
||||||
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
|
|
||||||
# mark-ovredir-focused = false
|
|
||||||
mark-ovredir-focused = true;
|
|
||||||
|
|
||||||
# Try to detect windows with rounded corners and don't consider them
|
|
||||||
# shaped windows. The accuracy is not very high, unfortunately.
|
|
||||||
#
|
|
||||||
# detect-rounded-corners = false
|
|
||||||
detect-rounded-corners = true;
|
|
||||||
|
|
||||||
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
|
|
||||||
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
|
|
||||||
#
|
|
||||||
# detect-client-opacity = false
|
|
||||||
detect-client-opacity = true;
|
|
||||||
|
|
||||||
# Specify refresh rate of the screen. If not specified or 0, picom will
|
|
||||||
# try detecting this with X RandR extension.
|
|
||||||
#
|
|
||||||
# refresh-rate = 60
|
|
||||||
refresh-rate = 0
|
|
||||||
|
|
||||||
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
|
||||||
# boost performance. This should not be used with
|
|
||||||
# vsync drm/opengl/opengl-oml
|
|
||||||
# as they essentially does sw-opti's job already,
|
|
||||||
# unless you wish to specify a lower refresh rate than the actual value.
|
|
||||||
#
|
|
||||||
# sw-opti =
|
|
||||||
|
|
||||||
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
|
||||||
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
|
|
||||||
# provided that the WM supports it.
|
|
||||||
#
|
|
||||||
# use-ewmh-active-win = false
|
|
||||||
|
|
||||||
# Unredirect all windows if a full-screen opaque window is detected,
|
|
||||||
# to maximize performance for full-screen windows. Known to cause flickering
|
|
||||||
# when redirecting/unredirecting windows.
|
|
||||||
#
|
|
||||||
# unredir-if-possible = false
|
|
||||||
|
|
||||||
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
|
|
||||||
# unredir-if-possible-delay = 0
|
|
||||||
|
|
||||||
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
|
|
||||||
# unredir-if-possible-exclude = []
|
|
||||||
|
|
||||||
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
|
|
||||||
# in the same group focused at the same time.
|
|
||||||
#
|
|
||||||
# detect-transient = false
|
|
||||||
detect-transient = true
|
|
||||||
|
|
||||||
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
|
|
||||||
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
|
|
||||||
# detect-transient is enabled, too.
|
|
||||||
#
|
|
||||||
# detect-client-leader = false
|
|
||||||
detect-client-leader = true
|
|
||||||
|
|
||||||
# Resize damaged region by a specific number of pixels.
|
|
||||||
# A positive value enlarges it while a negative one shrinks it.
|
|
||||||
# If the value is positive, those additional pixels will not be actually painted
|
|
||||||
# to screen, only used in blur calculation, and such. (Due to technical limitations,
|
|
||||||
# with use-damage, those pixels will still be incorrectly painted to screen.)
|
|
||||||
# Primarily used to fix the line corruption issues of blur,
|
|
||||||
# in which case you should use the blur radius value here
|
|
||||||
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
|
|
||||||
# with a 5x5 one you use `--resize-damage 2`, and so on).
|
|
||||||
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
|
|
||||||
#
|
|
||||||
# resize-damage = 1
|
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should be painted with inverted color.
|
|
||||||
# Resource-hogging, and is not well tested.
|
|
||||||
#
|
|
||||||
# invert-color-include = []
|
|
||||||
|
|
||||||
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
|
|
||||||
# Might cause incorrect opacity when rendering transparent content (but never
|
|
||||||
# practically happened) and may not work with blur-background.
|
|
||||||
# My tests show a 15% performance boost. Recommended.
|
|
||||||
#
|
|
||||||
# glx-no-stencil = false
|
|
||||||
|
|
||||||
# GLX backend: Avoid rebinding pixmap on window damage.
|
|
||||||
# Probably could improve performance on rapid window content changes,
|
|
||||||
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
|
|
||||||
# Recommended if it works.
|
|
||||||
#
|
|
||||||
# glx-no-rebind-pixmap = false
|
|
||||||
|
|
||||||
# Disable the use of damage information.
|
|
||||||
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
|
|
||||||
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
|
||||||
# The opposing option is use-damage
|
|
||||||
#
|
|
||||||
# no-use-damage = false
|
|
||||||
use-damage = true
|
|
||||||
|
|
||||||
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
|
||||||
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
|
||||||
# with GLX backend for some users.
|
|
||||||
#
|
|
||||||
# xrender-sync-fence = false
|
|
||||||
|
|
||||||
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
|
|
||||||
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
|
|
||||||
# in the source tree for examples.
|
|
||||||
#
|
|
||||||
# glx-fshader-win = ''
|
|
||||||
|
|
||||||
# Force all windows to be painted with blending. Useful if you
|
|
||||||
# have a glx-fshader-win that could turn opaque pixels transparent.
|
|
||||||
#
|
|
||||||
# force-win-blend = false
|
|
||||||
|
|
||||||
# Do not use EWMH to detect fullscreen windows.
|
|
||||||
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
|
|
||||||
#
|
|
||||||
# no-ewmh-fullscreen = false
|
|
||||||
|
|
||||||
# Dimming bright windows so their brightness doesn't exceed this set value.
|
|
||||||
# Brightness of a window is estimated by averaging all pixels in the window,
|
|
||||||
# so this could comes with a performance hit.
|
|
||||||
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
|
|
||||||
#
|
|
||||||
# max-brightness = 1.0
|
|
||||||
|
|
||||||
# Make transparent windows clip other windows like non-transparent windows do,
|
|
||||||
# instead of blending on top of them.
|
|
||||||
#
|
|
||||||
# transparent-clipping = false
|
|
||||||
|
|
||||||
# Set the log level. Possible values are:
|
|
||||||
# "trace", "debug", "info", "warn", "error"
|
|
||||||
# in increasing level of importance. Case doesn't matter.
|
|
||||||
# If using the "TRACE" log level, it's better to log into a file
|
|
||||||
# using *--log-file*, since it can generate a huge stream of logs.
|
|
||||||
#
|
|
||||||
# log-level = "debug"
|
|
||||||
log-level = "warn";
|
|
||||||
|
|
||||||
# Set the log file.
|
|
||||||
# If *--log-file* is never specified, logs will be written to stderr.
|
|
||||||
# Otherwise, logs will to written to the given file, though some of the early
|
|
||||||
# logs might still be written to the stderr.
|
|
||||||
# When setting this option from the config file, it is recommended to use an absolute path.
|
|
||||||
#
|
|
||||||
# log-file = '/path/to/your/log/file'
|
|
||||||
|
|
||||||
# Show all X errors (for debugging)
|
|
||||||
# show-all-xerrors = false
|
|
||||||
|
|
||||||
# Write process ID to a file.
|
|
||||||
# write-pid-path = '/path/to/your/log/file'
|
|
||||||
|
|
||||||
# Window type settings
|
|
||||||
#
|
|
||||||
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
|
|
||||||
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
|
|
||||||
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
|
|
||||||
# "tooltip", "notification", "combo", and "dnd".
|
|
||||||
#
|
|
||||||
# Following per window-type options are available: ::
|
|
||||||
#
|
|
||||||
# fade, shadow:::
|
|
||||||
# Controls window-type-specific shadow and fade settings.
|
|
||||||
#
|
|
||||||
# opacity:::
|
|
||||||
# Controls default opacity of the window type.
|
|
||||||
#
|
|
||||||
# focus:::
|
|
||||||
# Controls whether the window of this type is to be always considered focused.
|
|
||||||
# (By default, all window types except "normal" and "dialog" has this on.)
|
|
||||||
#
|
|
||||||
# full-shadow:::
|
|
||||||
# Controls whether shadow is drawn under the parts of the window that you
|
|
||||||
# normally won't be able to see. Useful when the window has parts of it
|
|
||||||
# transparent, and you want shadows in those areas.
|
|
||||||
#
|
|
||||||
# redir-ignore:::
|
|
||||||
# Controls whether this type of windows should cause screen to become
|
|
||||||
# redirected again after been unredirected. If you have unredir-if-possible
|
|
||||||
# set, and doesn't want certain window to cause unnecessary screen redirection,
|
|
||||||
# you can set this to `true`.
|
|
||||||
#
|
|
||||||
wintypes:
|
|
||||||
{
|
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
|
||||||
dock = { shadow = false; }
|
|
||||||
dnd = { shadow = false; }
|
|
||||||
popup_menu = { opacity = 0.8; }
|
|
||||||
dropdown_menu = { opacity = 0.8; }
|
|
||||||
};
|
|
||||||
@@ -1,130 +0,0 @@
|
|||||||
[colors]
|
|
||||||
; This is colors for ayu theme (https://github.com/ayu-theme/ayu-colors)
|
|
||||||
primary = #ffa759
|
|
||||||
background = #202734
|
|
||||||
background-alt = #191e2a
|
|
||||||
foreground = #cbccc6
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
width = 100%
|
|
||||||
height = 40
|
|
||||||
fixed-center = true
|
|
||||||
padding-right = 2
|
|
||||||
wm-restack = i3
|
|
||||||
override-redirect = true
|
|
||||||
|
|
||||||
background = ${colors.background}
|
|
||||||
foreground = ${colors.foreground}
|
|
||||||
|
|
||||||
font-0 = FiraCode:size=11
|
|
||||||
font-1 = FontAwesome5Brands:size=12
|
|
||||||
font-2 = FontAwesome5FreeSolid:size=12
|
|
||||||
|
|
||||||
modules-left = workspaces player
|
|
||||||
modules-center = date
|
|
||||||
modules-right = keyboard-layout volume-control network power-menu
|
|
||||||
|
|
||||||
module-margin = 1
|
|
||||||
|
|
||||||
|
|
||||||
; _ _____ _____ _____ __ __ ___ ____ _ _ _ _____ ____
|
|
||||||
; | | | ____| ___|_ _| | \/ |/ _ \| _ \| | | | | | ____/ ___|
|
|
||||||
; | | | _| | |_ | | | |\/| | | | | | | | | | | | | _| \___ \
|
|
||||||
; | |___| |___| _| | | | | | | |_| | |_| | |_| | |___| |___ ___) |
|
|
||||||
; |_____|_____|_| |_| |_| |_|\___/|____/ \___/|_____|_____|____/
|
|
||||||
;
|
|
||||||
|
|
||||||
[module/workspaces]
|
|
||||||
type = internal/i3
|
|
||||||
|
|
||||||
; Current active workspace
|
|
||||||
label-focused = "%index%"
|
|
||||||
label-focused-foreground = ${colors.primary}
|
|
||||||
label-focused-background = ${colors.background-alt}
|
|
||||||
label-focused-padding = 2
|
|
||||||
|
|
||||||
; All the other workspaces but the active
|
|
||||||
label-unfocused = ${self.label-focused}
|
|
||||||
label-unfocused-padding = ${self.label-focused-padding}
|
|
||||||
|
|
||||||
label-urgent = %index%
|
|
||||||
label-urgent-padding = ${self.label-focused-padding}
|
|
||||||
label-urgent-background = ${colors.primary}
|
|
||||||
|
|
||||||
label-mode = --%mode%--
|
|
||||||
|
|
||||||
[module/player]
|
|
||||||
type = custom/script
|
|
||||||
|
|
||||||
exec = players=`playerctl -l | wc -l` ; [[ $players != "0" ]] && playerctl metadata -f "{{status}}: {{trunc(title, 30)}} by {{artist}}" || echo
|
|
||||||
tail = true
|
|
||||||
|
|
||||||
format = <label>
|
|
||||||
|
|
||||||
label = %output%
|
|
||||||
|
|
||||||
click-left = playerctl play-pause
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; ____ _____ _ _ _____ _____ ____
|
|
||||||
; / ___| ____| \ | |_ _| ____| _ \
|
|
||||||
; | | | _| | \| | | | | _| | |_) |
|
|
||||||
; | |___| |___| |\ | | | | |___| _ <
|
|
||||||
; \____|_____|_| \_| |_| |_____|_| \_\
|
|
||||||
;
|
|
||||||
; __ __ ___ ____ _ _ _ _____ ____
|
|
||||||
; | \/ |/ _ \| _ \| | | | | | ____/ ___|
|
|
||||||
; | |\/| | | | | | | | | | | | | _| \___ \
|
|
||||||
; | | | | |_| | |_| | |_| | |___| |___ ___) |
|
|
||||||
; |_| |_|\___/|____/ \___/|_____|_____|____/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[module/date]
|
|
||||||
type = internal/date
|
|
||||||
|
|
||||||
date = "%d %b %H:%M, %A"
|
|
||||||
|
|
||||||
label = %date%
|
|
||||||
|
|
||||||
|
|
||||||
; ____ ___ ____ _ _ _____ __ __ ___ ____ _ _ _ _____ ____
|
|
||||||
; | _ \|_ _/ ___| | | |_ _| | \/ |/ _ \| _ \| | | | | | ____/ ___|
|
|
||||||
; | |_) || | | _| |_| | | | | |\/| | | | | | | | | | | | | _| \___ \
|
|
||||||
; | _ < | | |_| | _ | | | | | | | |_| | |_| | |_| | |___| |___ ___) |
|
|
||||||
; |_| \_\___\____|_| |_| |_| |_| |_|\___/|____/ \___/|_____|_____|____/
|
|
||||||
;
|
|
||||||
|
|
||||||
[module/keyboard-layout]
|
|
||||||
type = internal/xkeyboard
|
|
||||||
|
|
||||||
format = <label-layout>
|
|
||||||
label-layout = %layout%
|
|
||||||
|
|
||||||
[module/volume-control]
|
|
||||||
type = internal/pulseaudio
|
|
||||||
|
|
||||||
format-volume = <label-volume>
|
|
||||||
|
|
||||||
label-muted = MUTE
|
|
||||||
label-muted-foreground = ${colors.primary}
|
|
||||||
|
|
||||||
[module/network]
|
|
||||||
type = internal/network
|
|
||||||
interface = enp2s0
|
|
||||||
|
|
||||||
format-connected = <label-connected>
|
|
||||||
format-disconnected = <label-disconnected>
|
|
||||||
|
|
||||||
label-connected =
|
|
||||||
label-disconnected = No Network
|
|
||||||
|
|
||||||
[module/power-menu]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = %{A:~/dotfiles/polybar/logout-window.sh:}%{A}
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
screenchange-reload = true
|
|
||||||
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Terminate already running bar instances
|
|
||||||
killall -q polybar
|
|
||||||
|
|
||||||
polybar main -c $HOME/.config/polybar/config.ini
|
|
||||||
|
|
||||||
echo "Bars launched..."
|
|
||||||
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
action=$(yad --width 300 --entry --title "System Logout" \
|
|
||||||
--button="Ok" --button="Cancel" \
|
|
||||||
--text "What to do?" \
|
|
||||||
--entry-text \
|
|
||||||
"Power Off" "Reboot" "Logout" \
|
|
||||||
)
|
|
||||||
|
|
||||||
return=$?
|
|
||||||
|
|
||||||
if [[ $return -eq 1 ]] ; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
case $action in
|
|
||||||
Power*) cmd="systemctl poweroff" ;;
|
|
||||||
Reboot*) cmd="systemctl reboot" ;;
|
|
||||||
Logout*) cmd="i3-msg exit"
|
|
||||||
esac
|
|
||||||
|
|
||||||
eval exec $cmd
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
color=191e2a
|
|
||||||
|
|
||||||
font=Iosevka
|
|
||||||
font-size=24
|
|
||||||
|
|
||||||
indicator-radius=100
|
|
||||||
|
|
||||||
inside-color=ffa759
|
|
||||||
ring-color=191e2a
|
|
||||||
Reference in New Issue
Block a user