added the basic v1 files for openbsd setup
This commit is contained in:
parent
e0c843f214
commit
6ed42b85e3
233
openBSD/i3/config
Executable file
233
openBSD/i3/config
Executable file
@ -0,0 +1,233 @@
|
||||
set $mod Mod4
|
||||
|
||||
set $up k
|
||||
set $right l
|
||||
set $down j
|
||||
set $left h
|
||||
|
||||
set $w1 1
|
||||
set $w2 2
|
||||
set $w3 3
|
||||
set $w4 4
|
||||
set $w5 5
|
||||
set $w6 6
|
||||
set $w7 7
|
||||
set $w8 8
|
||||
set $w9 9
|
||||
set $w10 10
|
||||
|
||||
# Colors
|
||||
set $active #e500af
|
||||
set $inactive #181818
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:Hack Nerd Font bold 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:Hack 10
|
||||
|
||||
# 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 kitty
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
#bindsym $mod+e exec ~/comfy_guration/scripts/rofi_run_2.sh
|
||||
#bindsym $mod+Ctrl+e exec rofimoji
|
||||
|
||||
# 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+$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+c 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+d layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+x floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+x focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
# bindsym $mod+a focus parent
|
||||
|
||||
# focus the child container
|
||||
# bindsym $mod+Shift+a focus child
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $w1
|
||||
bindsym $mod+2 workspace $w2
|
||||
bindsym $mod+3 workspace $w3
|
||||
bindsym $mod+4 workspace $w4
|
||||
bindsym $mod+5 workspace $w5
|
||||
bindsym $mod+6 workspace $w6
|
||||
bindsym $mod+7 workspace $w7
|
||||
bindsym $mod+8 workspace $w8
|
||||
bindsym $mod+9 workspace $w9
|
||||
bindsym $mod+0 workspace $w10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $w1
|
||||
bindsym $mod+Shift+2 move container to workspace $w2
|
||||
bindsym $mod+Shift+3 move container to workspace $w3
|
||||
bindsym $mod+Shift+4 move container to workspace $w4
|
||||
bindsym $mod+Shift+5 move container to workspace $w5
|
||||
bindsym $mod+Shift+6 move container to workspace $w6
|
||||
bindsym $mod+Shift+7 move container to workspace $w7
|
||||
bindsym $mod+Shift+8 move container to workspace $w8
|
||||
bindsym $mod+Shift+9 move container to workspace $w9
|
||||
bindsym $mod+Shift+0 move container to workspace $w10
|
||||
|
||||
# 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 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 $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
|
||||
|
||||
|
||||
bindsym Shift+$left resize shrink width 50 px or 10 ppt
|
||||
bindsym Shift+$down resize grow height 50 px or 10 ppt
|
||||
bindsym Shift+$up resize shrink height 50 px or 10 ppt
|
||||
bindsym Shift+$right resize grow width 50 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
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
|
||||
## Style
|
||||
# border color
|
||||
# class border backgr. text
|
||||
client.focused $active $active $inactive $active
|
||||
client.unfocused $inactive $inactive $active $inactive
|
||||
client.focused_inactive $inactive $inactive #4f97d7 $inactive
|
||||
client.urgent $inactive $inactive #4f97d7 $inactive
|
||||
|
||||
new_window pixel 1
|
||||
default_border pixel 1
|
||||
|
||||
# Disable title bar
|
||||
|
||||
# Polybar
|
||||
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||
|
||||
# Audio
|
||||
bindsym XF86AudioRaiseVolume exec "amixer -D pulse set Master 5%+"
|
||||
bindsym XF86AudioLowerVolume exec "amixer -D pulse set Master 5%-"
|
||||
bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle"
|
||||
|
||||
# Screenshots
|
||||
bindsym --release Print exec --no-startup-id gnome-screenshot -f "$HOME/Pictures/$(date +%F_%H-%M-%S).png"
|
||||
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||
bindsym Ctrl+Print --release exec --no-startup-id i3-scrot -wc
|
||||
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||
bindsym Ctrl+Shift+Print --release exec --no-startup-id i3-scrot -sc
|
||||
|
||||
# Screen brightness
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20
|
||||
|
||||
# no mouse follow
|
||||
focus_follows_mouse no
|
||||
|
||||
# Background
|
||||
exec --no-startup-id feh --bg-scale ~/Downloads/wallhaven-mdg7w9.png
|
||||
|
||||
# Picom
|
||||
exec --no-startup-id picom --experimental-backends -f --config ~/dots/comfy_guration/dotfiles/laptop/picom.conf
|
||||
|
||||
# Caps as Esc
|
||||
#exec --no-startup-id ~/comfy_guration/scripts/switch_caps_escape.sh
|
||||
|
||||
# Accel TrackPoint
|
||||
#exec --no-startup-id ~/comfy_guration/scripts/accel_trackpoint.sh
|
||||
|
||||
# Disable Touchpad
|
||||
#exec --no-startup-id ~/comfy_guration/scripts/disable_touchpad.sh
|
||||
|
||||
# Low battery notification
|
||||
#exec --no-startup-id ~/softwares/i3-battery-popup/i3-battery-popup -n
|
||||
|
||||
# Switch keyboard language
|
||||
bindsym $mod+space exec ~/dots/comfy_guration/scripts/keyboard_lang.sh
|
||||
|
||||
# Lockscreen
|
||||
bindsym $mod+Shift+z exec ~/dots/comfy_guration/scripts/laptop/i3lock.sh
|
||||
|
||||
# Gaps
|
||||
#smart_gaps on
|
||||
#smart_borders on
|
||||
gaps inner 10
|
||||
gaps outer 10
|
||||
111
openBSD/kitty/kitty.conf
Executable file
111
openBSD/kitty/kitty.conf
Executable file
@ -0,0 +1,111 @@
|
||||
# Environment Variables
|
||||
env TERM=xterm-256color
|
||||
env COLORTERM=truecolor
|
||||
env CURRENT_DEVICE=laptop
|
||||
|
||||
# Window
|
||||
remember_window_size no
|
||||
initial_window_width 1750
|
||||
initial_window_height 950
|
||||
|
||||
# Render
|
||||
repaint_delay 1
|
||||
input_delay 1
|
||||
sync_to_monitor no
|
||||
mouse_hide_wait 1.0
|
||||
|
||||
# Bell
|
||||
enable_audio_bell no
|
||||
window_alert_on_bell no
|
||||
|
||||
|
||||
# Mappings
|
||||
clear_all_shortcuts yes
|
||||
kitty_mod ctrl+shift
|
||||
map kitty_mod+c copy_to_clipboard
|
||||
map kitty_mod+v paste_from_clipboard
|
||||
map kitty_mod+space clear_terminal reset active
|
||||
map kitty_mod+up scroll_line_up
|
||||
map kitty_mod+k scroll_line_up
|
||||
map kitty_mod+down scroll_line_down
|
||||
map kitty_mod+j scroll_line_down
|
||||
map kitty_mod+page_up scroll_page_up
|
||||
map kitty_mod+page_down scroll_page_down
|
||||
map kitty_mod+home scroll_home
|
||||
map kitty_mod+end scroll_end
|
||||
|
||||
map kitty_mod+equal change_font_size all +2.0
|
||||
map kitty_mod+plus change_font_size all +2.0
|
||||
map kitty_mod+minus change_font_size all -2.0
|
||||
map kitty_mod+kp_subtract change_font_size all -2.0
|
||||
map kitty_mod+backspace change_font_size all 0
|
||||
|
||||
# -= STYLE =-------------------------------------------------------------------
|
||||
# cursor
|
||||
cursor_shape block
|
||||
|
||||
# Fonts
|
||||
font_family PragmataPro Mono Regular
|
||||
bold_font PragmataPro Mono Bold
|
||||
italic_font PragmataPro Mono Italic
|
||||
bold_italic_font PragmataPro Mono Bold Italic
|
||||
font_size 13
|
||||
adjust_line_height 1
|
||||
|
||||
|
||||
# Colorscheme
|
||||
dim_opacity 1.0
|
||||
background_opacity 0.7
|
||||
|
||||
cursor #f500af
|
||||
cursor_text_color background
|
||||
|
||||
url_color #83a598
|
||||
|
||||
visual_bell_color #8ec07c
|
||||
bell_border_color #8ec07c
|
||||
|
||||
active_border_color #d3869b
|
||||
inactive_border_color #665c54
|
||||
|
||||
background #262b34
|
||||
foreground #31ccee
|
||||
selection_foreground #175f6e
|
||||
selection_background #d75d9f
|
||||
|
||||
active_tab_foreground #fbf1c7
|
||||
active_tab_background #665c54
|
||||
inactive_tab_foreground #a89984
|
||||
inactive_tab_background #3c3836
|
||||
|
||||
# black
|
||||
color0 #000000
|
||||
color8 #121212
|
||||
|
||||
# red
|
||||
color1 #e10600
|
||||
color9 #ed1d24
|
||||
|
||||
#: green
|
||||
color2 #0ac71a
|
||||
color10 #00b140
|
||||
|
||||
# yellow
|
||||
color3 #ffe900
|
||||
color11 #f6eb61
|
||||
|
||||
# blue
|
||||
color4 #0827f5
|
||||
color12 #00aeef
|
||||
|
||||
# purple
|
||||
color5 #c724b1
|
||||
color13 #ac4fc6
|
||||
|
||||
# aqua
|
||||
color6 #00ffff
|
||||
color14 #07da9a
|
||||
|
||||
# white
|
||||
color7 #FFFFFF
|
||||
color15 #898989
|
||||
191
openBSD/polybar/config
Executable file
191
openBSD/polybar/config
Executable file
@ -0,0 +1,191 @@
|
||||
[colors]
|
||||
background = #060608
|
||||
background-alt = #121312
|
||||
foreground = #FCEDF7
|
||||
primary = #FCEDF7
|
||||
secondary = #ff0055
|
||||
alert = #7A0000
|
||||
disabled = #F9E5F2
|
||||
|
||||
[bar/mybar]
|
||||
width = 1000%
|
||||
height = 30
|
||||
radius = 8
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 1pt
|
||||
|
||||
border-size = 8
|
||||
border-color = #00000000
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator =
|
||||
separator-foreground = ${colors.primary}
|
||||
|
||||
font-0 = JetBrainsMono Nerd Font;3
|
||||
|
||||
modules-left = bspwm i3
|
||||
modules-right = date
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
; tray-position = right
|
||||
|
||||
; wm-restack = generic
|
||||
; wm-restack = bspwm
|
||||
; wm-restack = i3
|
||||
|
||||
; override-redirect = true
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
show-urgent = true
|
||||
format = <label-state> <label-mode>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
|
||||
label-mode-padding = 2
|
||||
label-mode-foreground = #f500af
|
||||
|
||||
label-visible = %index%
|
||||
label-separator = " |"
|
||||
|
||||
[module/bspwm]
|
||||
|
||||
|
||||
[module/cava]
|
||||
type = custom/script
|
||||
tail = true
|
||||
exec = $HOME/.config/polybar/cava.sh
|
||||
format = <label>
|
||||
format-font = 0
|
||||
label = %output%
|
||||
label-foreground = ${colors.secondary}
|
||||
|
||||
[module/openweathermap-simple]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/openweathermap-simple.sh
|
||||
interval = 600
|
||||
label-font = 0
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active =
|
||||
label-active-foreground = #FCEDF7
|
||||
#label-active-background = ${colors.background-alt}
|
||||
#label-active-underline= ${colors.primary}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied-foreground = #690230
|
||||
label-occupied =
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty =
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
|
||||
; [module/xwindow]
|
||||
; type = internal/xwindow
|
||||
; label = %title:0:60:...%
|
||||
|
||||
; [module/filesystem]
|
||||
; type = internal/fs
|
||||
; interval = 25
|
||||
|
||||
; mount-0 = /
|
||||
|
||||
; label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
|
||||
|
||||
; label-unmounted = %mountpoint% not mounted
|
||||
; label-unmounted-foreground = ${colors.disabled}
|
||||
|
||||
[module/notification-reddit]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/notification-reddit.sh
|
||||
interval = 60
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
format-volume-prefix = "墳 "
|
||||
# format-volume-background = ${colors.background-alt}
|
||||
format-volume-prefix-foreground = ${colors.primary}
|
||||
format-volume = <label-volume>
|
||||
|
||||
label-volume = %percentage%%
|
||||
|
||||
label-muted = muted
|
||||
label-muted-foreground = ${colors.primary}
|
||||
|
||||
; [module/xkeyboard]
|
||||
; type = internal/xkeyboard
|
||||
; blacklist-0 = num lock
|
||||
|
||||
; label-layout = %layout%
|
||||
; label-layout-foreground = ${colors.primary}
|
||||
|
||||
; label-indicator-padding = 2
|
||||
; label-indicator-margin = 1
|
||||
; label-indicator-foreground = ${colors.background}
|
||||
; label-indicator-background = ${colors.secondary}
|
||||
|
||||
; [module/memory]
|
||||
; type = internal/memory
|
||||
; interval = 2
|
||||
; format-prefix = "龍 "
|
||||
; format-prefix-foreground = ${colors.primary}
|
||||
; label = %percentage_used:2%%
|
||||
|
||||
; [module/cpu]
|
||||
; type = internal/cpu
|
||||
; interval = 2
|
||||
; format-prefix = " "
|
||||
; format-prefix-foreground = ${colors.primary}
|
||||
; label = %percentage:2%%
|
||||
|
||||
; [network-base]
|
||||
; type = internal/network
|
||||
; interval = 5
|
||||
; format-connected = <label-connected>
|
||||
; format-disconnected = <label-disconnected>
|
||||
; label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
||||
|
||||
; [module/wlan]
|
||||
; inherit = network-base
|
||||
; interface-type = wireless
|
||||
; label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
|
||||
|
||||
; [module/eth]
|
||||
; inherit = network-base
|
||||
; interface-type = wired
|
||||
; label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
date = %H:%M
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.primary}
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = true
|
||||
|
||||
; vim:ft=dosini
|
||||
0
openBSD/polybar/launch.sh
Executable file
0
openBSD/polybar/launch.sh
Executable file
138
openBSD/xenodm/Xresources
Executable file
138
openBSD/xenodm/Xresources
Executable file
@ -0,0 +1,138 @@
|
||||
! $OpenBSD: Xresources.in,v 1.3 2020/06/28 15:38:34 matthieu Exp $
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
|
||||
|
||||
|
||||
|
||||
xlogin*login.translations: #override \
|
||||
<Key>F1: set-session-argument(failsafe) finish-field()\n\
|
||||
<Key>Left: move-backward-character()\n\
|
||||
<Key>Right: move-forward-character()\n\
|
||||
<Key>Home: move-to-begining()\n\
|
||||
<Key>End: move-to-end()\n\
|
||||
Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
|
||||
<Key>KP_Enter: set-session-argument() finish-field()\n\
|
||||
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
|
||||
<Key>Return: set-session-argument() finish-field()
|
||||
|
||||
xlogin*greeting: CLIENTHOST
|
||||
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
|
||||
xlogin*fail: who the fuck are you?
|
||||
|
||||
#if WIDTH > 800
|
||||
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
|
||||
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
|
||||
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
|
||||
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
|
||||
xlogin*greetFace: DejaVu Sans Condensed-22:bold:italic:dpi=75
|
||||
xlogin*face: DejaVu Sans Condensed-16:dpi=75
|
||||
xlogin*promptFace: DejaVu Sans Condensed-16:bold:dpi=75
|
||||
xlogin*failFace: DejaVu Sans Condensed-16:bold:dpi=75
|
||||
#else
|
||||
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
|
||||
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
|
||||
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
|
||||
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
|
||||
xlogin*greetFace: DejaVu Sans Condensed-18:bold:italic:dpi=75
|
||||
xlogin*face: DejaVu Sans Condensed-12:dpi=75
|
||||
xlogin*promptFace: DejaVu Sans Condensed-12:bold:dpi=75
|
||||
xlogin*failFace: DejaVu Sans Condensed-12:bold:dpi=75
|
||||
#endif
|
||||
|
||||
#if !(defined(bpp1) || defined(bpp4) || defined(bpp8) || defined(bpp15))
|
||||
# if PLANES < 4
|
||||
# ifndef bpp1
|
||||
# define bpp1
|
||||
# endif
|
||||
# else
|
||||
# if PLANES > 4
|
||||
# if PLANES > 8
|
||||
# ifndef bpp15
|
||||
# define bpp15
|
||||
# endif
|
||||
# else
|
||||
# ifndef bpp8
|
||||
# define bpp8
|
||||
# endif bpp8
|
||||
# endif
|
||||
# else
|
||||
# ifndef bpp4
|
||||
# define bpp4
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif /* If manual override */
|
||||
|
||||
#ifndef bpp1
|
||||
xlogin*borderWidth: 0
|
||||
xlogin*frameWidth: 0
|
||||
xlogin*innerFramesWidth: 0
|
||||
|
||||
xlogin.Login.sepWidth: 0
|
||||
|
||||
! top/left border
|
||||
xlogin*hiColor: #445566
|
||||
|
||||
! bottom/right border
|
||||
xlogin*shdColor: #445566
|
||||
|
||||
xroot.background: #282a36
|
||||
|
||||
! 'Welcome to..' text color
|
||||
xlogin*greetColor: #ded866
|
||||
#if defined(bpp4) || defined(bpp8) || defined(bpp15)
|
||||
! flood fill
|
||||
xlogin*background: #282a36
|
||||
xlogin*inpColor: #282a36
|
||||
#endif
|
||||
xlogin*failColor: #ff5555
|
||||
|
||||
! 'Login:' and 'Password:'
|
||||
*Foreground: #f8f8f2
|
||||
|
||||
! border/shadow
|
||||
*Background: #282a36
|
||||
#else
|
||||
xlogin*borderWidth: 3
|
||||
xlogin*frameWidth: 5
|
||||
xlogin*innerFramesWidth: 1
|
||||
xlogin*shdColor: white
|
||||
xlogin*hiColor: white
|
||||
xlogin*greetColor: white
|
||||
xlogin*background: black
|
||||
xlogin*failColor: white
|
||||
xlogin*promptColor: white
|
||||
*Foreground: white
|
||||
*Background: black
|
||||
#endif
|
||||
#ifdef bpp1
|
||||
xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_1bpp.xpm
|
||||
#endif
|
||||
#ifdef bpp4
|
||||
xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_4bpp.xpm
|
||||
#endif
|
||||
#ifdef bpp8
|
||||
xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_8bpp.xpm
|
||||
#endif
|
||||
#ifdef bpp15
|
||||
xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_15bpp.xpm
|
||||
#endif
|
||||
|
||||
xlogin*useShape: true
|
||||
xlogin*logoPadding: 10
|
||||
|
||||
! uncomment to disable logins
|
||||
! xlogin.Login.allowRootLogin: false
|
||||
|
||||
XConsole*background: black
|
||||
XConsole*foreground: white
|
||||
XConsole*borderWidth: 2
|
||||
XConsole*borderColor: grey
|
||||
XConsole.text.geometry: 480x130
|
||||
XConsole.verbose: true
|
||||
XConsole*iconic: true
|
||||
XConsole*font: fixed
|
||||
14
openBSD/xenodm/Xsetup_0
Executable file
14
openBSD/xenodm/Xsetup_0
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: Xsetup_0.in,v 1.1 2021/08/30 15:38:27 matthieu Exp $
|
||||
|
||||
prefix="/usr/X11R6"
|
||||
exec_prefix="${prefix}"
|
||||
|
||||
#$xsetroot -solid dimgrey
|
||||
|
||||
#${exec_prefix}/bin/xsetroot -fg \#6f6f6f -bg \#bfbfbf -bitmap ${prefix}/include/X11/bitmaps/root_weave
|
||||
|
||||
#${exec_prefix}/bin/#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
|
||||
|
||||
xrandr --output default --dpi 96
|
||||
xsetroot -solid $(xrdb -query | awk '/xroot.background/ { print $2 }')
|
||||
Loading…
x
Reference in New Issue
Block a user