mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
added i3 stuff
This commit is contained in:
parent
c5ef1c5c2d
commit
314fe0cc6e
5
gtk/.config/gtk-3.0/bookmarks
Normal file
5
gtk/.config/gtk-3.0/bookmarks
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
file:///home/alrayyes/Documents
|
||||||
|
file:///home/alrayyes/Music
|
||||||
|
file:///home/alrayyes/Pictures
|
||||||
|
file:///home/alrayyes/Videos
|
||||||
|
file:///home/alrayyes/Downloads
|
16
gtk/.config/gtk-3.0/servers
Normal file
16
gtk/.config/gtk-3.0/servers
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<xbel version="1.0"
|
||||||
|
xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks"
|
||||||
|
xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info"
|
||||||
|
>
|
||||||
|
<bookmark href="smb://eniac/itunes/" added="2016-11-05T15:49:19Z" modified="2016-11-05T15:49:19Z" visited="2016-11-05T15:49:19Z">
|
||||||
|
<title>itunes on eniac</title>
|
||||||
|
<info>
|
||||||
|
<metadata owner="http://freedesktop.org">
|
||||||
|
<bookmark:applications>
|
||||||
|
<bookmark:application name="nautilus" exec="'nautilus %u'" modified="2016-11-05T15:49:19Z" count="1"/>
|
||||||
|
</bookmark:applications>
|
||||||
|
</metadata>
|
||||||
|
</info>
|
||||||
|
</bookmark>
|
||||||
|
</xbel>
|
16
gtk/.config/gtk-3.0/settings.ini
Normal file
16
gtk/.config/gtk-3.0/settings.ini
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Settings]
|
||||||
|
gtk-application-prefer-dark-theme=1
|
||||||
|
gtk-theme-name=Arc-Dark-OSX
|
||||||
|
gtk-icon-theme-name=Numix-Circle-Light
|
||||||
|
gtk-font-name=System San Francisco Display 13
|
||||||
|
gtk-cursor-theme-name=Adwaita
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||||
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
gtk-button-images=1
|
||||||
|
gtk-menu-images=1
|
||||||
|
gtk-enable-event-sounds=1
|
||||||
|
gtk-enable-input-feedback-sounds=1
|
||||||
|
gtk-xft-antialias=1
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle=hintfull
|
18
gtk/.gtkrc-2.0
Normal file
18
gtk/.gtkrc-2.0
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||||
|
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||||
|
|
||||||
|
include "/home/alrayyes/.gtkrc-2.0.mine"
|
||||||
|
gtk-theme-name="Arc-Dark-OSX"
|
||||||
|
gtk-icon-theme-name="Numix-Circle-Light"
|
||||||
|
gtk-font-name="System San Francisco Display 10"
|
||||||
|
gtk-cursor-theme-name="ecliz-arch"
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||||
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
gtk-button-images=1
|
||||||
|
gtk-menu-images=1
|
||||||
|
gtk-enable-event-sounds=1
|
||||||
|
gtk-enable-input-feedback-sounds=1
|
||||||
|
gtk-xft-antialias=1
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle="hintfull"
|
@ -13,7 +13,26 @@ set $mod Mod4
|
|||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
font pango:monospace 8
|
# font pango:monospace 8
|
||||||
|
font pango:System San Francisco Display 10
|
||||||
|
|
||||||
|
# Colours
|
||||||
|
set $base00 #101218
|
||||||
|
set $base01 #1f222d
|
||||||
|
set $base02 #252936
|
||||||
|
set $base03 #7780a1
|
||||||
|
set $base04 #C0C5CE
|
||||||
|
set $base05 #d1d4e0
|
||||||
|
set $base06 #C9CCDB
|
||||||
|
set $base07 #ffffff
|
||||||
|
set $base08 #ee829f
|
||||||
|
set $base09 #f99170
|
||||||
|
set $base0A #ffefcc
|
||||||
|
set $base0B #a5ffe1
|
||||||
|
set $base0C #97e0ff
|
||||||
|
set $base0D #97bbf7
|
||||||
|
set $base0E #c0b7f9
|
||||||
|
set $base0F #fcc09e
|
||||||
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
@ -36,11 +55,12 @@ bindsym $mod+Return exec i3-sensible-terminal
|
|||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec dmenu_run
|
# bindsym $mod+d exec dmenu_run
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
# 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
|
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||||
# installed.
|
# installed.
|
||||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||||
|
bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -opacity "85" -bw 0 -hlfg "#9575cd" -font "System San Francisco Display 18" -bc "#2f343f" -bg "#2f343f" -hlbg "#2f343f" -fg "#f3f4f5" -padding 500 -fullscreen
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+j focus left
|
bindsym $mod+j focus left
|
||||||
@ -92,30 +112,51 @@ bindsym $mod+a focus parent
|
|||||||
# focus the child container
|
# focus the child container
|
||||||
#bindsym $mod+d focus child
|
#bindsym $mod+d focus child
|
||||||
|
|
||||||
|
# Name the workspaces
|
||||||
|
set $workspace1 "1: term "
|
||||||
|
set $workspace2 "2: www "
|
||||||
|
set $workspace3 "3: code "
|
||||||
|
set $workspace4 "4: music "
|
||||||
|
set $workspace5 "5: news "
|
||||||
|
set $workspace6 "6: im "
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace 1
|
bindsym $mod+1 workspace $workspace1
|
||||||
bindsym $mod+2 workspace 2
|
bindsym $mod+2 workspace $workspace2
|
||||||
bindsym $mod+3 workspace 3
|
bindsym $mod+3 workspace $workspace3
|
||||||
bindsym $mod+4 workspace 4
|
bindsym $mod+4 workspace $workspace4
|
||||||
bindsym $mod+5 workspace 5
|
bindsym $mod+5 workspace $workspace5
|
||||||
bindsym $mod+6 workspace 6
|
bindsym $mod+6 workspace $workspace6
|
||||||
bindsym $mod+7 workspace 7
|
bindsym $mod+7 workspace 7
|
||||||
bindsym $mod+8 workspace 8
|
bindsym $mod+8 workspace 8
|
||||||
bindsym $mod+9 workspace 9
|
bindsym $mod+9 workspace 9
|
||||||
bindsym $mod+0 workspace 10
|
bindsym $mod+0 workspace 10
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace 1
|
bindsym $mod+Shift+1 move container to workspace $workspace1
|
||||||
bindsym $mod+Shift+2 move container to workspace 2
|
bindsym $mod+Shift+2 move container to workspace $workspace2
|
||||||
bindsym $mod+Shift+3 move container to workspace 3
|
bindsym $mod+Shift+3 move container to workspace $workspace3
|
||||||
bindsym $mod+Shift+4 move container to workspace 4
|
bindsym $mod+Shift+4 move container to workspace $workspace4
|
||||||
bindsym $mod+Shift+5 move container to workspace 5
|
bindsym $mod+Shift+5 move container to workspace $workspace5
|
||||||
bindsym $mod+Shift+6 move container to workspace 6
|
bindsym $mod+Shift+6 move container to workspace $workspace6
|
||||||
bindsym $mod+Shift+7 move container to workspace 7
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
bindsym $mod+Shift+8 move container to workspace 8
|
bindsym $mod+Shift+8 move container to workspace 8
|
||||||
bindsym $mod+Shift+9 move container to workspace 9
|
bindsym $mod+Shift+9 move container to workspace 9
|
||||||
bindsym $mod+Shift+0 move container to workspace 10
|
bindsym $mod+Shift+0 move container to workspace 10
|
||||||
|
|
||||||
|
workspace $workspace1 output DP1
|
||||||
|
workspace $workspace2 output DP1
|
||||||
|
workspace $workspace3 output DP1
|
||||||
|
workspace $workspace4 output DP1
|
||||||
|
workspace $workspace5 output DP1
|
||||||
|
workspace $workspace6 output HDMI1
|
||||||
|
|
||||||
|
assign [class="Google-chrome"] $workspace2
|
||||||
|
assign [class="Firefox"] $workspace2
|
||||||
|
assign [class="Clementine"] $workspace4
|
||||||
|
assign [class="Hexchat"] $workspace6
|
||||||
|
assign [class="Slack"] $workspace6
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
@ -145,12 +186,53 @@ mode "resize" {
|
|||||||
# back to normal: Enter or Escape
|
# back to normal: Enter or Escape
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
} bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
# arandr
|
||||||
|
for_window [title="Screen Layout Editor"] floating enable
|
||||||
|
|
||||||
|
# Widow Colours
|
||||||
|
# border background text indicator
|
||||||
|
client.focused $base01 $base01 $base07 $base0F
|
||||||
|
client.focused_inactive $base02 $base02 $base03 $base0F
|
||||||
|
client.unfocused $base02 $base02 $base03 $base0F
|
||||||
|
client.urgent $base02 $base08 $base00 $base0F
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
bar {
|
bar {
|
||||||
status_command i3status
|
colors {
|
||||||
|
separator $base03
|
||||||
|
background $base01
|
||||||
|
statusline $base05
|
||||||
|
# border background text
|
||||||
|
focused_workspace $base01 $base01 $base07
|
||||||
|
active_workspace $base01 $base02 $base03
|
||||||
|
inactive_workspace $base01 $base01 $base03
|
||||||
|
urgent_workspace $base01 $base01 $base08
|
||||||
|
}
|
||||||
|
#i3bar position
|
||||||
|
position top
|
||||||
|
|
||||||
|
# Use custom i3status.conf
|
||||||
|
status_command i3status -c ~/.config/i3/i3status.conf
|
||||||
|
#font pango:DejaVu Sans Mono, Awesome 10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Startup programs
|
||||||
|
exec_always --no-startup-id xrandr --output HDMI1 --mode 1920x1200 --right-of DP1 --rotate left
|
||||||
|
exec_always --no-startup-id feh --bg-fill ~/Dropbox/Wallpaper/Wallpaper/gxZG9Uw.jpg
|
||||||
|
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
exec --no-startup-id dropbox start
|
||||||
|
exec--no-startup-id compton -f
|
||||||
|
|
||||||
|
exec google-chrome-stable
|
||||||
|
exec firefox
|
||||||
|
exec hexchat
|
||||||
|
exec slack
|
||||||
|
exec clementine
|
||||||
|
|
||||||
|
# Custom KeyBinds
|
||||||
|
bindsym Control+$mod+l exec sh ~/.config/i3/i3lock
|
||||||
|
bindsym Print exec scrot '%Y-%m-%d-%T_$wx$h_scrot.png' -e 'mv $f ~/Pictures/screenshots/'
|
||||||
|
5
i3/.config/i3/i3lock
Normal file
5
i3/.config/i3/i3lock
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
scrot /tmp/screen_locked.png
|
||||||
|
convert /tmp/screen_locked.png -blur 2x2 /tmp/screen_locked2.png
|
||||||
|
i3lock -i /tmp/screen_locked2.png
|
45
i3/.config/i3/i3status.conf
Normal file
45
i3/.config/i3/i3status.conf
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# i3status configuration file.
|
||||||
|
# see "man i3status" for documentation.
|
||||||
|
|
||||||
|
# It is important that this file is edited as UTF-8.
|
||||||
|
# The following line should contain a sharp s:
|
||||||
|
# ß
|
||||||
|
# If the above line is not correctly displayed, fix your editor first!
|
||||||
|
|
||||||
|
general {
|
||||||
|
colors = true
|
||||||
|
interval = 5
|
||||||
|
}
|
||||||
|
|
||||||
|
order += "disk /"
|
||||||
|
#order += "run_watch DHCP"
|
||||||
|
order += "run_watch VPN"
|
||||||
|
order += "ethernet _first_"
|
||||||
|
order += "load"
|
||||||
|
order += "tztime local"
|
||||||
|
|
||||||
|
ethernet _first_ {
|
||||||
|
# if you use %speed, i3status requires root privileges
|
||||||
|
format_up = "E: %ip (%speed)"
|
||||||
|
format_down = "E: down"
|
||||||
|
}
|
||||||
|
|
||||||
|
run_watch DHCP {
|
||||||
|
pidfile = "/var/run/dhcpcd-eno1.pid"
|
||||||
|
}
|
||||||
|
|
||||||
|
run_watch VPN {
|
||||||
|
pidfile = "/var/run/vpnc/pid"
|
||||||
|
}
|
||||||
|
|
||||||
|
tztime local {
|
||||||
|
format = "%Y-%m-%d %H:%M:%S"
|
||||||
|
}
|
||||||
|
|
||||||
|
load {
|
||||||
|
format = "%1min %5min %15min"
|
||||||
|
}
|
||||||
|
|
||||||
|
disk "/" {
|
||||||
|
format = "%avail"
|
||||||
|
}
|
@ -17,6 +17,7 @@
|
|||||||
background_color = "#002b36"
|
background_color = "#002b36"
|
||||||
background_darkness = 0.67
|
background_darkness = 0.67
|
||||||
background_image = None
|
background_image = None
|
||||||
|
background_type = transparent
|
||||||
font = PragmataPro 11
|
font = PragmataPro 11
|
||||||
foreground_color = "#839496"
|
foreground_color = "#839496"
|
||||||
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
|
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
|
||||||
|
Loading…
Reference in New Issue
Block a user