Compare commits

..

No commits in common. "ba3e81610ce0440a9f002b367805227523864bf9" and "7d4c8790b39a5257a0e4dcfe0ca3bb4f2561ea0e" have entirely different histories.

6 changed files with 17 additions and 580 deletions

View File

@ -1,346 +0,0 @@
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
[colors]
background = #1a1a1a
background-alt = #444
foreground = #dfdfdf
foreground-alt = #555
primary = #ff5555
secondary = #ff5555
alert = #bd2c40
[bar/main]
width = 100%
height = 54
radius = 0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 15
border-color = #00000000
padding-left = 2
padding-right = 2
module-margin-left = 1
module-margin-right = 1
font-0 = RobotoMono:pixelsize=18;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=18;1
modules-left = workspaces xkeyboard volume xbacklight
modules-center = xwindow
modules-right = wlan eth-dock eth cpu memory battery1 battery2 temperature date
cursor-click = pointer
cursor-scroll = ns-resize
[bar/i3]
width = 100%
height = 60
radius = 0
fixed-center = false
dpi = 192
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 4
line-color = #f00
border-left-size = 30
border-top-size = 30
border-right-size = 30
border-color = #00000000
padding-left = 2
padding-right = 2
module-margin-left = 1
module-margin-right = 1
font-0 = RobotoMono:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=18;1
modules-left = workspaces xkeyboard volume xbacklight xwindow
modules-right = wlan eth-dock eth cpu memory battery1 battery2 temperature date
cursor-click = pointer
cursor-scroll = ns-resize
[bar/i3-ldpi]
width = 100%
height = 29
radius = 0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 2
line-color = #f00
border-left-size = 15
border-top-size = 15
border-right-size = 15
border-color = #00000000
padding-left = 2
padding-right = 2
module-margin-left = 1
module-margin-right = 1
font-0 = Terminus:pixelsize=9;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=8;1
modules-left = workspaces xkeyboard volume xbacklight xwindow
modules-right = wlan eth-dock eth cpu memory battery1 battery2 temperature date
cursor-click = pointer
cursor-scroll = ns-resize
[module/workspaces]
type = internal/xworkspaces
label-monitor = " %name% "
label-occupied = "%name% "
label-urgent = " %name% "
label-active = " %name% "
label-empty = " %name% "
label-inactive = " %name% "
label-active-underline = ${colors.secondary}
[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%
label-maxlen = 50
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = "KB "
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/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 20
bar-indicator = |
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = ${colors.secondary}
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = "RAM "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #55ff55
label = %percentage_used:2%%
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9999FF
format-connected-prefix = "WiFi"
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %essid:0:12:...%
format-disconnected = <label-disconnected>
format-disconnected-underline = ${colors.foreground-alt}
format-disconnected-prefix = "WiFi "
format-disconnected-prefix-foreground = ${colors.foreground-alt}
label-disconnected = Offline
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = enp0s31f6
interval = 3.0
format-connected-underline = #55ff55
format-connected-prefix = "eth "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = Online
format-disconnected =
[module/eth-dock]
type = internal/network
interface = enp0s20f0u4u2u1
interval = 3.0
format-connected-underline = #55ff55
format-connected-prefix = "eth "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = Online
format-disconnected =
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-underline = #5555ff
label = %date% %time%
[module/volume]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${root.foreground}
format-muted-prefix =
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 20
bar-volume-foreground-0 = #55ff55
bar-volume-foreground-1 = #55ff55
bar-volume-foreground-2 = #55ff55
bar-volume-foreground-3 = #55ff55
bar-volume-foreground-4 = #55ff55
bar-volume-foreground-5 = #ffff55
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[template/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffff55
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${colors.foreground-alt}
format-charging-prefix-foreground = ${colors.foreground-alt}
format-discharging-prefix-foreground = ${colors.foreground-alt}
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
[module/battery1]
inherit = template/battery
battery = BAT0
format-charging-prefix = IB
format-discharging-prefix = IB
format-full-prefix = IB
[module/battery2]
inherit = template/battery
battery = BAT1
format-charging-prefix = EB
format-discharging-prefix = EB
format-full-prefix = EB
[module/temperature]
type = internal/temperature
thermal-zone = 5
warn-temperature = 70
format = <ramp> <label>
format-underline = ${colors.primary}
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = %temperature%
label-warn = %temperature%
label-warn-foreground = ${colors.secondary}
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
[settings]
screenchange-reload = true
[global/wm]
margin-top = 0
margin-bottom = 0

View File

@ -1,14 +0,0 @@
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch polybar
if [ $GDK_SCALE = 1 ]; then
polybar i3-ldpi &
else
polybar i3 &
fi

View File

@ -1,4 +1,4 @@
#---- Generated by tint2conf 30a6 ---- #---- Generated by tint2conf e32c ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for # See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options. # full documentation of the configuration options.
#------------------------------------- #-------------------------------------
@ -70,16 +70,16 @@ border_color_hover = #000000 30
background_color_pressed = #000000 60 background_color_pressed = #000000 60
border_color_pressed = #000000 30 border_color_pressed = #000000 30
# Background 6: Active desktop name # Background 6:
rounded = 0 rounded = 0
border_width = 3 border_width = 0
border_sides = B border_sides = TBLR
border_content_tint_weight = 0 border_content_tint_weight = 0
background_content_tint_weight = 0 background_content_tint_weight = 0
background_color = #222222 100 background_color = #1a1a1a 100
border_color = #f0544c 100 border_color = #000000 30
background_color_hover = #000000 0 background_color_hover = #000000 60
border_color_hover = #f0544c 100 border_color_hover = #000000 30
background_color_pressed = #000000 60 background_color_pressed = #000000 60
border_color_pressed = #000000 30 border_color_pressed = #000000 30
@ -124,7 +124,7 @@ taskbar_hide_different_desktop = 0
taskbar_always_show_all_desktop_tasks = 0 taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 4 2 taskbar_name_padding = 4 2
taskbar_name_background_id = 0 taskbar_name_background_id = 0
taskbar_name_active_background_id = 6 taskbar_name_active_background_id = 0
taskbar_name_font = tewii 8 taskbar_name_font = tewii 8
taskbar_name_font_color = #999999 100 taskbar_name_font_color = #999999 100
taskbar_name_active_font_color = #ffffff 100 taskbar_name_active_font_color = #ffffff 100

View File

@ -8,7 +8,7 @@
############################################## ##############################################
background yes background yes
use_xft yes use_xft yes
xftfont Terminus:Bold:size=14 xftfont tewi:size=8
xftalpha 1 xftalpha 1
update_interval 1.0 update_interval 1.0
total_run_times 0 total_run_times 0
@ -17,8 +17,8 @@ own_window_transparent yes
own_window_type desktop own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes double_buffer yes
minimum_size 240 240 minimum_size 140 140
maximum_width 240 maximum_width 140
draw_shades no draw_shades no
draw_outline no draw_outline no
draw_borders no draw_borders no
@ -27,8 +27,8 @@ default_color 65EE45
default_shade_color 000000 default_shade_color 000000
default_outline_color d9d7d6 default_outline_color d9d7d6
alignment top_right alignment top_right
gap_x 30 gap_x 16
gap_y 102 gap_y 16
no_buffers yes no_buffers yes
uppercase no uppercase no
cpu_avg_samples 2 cpu_avg_samples 2
@ -42,8 +42,7 @@ ${color #d1d1d1}SYSTEM INFORMATION $hr${color}
Host:$alignr$nodename Host:$alignr$nodename
Kernel:$alignr$kernel Kernel:$alignr$kernel
Uptime:$alignr$uptime Uptime:$alignr$uptime
Battery 1:$alignr${battery_percent BAT0}% Battery$alignr${battery_percent BAT0}%
Battery 2:$alignr${battery_percent BAT1}%
${color #d1d1d1}NETWORK $hr${color} ${color #d1d1d1}NETWORK $hr${color}
Gateway:$alignr$gw_ip Gateway:$alignr$gw_ip

View File

@ -1,202 +0,0 @@
# 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
# 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 doesnt 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
bindsym $mod+Return exec xfce4-terminal
# Window border colors
set $FOCUS #FF5555
set $UNFOCUS #1A1A1A
# Window borders
client.focused $FOCUS $FOCUS $FOCUS $FOCUS
client.focused_inactive $UNFOCUS $UNFOCUS $UNFOCUS $UNFOCUS
client.unfocused $UNFOCUS $UNFOCUS $UNFOCUS $UNFOCUS
client.urgent $FOCUS $FOCUS $FOCUS $FOCUS
client.background $UNFOCUS
for_window [class="^.*"] border pixel 3
focus_follows_mouse no
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d 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
# 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+colon 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"
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+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 windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows 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"
# Custom keybinds
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
bindsym Print exec xfce4-screenshooter -r -s /home/quad/Pictures/Screenshots
bindsym Shift+Print exec xfce4-screenshooter -w -s /home/quad/Pictures/Screenshots
bindsym $mod+Print exec xfce4-screenshooter -f -s /home/quad/Pictures/Screenshots
bindsym $mod+a exec xrandr --auto
gaps inner 15
# Start polybar
exec_always --no-startup-id ~/.config/i3/polybar.sh
# Startup applications
exec volumeicon &
exec compton &
exec devmon --sync &
exec blueman-applet &
exec pulseaudio --start &
# Startup + reload applications
exec_always nitrogen --restore &

View File

@ -4,10 +4,10 @@
# #
# Custom prompt # Custom prompt
export export PS1="\[\e[1;32m\]\h\[\e[m\] - \[\e[1;31m\]\u\[\e[m\] - \[\e[1;34m\]\W\[\e[m\] \\$ " export PS1="\[$(tput bold)\]\[$(tput setaf 2)\]\h\[$(tput setaf 7)\] - \[$(tput setaf 1)\]\u\[$(tput setaf 7)\] - \[$(tput setaf 4)\]\W \[$(tput setaf 7)\]\[$(tput sgr0)\]\\$ \[$(tput sgr0)\]"
# Add local folders to PATH # Add local folders to PATH
PATH="$PATH:$HOME/.local/bin:$HOME/.local/scripts/public:$HOME/.local/scripts/private" PATH="$PATH:$HOME/.local/bin"
# Old habits die hard # Old habits die hard
alias screenfetch="neofetch" alias screenfetch="neofetch"