new files from arch added

This commit is contained in:
2022-06-05 13:59:34 +05:30
parent c2401fb4ac
commit 1f34c0e4ee
13 changed files with 631 additions and 226 deletions

View File

@@ -1,7 +1,9 @@
# no borders for windows
default_border pixel 1
default_floating_border pixel 1
hide_edge_borders both
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
@@ -17,12 +19,16 @@ 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
# 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
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
# 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.
@@ -41,15 +47,15 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec light -A 5 # ixrandr --output eDP-1 --brightness 1ncrease screen brightness
bindsym XF86MonBrightnessDown exec light -U 5 # xrandr --output eDP-1 --brightness 0.5 decrease screen brightness
# Use xrandr to adjust screen brightness
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec urxvt #i3-sensible-terminal
bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+q kill
@@ -164,10 +170,10 @@ mode "resize" {
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
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
@@ -185,60 +191,22 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# bar {
# i3status
# status_command i3blocks -c ~/.config/i3/i3blocks.conf #i3status
# font pango:Hack Nerd Font 8
# position top
# status_command /home/dhanus/.local/bin/bumblebee-status \
# -m memory disk network_traffic cpu amixer battery date time\
# -t gruvbox-powerline\
# -p root.path=/ time.format="%H:%M:%S" date.format="%a, %b %d %Y"\
# amixer.interval=1s
#cpu.interval=5s battery.interval=30s memory.interval=5s
# -p <list of module parameters> \
# -t <theme>
# }
#
# Polybar
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
exec xinput set-prop 11 314 1
exec xinput set-prop 11 322 1
bar {
status_command i3status -c /home/dhanus/.config/i3status/i3status.conf
position top
font pango:Hack Nerd Font 7
}
# Custom bindings:
bindsym $mod+shift+x exec i3lock --color 000000
set $bg-color-foc #1c2423
set $bg-color #000000
# class border backgr. text indicator child_border
client.focused "$bg-color-foc" #1c2423 #ffffff #2e9ef4 #285577
client.focused_inactive "$bg-color-foc" #35f676a #ffffff #484e50 #5f676a
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
bindsym $mod+b exec brave -incognito
bindsym $mod+shift+b exec brave
exec diodon
exec picom -b
exec xrdb -load /home/dhanus/.Xresources
# touch pad configuration
exec xinput set-prop 'Synaptics TM3096-006' 'libinput Tapping Enabled' 1
exec xinput set-prop 'Synaptics TM3096-006' 'libinput Natural Scrolling Enabled' 1
bindsym $mod+b exec brave-browser -incognito
bindsym $mod+shift+b exec brave-browser
bindsym Print exec gnome-screenshot
bindsym $mod+Print exec gnome-screenshot -a
# Wallpaper
# wallpaper
exec_always feh --bg-scale ~/Pictures/wallpaper15.jpg

View File

@@ -1,154 +0,0 @@
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
command=/usr/share/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=none
# Volume indicator
#
# The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection
# See the script for details.
[volume]
label=VOL
# label=♪
instance=Master
#instance=PCM
interval=1 # once
signal=10
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=MEM
separator=false
interval=30
[memory]
label=SWAP
instance=swap
separator=false
interval=30
# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=HOME
#instance=/mnt/data
interval=30
# Network interface monitoring
#
# If the instance is not specified, use the interface used for default route.
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
[iface]
#instance=wlan0
color=#00FF00
interval=10
separator=false
[wifi]
#instance=wlp3s0
interval=10
separator=false
[bandwidth]
#instance=eth0
interval=5
# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
label=CPU
interval=10
min_width=CPU: 100.00%
#separator=false
[load_average]
label=LOAD
interval=10
# Battery indicator
#
# The battery instance defaults to 0.
[battery]
label=BAT
#label=⚡
#instance=1
interval=30
# Date Time
#
[time]
command=date '+%Y-%m-%d %H:%M:%S'
interval=1
# Generic media player support
#
# This displays "ARTIST - SONG" if a music is playing.
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
#[mediaplayer]
#instance=spotify
#interval=5
#signal=10
# OpenVPN support
#
# Support multiple VPN, with colors.
#[openvpn]
#interval=20
# Temperature
#
# Support multiple chips, though lm-sensors.
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
#[temperature]
#label=TEMP
#interval=10
# Key indicators
#
# Add the following bindings to i3 config file:
#
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
#[keyindicator]
#instance=CAPS
#interval=once
#signal=11
#[keyindicator]
#instance=NUM
#interval=once
#signal=11